Hello,
One more question - I really keep hoping it is the last.
I have a form with a DBRecordloader action - it has a WHERE clause with two fields tested:
Field1 = 'value1' AND Field2 - 'value2'
It works well when records are found, but when no matching record is returned it does not trigger the "On Empty Result" event. In fact it bypasses this and presents a blank form to the user. The problem with this is that if the user adds some data in the empty form and hits Submit, a new record will be created. While I can manage this, it would be better to have the Empty Result triggered so that I can present an error message and a Showstopper (which is what I was trying to do).
What are the criteria for triggering a On Empty Result?
Cheers
Tim
One more question - I really keep hoping it is the last.
I have a form with a DBRecordloader action - it has a WHERE clause with two fields tested:
Field1 = 'value1' AND Field2 - 'value2'
It works well when records are found, but when no matching record is returned it does not trigger the "On Empty Result" event. In fact it bypasses this and presents a blank form to the user. The problem with this is that if the user adds some data in the empty form and hits Submit, a new record will be created. While I can manage this, it would be better to have the Empty Result triggered so that I can present an error message and a Showstopper (which is what I was trying to do).
What are the criteria for triggering a On Empty Result?
Cheers
Tim