Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Driver 5.00.00.00412 and Memo field size limitation
Message
From
12/11/1997 17:56:30
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/11/1997 10:25:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00059512
Message ID:
00059812
Views:
49
>Does anybody know if there is a bug/limitation with the Visual FoxPro ODBC >Driver version 5.00.00.00412 with regards to the data size in memo fields >when using the Update SQL command? >Using MsQuery32 I execute the following command - UPDATE html SET sectname >= 'Default', section = 'HTML//EN">...', filename = '' WHERE (html.page_id = 1) > >I reduced the data in section field of the update command for this message >however the field section is a memo field which contains more than 255 >characters. > >After issuing the statement I get the error "[Microsoft][ODBC Visual FoxPro >Driver]Command contains unrecognized phrase/keyword." >If I reduce the section field data so it only contains 255 or less >characters the Update statement executes successfully. > >Any suggestions? Foxpro (in any of its incarnations) had some limitations on strings. You can't have a literal string within any command line exceeding 254 or 255 bytes. You can easily split it by inserting a " + " (quote, plus, quote) somewhere in between, or by building your string in several parts, like cString=[UPDATE html SET sectname] cstring=cstring+[ = 'Default', section = '...', filename = '' ] cstring=cstring+[ WHERE (html.page_id = 1)] This helps just for the fox side of the problem; if there's another similar limitation in the ODBC side of the process... keep this thread open.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform