Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Request object from HTML form
Message
From
03/10/2000 04:17:03
 
 
To
02/10/2000 18:21:38
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00423368
Message ID:
00423911
Views:
22
>>FOR EACH lcKey IN toRequest.Form
>> x=toRequest.Form( lcKey).Item
>>ENDFOR

> Actually, since the collection is returning text items, why regain the same > reference you already have?

> FOR EACH lcKey IN toRequest.Form
> ?lcKey
>ENDFOR


> Or am I misunderstanding the intent?

lcKey will hold the name of the field from the HTML page and x will then hold the value entered into the field.
What I'm trying to do is get the field names from the collection using the for each loop and then get the values of the fields. Thus I can build a SQL statement to insert into a table without knowing the field names.
Previous
Reply
Map
View

Click here to load this message in the networking platform