Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using eval and dot notation
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00366714
Message ID:
00366773
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform