Notifications
Clear all
General Discussion
2
Posts
2
Users
0
Reactions
88
Views
Topic starter
How can I use a button to open another form? The Risk Factors-CCC Form includes a Yes/No radio button for 'Dietary Counseling". If you select 'Yes', then a button for "Care Plan" appears. Clicking that 'Care Plan' button adds a form called Care Plan Management. My goal is to add that button, including the linking to 'Care Plan Management', to a custom form.
I've looked at 'ADD_FORM_COMP' as well as 'OPEN_FORM_COMP' and I've also tried finding something that would work with 'RUNPROCESS' but nothing seems to be working.
Posted : March 2, 2018 12:28 pm
You will want to use ADD_FORM_COMP. OPEN_FORM_COMP is only for Text Components and Quick Text.
Here's an example from an Action Button using RUNPROCESS:
ADD_FORM_COMP("Enterprise\Avis Goodwin", "Histories", "AT_END", "OPEN")
Posted : March 2, 2018 12:37 pm