Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Request object from HTML form
Message
From
02/10/2000 10:58:41
 
 
To
02/10/2000 10:24:44
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00423368
Message ID:
00423436
Views:
17
> This is incorrect usage of the collection. The Forms collection takes a name > or an index, not an object. To reference the item in the form, just use
> loItem.

loItem was just an incorrect usage of variable naming. It should be lcItem.

The code doesn't even get to that line anyway - it falls over on:

for each loItem in toRequest.Form

Theoretically, loItem should hold the name of the variable by the time we get to this line:

toRequest.Form( loItem).Item() + ;

And it should work. It works with the actual collection item name in the same code. You need .Item() otherwise it won't work.
Previous
Reply
Map
View

Click here to load this message in the networking platform