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

Textbox validation on unbound form

Status
Not open for further replies.

Cloonalt

Programmer
Jan 4, 2003
354
US
I think this seems like a dumb question, but..

how do I validate whether a user has keyed into a field in an unbound form?

If(isnull(me.fieldname.value) then...

doesn't work. Even if something is typed in the field on the form, it returns a null because there's no controlsource.

Any ideas?

Thanks
 
No, doesn't work. The field always returns a null even if there's something typed into it.

Thanks.
 
Which event are you testing the control in? On my setup the IsNull function and other functions return correct.

Roy-Vidar
 
It was a dumb question. I was referencing the wrong control name. Thanks for your replies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top