Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: SELECT can't build sum of memo fields
Message
 
To
28/05/2003 06:33:31
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00793392
Message ID:
00793441
Views:
34
Even if your statement works, concatenating 2 memo field in a SQL command is not a good practice. The width of the resulting column is determined by the concatenated data width of the first output record. Information will be lost if data in subsequent concatenations get longer data. You may consider rewriting your statement as:

#define n 254 && or a number smaller than 255 that meets your need
SELECT Padr(m1+m2, n) mResult FROM test INTO CURSOR cResult
Previous
Reply
Map
View

Click here to load this message in the networking platform