Information générale
Catégorie:
Applications Internet
> 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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement