Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL string in listbox rowsource greater than 255
Message
De
25/09/1998 13:15:03
 
 
À
25/09/1998 12:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00140856
Message ID:
00140878
Vues:
29
>My select statement works great if the string length <= 255 characters but I get a syntax error if it gets any bigger. I have searched past threads and found that this problem/bug exist. Does anyone know of a work around or if VFP 6.0 overcomes the problem? I am using VFP 5.0a now.

I believe that this limitation is only true when entering the SQL in the properties sheet. Try Building the string in code and assigning the rowsource programmatically.

If this doesn't work, create a method called something like populatelb and exewcute your query in there. In that method, you can scan through the results and use Additem. You would then call this method instead of listbox.requery().
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform