'Do you want to save change you have made' [message #329289] |
Tue, 24 June 2008 23:09 |
aorlunla
Messages: 20 Registered: March 2008
|
Junior Member |
|
|
Hi Everyone,
After I query the record and closing the form the error 'Do you want to save changes you have made' will appear without entering or modifying records in he form. So how can I avoid this message?
Please help me.
Regards,
aorlunla
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: 'Do you want to save change you have made' [message #347003 is a reply to message #329289] |
Wed, 10 September 2008 07:05 |
cookiemonster
Messages: 13963 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
While setting the block status to query at the end of the post-query trigger usually fixes this problem I have found cases where it doesn't.
This is usually when you've got non-database text items (not display items) with when-validate-item triggers attached being populated by the post-query trigger.
The only foolproof method I've ever found to stop the post-query trigger changing the record status is to do:
set_item_property(<block_name.item_name>, item_is_valid, property_true);
for every item being set by the post-query trigger.
|
|
|
|