Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refresh?
Message
From
03/09/1999 01:52:30
Ilie Tomac
Eagle Investment Systems LLC
Boston, Massachusetts, United States
 
 
To
02/09/1999 11:47:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00260519
Message ID:
00261017
Views:
28
Hi, Tom...

Yes, it is possible first to establish recordsource of the grid
to {NONE} and then after sql command columns of the grid will
not blow away. But this is true in just one case:
when the grid's columns have the same order as in the
cursor. I mean the following:
Cursor's fields: f1, f2, ...
Grid columns controlsources: f1, f2, ...
Hovewer, if you don't want to show field f2 and bound
second column's controlsource to f3, then after re sql command
you should redefine this column because it bounds to f2.
It can happen to other columns (and they also need to be
redifined).
Or, you can create cursor in such a way that all columns you
don't want to show are located in the tail of the cursor and
then you can just one time define columncount of the grid.

All the best.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform