Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql problem
Message
De
15/04/2004 12:15:54
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
 
À
14/04/2004 15:14:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00894343
Message ID:
00895192
Vues:
22
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 !
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform