Home » Developer & Programmer » Forms » record group in multiple form session doesn't work
record group in multiple form session doesn't work [message #80754] Sat, 16 November 2002 07:39 Go to next message
rajitha
Messages: 19
Registered: July 2002
Junior Member
What I intend to do is invoke form B from form A with OPEN_FORM command and select certain values in B which in turn get added to a programatically created record group.Upon exiting form B, I want to populate form A with the selected values from the same record group(through a when_button_pressed trigger).But the problem here is the record group which I created in invoked form B is not identified in form A.I am using the same session for form B.I prefer this method to LOV due to multiple selection being made possible at one time.

Your inputs will be much appreciated.

Thanks
Jay
Re: record group in multiple form session doesn't work [message #80760 is a reply to message #80754] Mon, 18 November 2002 02:46 Go to previous message
Shiju
Messages: 12
Registered: October 2002
Junior Member
The Record Group of the form is local to a form.
It cannot be shared among different forms

Now, the solution is to create a DATA PARAMETER in the calling form.
The DATA PARAMETER will contain the query for the LOV.
The DATA PARAMETER name should be same as the
Record Group used for LOV in the called FORM

Pass the DATA PARAMETER while calling the form.
The Record Group of the called form is substitued with the passed parameter and hence is used for LOV.
Previous Topic: Dynamic Columns in Lov..............?
Next Topic: How to create Global variables dynamically with different names?
Goto Forum:
  


Current Time: Fri Apr 26 13:37:38 CDT 2024