Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote views and null memo (text) fields
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00408342
Message ID:
00408680
Views:
13
Hi Mike,
>It does return 'M', but COPY MEMO fails with a message indicating that it's not a memo field. Try this:
>
>CREATE CURSOR csrTest (testmemo M null)
>INSERT INTO csrTest (testmemo) VALUES (null)
>COPY MEMO testmemo TO 'test.txt'

I'd fault the error message! It should say 'Null memos cannot be copied' Since, how can you copy 'unknown' to a text file. <G> Help and HackFox make no mention that NULL memos cannot be copied. (As I'm SURE you're aware. <G>)

Thanks for the heads up! I'll have to add null-checking wherever I use copy memo.
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform