Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem to use apostrophe in a text string when using UP
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00654499
Message ID:
00655379
Views:
23
>Sergey,
>I discovered that my proposed inclusion of WHERE in the update string as well as yours are working but you still have to include the macrosubstitution for the lprFieldValue. In your expression it becomes:
>lcUpdateString = [UPDATE BEST SET ] + lprFieldName + [ = '] + [&lprFieldValue] + ['] + ;
> [ WHERE BESTNR=] + Transform(nBestnr)
>
You don't have to use macro substitution at all, because [&lprFieldValue] is the same as lprFieldValue. Try again, I think problem was not with lprFieldValue.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform