Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Request object from HTML form
Message
De
03/10/2000 04:17:03
 
 
À
02/10/2000 18:21:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00423368
Message ID:
00423911
Vues:
23
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform