Clear form after USB Sync

Wesleyb

New Member
Here's how my application is supposed to work: Scanned data is displayed in a grid control, when the user is finished he docks the device, data is automatically synced to the server, then the records are deleted from the device. All this is working correctly, but the problem is the grid is still showing the data after it has been deleted.

The sync is triggered by USBConnected in the Sync Conditions tab. I have tried adding a SyncComplete event to the form logic to trigger a refresh but it doesn't work. It does work if I trigger the sync from a button on the form, but I prefer that it all happens without user intervention.

Any ideas?
 
Top