General information
Category:
Coding, syntax & commands
What I need to do is, increase the colunm sizes to match that of the table column sizes.
If I have a table Test.dbf can I write something similar to this:
if used("Test")
select Test
use
endif
use Test
thisform.datagrid.recordsource="test"
n=test.column.count
for i=1 to n
thisform.datagrid.column1.with=test.column(i).width
endfor
Previous
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