Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOR Clause
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00465240
Message ID:
00465247
Vues:
16
>Hi Everyone:
> I was wondering if it is possible to include For statement in a immediate If statement. For example IIF(nCnt = 1,For citem.des1=creport.des,2,3)
>Thanks

I'm not sure what you are trying to do. Are you trying to build a dynamic FOR clause for one of the commands that accepts FOR clauses. Is so, my guess would be it would not work. The IIF() would be evaluated for the first record and the command would use that for the rest of the operation.

If you could provide some more detail of your goal, maybe there is another way to go about it.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform