Tim Harvey
New Member
Is there a way to Execute an SQL Select statement in the Form Logic control and assign that to a Control ID?
I want to Select multiple fields from a single record in a different session and assign these to text field Control Id in this form. I understand that if the select statement returned multiple records this would be an issue. What I want to do is to have a message box that can display a summary of certain information from a different session.
Something like:
Select 'Unit ID:',Session1.Field2,'Equipment:',Session1.Field3 from Session1 where Session1.Field1='[*0*]'
I could create a bunch of extra fields in the current session and do a lookup for each of the fields but that would double the data stored in this session.
Is it possible to use a Select statement in an ExecuteSQL in a Form Logic event? Is there any documentation on this?
I want to Select multiple fields from a single record in a different session and assign these to text field Control Id in this form. I understand that if the select statement returned multiple records this would be an issue. What I want to do is to have a message box that can display a summary of certain information from a different session.
Something like:
Select 'Unit ID:',Session1.Field2,'Equipment:',Session1.Field3 from Session1 where Session1.Field1='[*0*]'
I could create a bunch of extra fields in the current session and do a lookup for each of the fields but that would double the data stored in this session.
Is it possible to use a Select statement in an ExecuteSQL in a Form Logic event? Is there any documentation on this?