Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disappearing columns in a grid
Message
From
22/09/1998 14:11:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Disappearing columns in a grid
Miscellaneous
Thread ID:
00139549
Message ID:
00139549
Views:
43
I have a grid on a form who'se data source is an DBF alias. Every time I delete a record and pack the dbf the grid reverts to one column displaying the first field of the database. I have tried:

THISFORM.Grid.ColumnCount=2 && the DBF has 2 fields
THISFORM.Grid.Column2.ControlSource="DBFNAME.field2"
THISFORM.Grid.Refresh()

doesn't make any difference though

Can anyone help me with a shortcut ?

Gerry.
Next
Reply
Map
View

Click here to load this message in the networking platform