Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing RecordSource of grid on the fly breaks formatting
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Changing RecordSource of grid on the fly breaks formatting
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01317811
Message ID:
01317811
Views:
54
Hi all
That's a classic grid recordsource question, and i know i have this fixed somewhere, but i gave up finding the code...
I need to set a cursor as recordsource of a grid. The grid is formatted ( different backcolors for columns, bold font in some places etc... ).
If i run:
select .... into cursor myCursor
thisform.myGrid.RecordSource="myCursor"
the grid looses all the formatting. Also, should i set each column's controlsource everytime i recreate the cursor?

Thanks
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Next
Reply
Map
View

Click here to load this message in the networking platform