General information
Category:
Coding, syntax & commands
Title:
Disappearing columns in a grid
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only