Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get New Memo Field in SQL
Message
From
24/07/2008 10:38:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/07/2008 10:28:57
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01333741
Message ID:
01333743
Views:
19
This message has been marked as the solution to the initial question of the thread.
Since you have version 9, this gets extremely simple with the cast() function. Specifically, you don't need to fool around with temporary tables or cursors:
SELECT MyField1, MyField2, CAST("" as M) as MyMemo;
	FROM MyTable
>I'm trying to do that little trick to get a new memo field in a SQL, but can't quite recall how to do it. This is what I have, which returns an error on the SQL:
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform