Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One or more IF statements?
Message
De
30/07/2008 15:49:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01335285
Message ID:
01335351
Vues:
16
Close enough, Sergey.

I was having problems following me. :)
It seems to work for the different reports, so I am going to use it.
Thanks for the help.

Beth
>I'm not sure that I'm following you, but will this work for you?
>
>IF (lnButton = 5 AND (ISNULL(poGraph.cursor2) OR EMPTY(poGraph.cursor2) OR RECCOUNT(poGraph.cursor2) = 0))
>
>
>> I don't know if I am explaining it correctly. I only want to go into the if part of the if - else statement, if the poGraph.cursor2 is not populated and the report is 5, or if the report is 5 and the record count for the cursor2 is zero. I don't want to go into the If part if the report is not 5, it should go to the else part for any report other then 5. The problem seems to be that it gets to the reccount(poGraph.cursor2) = 0 and errors, because poGraph.cursor2 is not a number.
>>
>>going to try some things.
>>
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform