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

For each control?

Status
Not open for further replies.

rtshort

IS-IT--Management
Feb 28, 2001
878
US
Does the For Each Control in Controls statement work in VBScript like it does in VB.

I have a lot of text boxes on a page and I want to check them for ' before the form in submitted. I'm not going to allow apostrophes in the DB because I'm not going through the trouble of using the replace function for it.

Rob
Just my $.02.
 
HAHAHA. Thanks Jon. I called myself looking for it and couldn't find it. I thought I was going crazy and just "thought" I had posted it. I even did a search for "for each control" and didn't see it.

I have a one track mind sometimes with 5 people asking me questions here, so I very well could have "thought" I posted it and didn't. Guess I just overlooked it in my hast.

Gave ya a star in the other post.

Thanks again.

Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top