Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determine successful database insert/update

Status
Not open for further replies.

dEraCh2000

Programmer
Nov 14, 2007
39
0
0
BA
Hi,

I was wondering is there a way, or an embed point where I can be sure that the data was inserted/updated to a table so that I can perform other operations.


Kind regards
Armin
 
Hi Armin,

If you are using the ABC template, the right places are

Update Form :: WindowManager - TakeCompleted - after parent call ::

Code:
IF NOT ReturnValue 
   !--- do secondary updates
END

Browse :: WindowManager - ResetFromAsk - after parent call ::

Code:
IF Response = RequestCompleted
   CASE Request
   OF InsertRecord
   OF ChangeRecord
   OF DeleteRecord
   END
END

Regards



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top