Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Square brackets
Message
From
26/04/2001 11:06:54
 
 
To
26/04/2001 11:03:29
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00500093
Message ID:
00500131
Views:
28
>cSQLPassThrough = [SELECT * FROM MyTable ] + ;
> [WHERE MyField = "Adam's Apple" ]
>
>Try doing that one with quotes. It gets ugly.

Well, since you ask! :) (Assuming the backend is SQLServer)
cSQLPassThrough = "SELECT * FROM MyTable " + ;
    "WHERE MyField = 'Adam''s Apple'"
I agree that using brackets is a better idea, though! :)
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform