Tim Harvey
New Member
Is there a technique to update the values in another session for a record that is appended when not found during a lookup?
Lookup options setting "Append if not found" will create an new record in the Source session if it does not exist when Submitting the current form. But I cannot find an Event that will allow me to update any values in the new record using SQL. SQL statements like Update Session1 Set Session1.Field18='Y' Where Session1.Field1='[*0*]' don't work because when it is run the new record doesn't yet exist.
Also as a side note when you use Lookup "Append if not found" to create a new record in the Source Session default values for individual fields do not get set in the new record.
Lookup options setting "Append if not found" will create an new record in the Source session if it does not exist when Submitting the current form. But I cannot find an Event that will allow me to update any values in the new record using SQL. SQL statements like Update Session1 Set Session1.Field18='Y' Where Session1.Field1='[*0*]' don't work because when it is run the new record doesn't yet exist.
Also as a side note when you use Lookup "Append if not found" to create a new record in the Source Session default values for individual fields do not get set in the new record.