Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exclamation sign is removed in parameter substitution
Message
 
 
To
14/10/2005 15:05:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01059262
Message ID:
01059311
Views:
10
I can confirm that. As you pointed out, the workaround is very simple. Anyway it's sloppy coding not to put spaces around language tokens. It makes code much harder to read.


>Run code like the following with your backend:
>
>
private cstr
>cstr='b'
>sqlexec("SELECT * FROM test WHERE ?cstr!='a'")
>
>There must be no space between r and !
>
>note that the actual query passed to server is
>
>
SELECT * FROM test WHERE 'b'='a'
>
>VFP replaces != condition to = condition.
>
>Please confirm, can anybody reproduce this ?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform