Information générale
Catégorie:
Codage, syntaxe et commandes
>>>The problem I'm having is referring to those fields that I don't know the name of. Actually, I know what the name is, but at run time, not at program time. The field name will correspond with the zone the user chooses.
>>
>>Examples...
>>
>>Use field(6) to reference the 6th fields name
>>use evaluate(field(6)) to reference the 6th field's value
>
>What if I don't know what number the field is?
>
>Thanks,
I guess you will know each zone, so you can loop through the fields until you get to the zone name that you want. If field(n) = "East Coast" (for example) then you have what you want.
Précédent
Suivant
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