Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing value in Grid
Message
From
28/07/2023 10:50:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686818
Message ID:
01686878
Views:
33
>
>FOR RECNO() = CurrentRecord
>
>REALLY?
>Does somebody use such thing.

Not my code - stems from his original loop...
Pointed him to Scan .. Endscan for record based handling
and stronglyargued for 1 line of SQL Update, which would eliminate this clause as well
as whole table is munged without loop (done implace and instead of flags etc)

>Also I just give ideas not full code
Hard to tell if a line compiles - and the important part is the missing empty()

personally I find the
IF USED(lcCursorName) AND !EMPTY(lcCursorName) AND TYPE("lcCursorName") = "C"
worse, as the "tests" will only run when lcCursorName was good enough for USED(lcCursorName).
Previous
Reply
Map
View

Click here to load this message in the networking platform