Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids -- A Good Thing is Gone
Message
From
03/11/1998 07:16:29
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00152683
Message ID:
00153857
Views:
20
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform