Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with a grid
Message
From
31/08/2004 16:56:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
31/08/2004 16:42:16
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00938202
Message ID:
00938209
Views:
25
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform