I created an action button which opens up a dialog box. Two choices are available to users. One is a set form that opens when they select it. The other is a word document located in a form. I would like this word doc to open up automatically when they make a choice. Here is the code I have so far.
section := @Trim(“Change of status”:“Printable COS”:“”);
formType := “Change of Status”;
formType1 := “Printable COS”;
ENVIRONMENT DocType := @Prompt([OkCancelList]; “New Request”; “Choose one of the following:”; @Subset(section; 2); section);
@PostedCommand([Compose]; DocType)
The ‘printable COS’ is the word doc.
Thanks for your insight.