Hi all,
I have a tabstrip control with diffent subscreens.
When the user push the save button all mandatory subscreen fields should be validated.
This works for the active tab (chain. fields: .... endchain.) but not for the other tabs.
How to validate the subscreen fields from main screen?
regards
Hi
At the time of saving check whether the fields in the other screens are initial
If it is initial dont perfom save
there give a message to enter values on the fields(you can do it with if.. else)
if you want based on the condition you can change the active tab and screen
If u need more clarification let me know
hi,,,
consider you are having two sub screen 9000 and 9001
9000 is current screen
you are having fields X and Y in screen 9000 and A and B in 9001
while saving you check
if A is initial or B is initial or Xis initial or Y is initial
give a status message saying that enter values in all fields
else
write the code for saving
endif.
If you are doing like this the data will not be saved
Since you are giving status message you can edit all fields
Add a comment