Embedded View question ver 6.5.1 - client side only - action button on embedded view needs work.
Posted on 2005-02-24
Hello....I have an embedded view that allows 2 different document types in the view. I also have an action button on this embedded view that once selected, composes a document inheriting values from the selected document in the view. I have tried unsuccessfully to ensure that the user had selected the proper document type in the view when pressing this action button. The formula in the action button reads:
@If(FORM = "PR";
@Command([Compose];"PP");@Prompt([Ok];"Reminder";"Please Click on Product Request Record before Selecting Create Product Payment"))
I always get the Reminder...it always fails.........I select the correct document in the view, right click to see doc properties, to verify form does = "PR". I press the action button and the compose does not occur....
Without the If statement, and just the compose, it works, but if the wrong document type was selected, my new document is lacking the needed inherited values.
I am learning from making mistakes, I am learning a lot......what did I do incorrectly?