Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using eval and dot notation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00366714
Message ID:
00366773
Vues:
19
Thanks for your time George. A VFP restart has things working more as expected.

>It shouldn't. I was able to execute the following with no problem.
>CREATE CURSOR Foo (somenum N, condition c(50))
>APPEND BLANK
>REPLACE somenum WITH 1, condition WITH ".T."
>REPLACE somenum WITH 2, condition WITH "Goo(somenum) = 1"
>SELECT * FROM Foo WHERE EVAL(condition) && Returns 2 records
>GO BOTTOM
>REPLACE somenum WITH 2, condition WITH "Goo(somenum) = 2"
>SELECT * FROM Foo WHERE EVAL(condition) && Returns 1 record
>
>* Exists in current directory
>FUNCTION Goo
>  LPARAMETER Junk
>  RETURN Junk - 1
>ENDFUNC
The above seems to work just fine and as expected.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform