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

Click here to load this message in the networking platform