>hello, i have a grid with format in the header (fontbold, an specific width, tahoma,etc.) but when i select an option button it change all, specially the width of the columns, this is my code:
>
>
>IF thisform.optiongroup1.option6.value=0 then
> DO QPRZONA.QPR
> else
> DO QPRCOMM.QPR
>ENDIF
>
>thisform.grid1.recordsource="ZONAS"
>thisform.grid1.refresh
>THISFORM.GRID1.COLUMN1.WIDTH=75
>THISFORM.GRID1.COLUMN3.WIDTH=75
>THISFORM.GRID1.COLUMN4.WIDTH=100
>
>
>I think is for the alias, but how can i fix this?
Edgar,
Your problem is not clear. Shooting in dark :
-Set recordsource to "" before running qpr
-Make your grid's recordsource directly the qpr (Recordsourcetype query)
Cetin