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

Validation on Drop Down List

Status
Not open for further replies.

Enkidou

Programmer
Sep 2, 2003
8
FR
Hello,

I've in a simple Form a Drop Down List on which I'd like to test the value. In fact, I'd like there is a value. So, on the OK Button, on Accepted embed, before Generated Code, I've put this :
Code:
IF CLIP(DNR:TYPE_INFO) = '' THEN
   message('The field is empty')
   Select(DNR:TYPE_INFO)
   CYCLE
END
So, I have the message, but It doesn't select. So I tried to jump it after Generated Code. But it was quite the same.

Thanks for your responses
 
It should be SELECT(?DNR:TYPE_INFO) - (note the question mark - required to get the field equate for the field)

 
Thanks, it works with a link on the control.
 
Hi VPOS.

Please! I would love a copy of your password utility.

My address: mrwarpig@hotmail.com
 
From which password utility are you talking about ? It's simply a field validation. Don't you have write in the bad thread ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top