The when-button-pressed trigger below does not work quite right. Specifically, the canvas view "can_pat" does not disappear even though it is programmed to do so at the end of the trigger. I thinks it's soomething simple, since I have an almost identical trigger elsewhere in my app but I can't see to figure it out. Any thoughts?.
--variable for alert message box.
--Checks to see if any records have been altered.
IF GET_RECORD_PROPERTY(GET_BLOCK_PROPERTY('results_bl k', current_record), 'results_blk', status)= 'CHANGED' THEN
SET_ALERT_PROPERTY('alert_delete', alert_message_text, 'Save changes to records?');
--Prompts the user to save the changes.
v_button_alert := SHOW_ALERT('alert_delete');
--Saves changes that have been made to any records.
IF alert_button1 = v_button_alert then
--Does not save any changes that have been made to the
--Clears form and returns user to the previous
Thanks, Bill it now works fine. Though the puzzling thing is that I have virtually an identical trigger eslwhere in my app and I do not need to navigate to an item on the other cavass in order for it to become visable. Weird?!