Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Commonly misused and abused VFP features
Message
From
31/12/1999 14:43:09
 
 
To
31/12/1999 14:21:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00310951
Message ID:
00311002
Views:
45
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform