Select to view content in your preferred language

Forcing ArcPad to save on closing a related table

1564
0
03-04-2013 02:47 PM
KarlSchiller
New Contributor
Hi,

I'm running ArcPad 10.0.4 on a mobile device running Windows CE 6.5.

I have a program with a related table and am trying to keep the users from exiting unless they hit the OK button and save the file.  I've been able to disable the 'Cancel' button on the related table page and the main layer page using the OnQueryCancel event , but when the related table tab is open and the list of related items shows, the form events don't have OnQueryCancel event available.  If the user cancels from this page (form), there don't seem to be any events that will prevent it... at least I haven't been able to find any.

I've been using the VBScript 'ThisEvent.Result = False' command on the page events.

Is there a way to disable the Cancel button on the tables list form or to save the related table data even if the cancel button is clicked? (I tried global save function; the Cancel button successfully lost all the related table entries anyway). 

Here's an example of the tables form I'm working on:

[ATTACH=CONFIG]22360[/ATTACH]

Any help would be appreciated.

Thanks
Tags (3)
0 Kudos
0 Replies