Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid control
Message
From
16/03/2005 22:17:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Grid control
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00996622
Message ID:
00996622
Views:
69
Hi all,

I use a grid called course in one of my forms where I set all the properties of my grid.

I modify my table called tblPRDET in my form and reset the grid recordSource to the table name. Each time I do this I lose all the previously set properties of my grid.

Any ideas why this happens?

THISFORM.pgf1.page2.grdCourse.RecordSourceType = 1
THISFORM.pgf1.page2.grdCourse.RecordSource = "tblPRDET"
THISFORM.pgf1.page2.grdCourse.Enabled = .T.
Next
Reply
Map
View

Click here to load this message in the networking platform