Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql problem
Message
From
15/04/2004 12:15:54
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
To
14/04/2004 15:14:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00894343
Message ID:
00895192
Views:
23
Dear tamar
my problem solved by Fabio.
the problem was in string maximum lenght !!!

here is FABIO answer.
On VFP the maximum length of one literal string is 255 characters

Split the string on max 255 characters substrings:

lc="SELECT Havaleh.vnum, Havaleh.vdate, Havaleh.vval, Havaleh.transpay,;
Owner.ofamily, Products.pname, Havaleh.ocode, Havaleh.pcode,;
Havaleh.tonkiloo";
+ " FROM havaleh;
LEFT OUTER JOIN owner ON Havaleh.ocode = Owner.ocode;
LEFT OUTER JOIN products ON Havaleh.pcode = Products.pcode;
ORDER BY Havaleh.vnum INTO CURSOR CursorTemp"


thank you tamar for your previous guide.


OH MY GOD !
Previous
Reply
Map
View

Click here to load this message in the networking platform