Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Highlighting expression error
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00419140
Message ID:
00419257
Views:
26
For example something like
EVAL(IIF(this.recordsourcetype = 4, "'" + SUBSTR(this.recordsource, RAT(" ", this.recordsource) + 1) + "'", this.recordsource))
goes instead this.recordsource...
:)
(assuming that "...INTO CURSOR ZZZ" is at the end of SELECT statement and probably nobody uses RecordSourceTypes 2 and 3 anyway :)


>Hi, Nick!
>
> What if RecordSource is SELECT - SQL statement? :)))
>
>>Or, IIF(RECNO(this.RecordSource) = grno... so you are not hardcoding the alias.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform