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!

Is there a way to select all fields non-sequentially?

Status
Not open for further replies.
Jul 13, 2001
180
US
Hello.

I have a VBScript statemnet that checks to see if a field value is a particular value which subsequently executes the line of script according to that value.

My problem is this.
On a page that writes all the fields from the database, if I reference the very LAST field (Column) from the database, the rest of the fields do not display on the page. It's as if it skipped the rest of the fields prior to the very last field of the table that I am calling.

For example:

I call this to display

Field1
Field2
Field3
Field4
Field5

But If I call
Field 5 third ,instead of in sequence which would be Field 3

I get this:
Field1
Field2
Field5

Then it ends. Field 3 nor 4 show up.

Is there a way to select all fields non-sequentially or a way around this?

Thanks in advance.

Manny
 
Maybe your VB code is wrong? Try asking your question in a VB forum and put some of your code in as example.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top