Hi All,
OK I have a grid that displays through various cursors the info from the same table. When the users change from one cursor to the other, I need column widths to change as well. I cobbled together the following code:
with thisform.grdInven
for i = 1 to .columncount && number of columns in cursor
.columns(i).width = len(.columns(i).header1.caption)
endfor
endwith
The problem I have is that when I return the column width, it is in units much smaller than what I am used to working with. Does anyone know of a conversion I can slip into the code?
Thanks,
Winn Pauley