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
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