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!

Cannot carry out Data exchange 1

Status
Not open for further replies.

colgoldie

Programmer
Feb 23, 2001
5
IN
I am novice in this language,so please excuse the trivial nature of the query.My problem is as follows:
1. I have four edit boxes on my dialog box.I have connected them to the respective data members.Now I have also written custom data validation routines.I called the UpdateData function in the OnLostFocus handeler for each edit box.the program works ,but partially.If the input in the first edit box is invalid the prog displays the necessary error message box and the focus shifts back to the first edit box .However the second edit box's validation routine also runs since it too has lost the focus however no data has yet been put into this edit box.
2. Please help!.i am ready to ship my code to any one .!!!Ha.
Goldie
 
> since it too has lost the focus

Only one edit box can 'lose focus' at a time. I don't understand your post.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top