General information
Category:
Internet applications
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only