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