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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datwindow Refresh

Status
Not open for further replies.

KevsterO25

Programmer
Feb 10, 2003
3
US
I have a datawindow with a dropdown box. If a user changes the value in the dropdown MessageBox appears displaying a warning. If they selected 'NO' the original value should appear. I've tried Retrieve() and other functions, but the value is not changing back to it's original. If so could please help, it will be appreciated.

Thanks,
KO
 
Have you tried using ItemError event with return code of 1? It would reject new data value and set back to the original value. You must also code Itemchanged Event to return 1 or 2 in order to trigger ItemError event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top