Hi, I know this has been discussed elsewhere in this forum, but I still cant get it to work properly. Basically, I have a form that tracks activity. at the top, is a dialog box that prompts the user to select an activity, such as Customer Demo, Education, Solution Design, Vacation, etc… There are 10 activities in the list.
I am using a Computed Subform.
For the dialog box (before the subform), I have the following formula:
activity(Field) Value formula is:
@Prompt( [OkCancelList] ; “Select Type of Activity” ; “” ; “” ; @DbLookup( “”:“NoCache” ; @DbName ; “v_keywords”; “ACTIVITY”; 2 ))
The above formula pops up the list of activities to choose from.
For the actual field, I have “Use formula for choices” and use the following formula (not sure if this is needed here, but again, not sure what I would put here then)
@DbLookup( “”:“NoCache” ; @DbName ; “v_keywords”; “ACTIVITY”; 2 )
Then, for the subform computed formula, I have the following:
@If(activity=“Solution Design”;“s_soldes”;“Customer Demonstration”;“s_custdem”;“Education”;“education”;“education”)
If I’ve done something incredibly stupid (altogether possible, since I haven’t done notes dev in years), please let me know. The only other way I know how to do this would be to create hidden when tables on the main form, but thats not preferred.
Any help is GREATLY appreciated !!!
Gary