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

Cycle through controls and clear tag

Status
Not open for further replies.

glgcag

MIS
Apr 25, 2001
160
US
I have put together a function that clears controls on my unbound form, but I'm having a strange issue- when I clear my controls (acTextBox, acCheckBox, etc.) I set it to null, but if I try to set the same control's tag value to null it errors out. If I set the control's tag value to an empty string, it works fine.

Is this normal, and is it because the tag property does not have the same characteristics of the control it is the tag of?

Thanks for the help in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top