Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
ASP Jscript nested loop bof eof error.
Old 05-26-2008, 01:25 AM ASP Jscript nested loop bof eof error.
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Don't have much hair left, this code gives me bof eof error.

Code:
 
var TestVal1 = ProductData.Fields("Category")
var TestVal2 = ProductData.Fields("Menu")
var Heading = ProductData.Fields("Category")
var Item = ProductData.Fields("Menu") 
 
while(Heading== TestVal1)
{
TestVal2 = ProductData.Fields("Menu")
Response.Write("...
Response.Write("...
 
while(Item == TestVal2)
{
Item = ProductData.Fields("Menu")
TestVal1 = ProductData.Fields("Category")
if(Item == TestVal2)
{
ProductData.MoveNext
}
}
}
Example data:

Category Menu

All the Nuts Almonds
All the Nuts Boiled Peanuts
All the Nuts Boiled Peanuts
All the Nuts Candied Nuts
All the Nuts Candied Nuts
Other Delights Candy
Other Delights Candy
...

Any Ideas, not a connection problem! Data is there and sorted!
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to ASP Jscript nested loop bof eof error.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30355 seconds with 12 queries