The following example opens the Customer_Lookup form; a Customer ID will be returned to the Customer ID field of the Customer_Maintenance window when the Customer_Lookup form closes.
open form Customer_Lookup return to 'Customer ID' of window Customer_Maintenance;
how do I return the other fields apart from Customer ID. I need the other fields populated but unfortunately it's only Customer ID that being populated the other fields i.e. description are left empty after I click the lookup button.
Once you have the Customer ID returned to a field. Use the field change script to do a get table RM_Customer_MSTR command to load the table buffer and then you can retrieve anything you want from the table itself.
David
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.