Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids -- A Good Thing is Gone
Message
De
03/11/1998 07:16:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00152683
Message ID:
00153857
Vues:
21
I have another proposal if indeed the sys(3055) doesn't cure the problem. Bad bad VFP6.0.

Here's the workaround
instead of
THISFORM.grd.recordsource = m.tsql1 + m.tsql2 + m.tsqlx + m.twhere + m.torder + m.tinto

create the cursor by executing the SQL select
* create you commend line as a string
lcSql = m.tsql1 + m.tsql2 + m.tsqlx + m.twhere + m.torder + m.tinto
* then execute the command.
&lcSql
set the THISFORM.grd.recordsource to the cursor name you just created.
And maybe have the column properties reinitialised if needed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform