 |
|
| > |
QUESTION POSED ON: 10 April 2002
How do you use form formula in views. In my situation, I need to display one form for composing and another form for displaying. If we use this formula, it doesn't work: @If(@Isnewdoc;FormA;FormB)
|
|
| > |
|
You are using the formula language correctly. However, your logic is the culprit here. @IsNewDoc will never be true from a view. This is because once the document has been saved it is no longer a new document and since you cannot see a document in a view until it has been saved, you cannot have a true condition for this function.
You can, however, use @IsNewDoc for a computed sub form -- displaying one subform when it is created and another when it is being viewed.
|
|
|
');
// -->

|
|
 |

 |
 |
Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
|
 |
 |
 |
|
 |
 |
 |
|
 |
|
 |