General information
Category:
Forms & Form designer
Hi,
How can I test to see if a grid column name already exists? For example, the
following adds a column but if the field name field(i) has already been used, fox pro says a
member object with that name already exists.
THISFORM.Grid1.AddColumn(i)
THISFORM.Grid1.Columns(THISFORM.Grid1.ColumnCount).Name = alltrim(field(i)) && Field(i)
Thanks
Steve
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