Viewer losing added record

Dawn M

Member
v9.1C

I have a SmartViewer with a SmartBrowser and an update SmartPanel, that is linked to a SDO in a SmartWindow. When the user hits the Add button to add a new record (and thus, enable the fields), they are able to right mouse click. When they right-mouse-click, it brings up a single option pop-up menu. When they select this, I run an external program (hiding the original window). When the user returns to this external program, even though the fields of the SmartViewer are still enabled for data entry, when I attempt to Save or Cancel, the original (newly-added) row is "lost". (When I enter data and hit Save, I get the error "bRowObjUpd record is not on file". When I hit Cancel, the fields of the SmartViewer are blank, instead of showing the information of the first record in the SmartBrowser.)

How do I get the SmartViewer to "refresh" to the newly-added record when I return from calling the external program?
 
Back
Top