Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacing value in Grid
Message
De
28/07/2023 10:50:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01686818
Message ID:
01686878
Vues:
34
>
>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).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform