Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Commonly misused and abused VFP features
Message
De
31/12/1999 14:43:09
 
 
À
31/12/1999 14:21:44
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00310951
Message ID:
00311002
Vues:
42
Hi Nanc,

>One of the odder named exp. that works (IMO) is:
>STORE "hello World" TO ("myTable." + cField)
>instead of
>myTable.&cField. = "hello world"

I don't know what language you use, but I usually have to do a REPLACE in this type of situation ;-)

REPLACE (MyFIeld) WITH "HELLO" IN (MyTable)

>Otherwise, the ONLY public variable I might define willingly is my oApp.

And as dicussed, doesn't need to be PUBLIC, just global.

>I usually see the opposite...people untrimming variables (that may or may not need it) and then using ==. Personally, I don't care if people prefer SET EXACT ON or OFF. Honestly, this is one of those help topics that I have refered to alot, just because I can turn it around very easily (like cstr1 $ cstr2 )...it's just a mistake my brain is prone to, so I like SET EXACT ON.

Correct me if I'm wrong, but SET EXACT affects Seek() right? Thats usually the only way around it, thats what I do anyway.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform