Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide fields at my grid
Message
From
07/03/2006 06:08:48
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101965
Message ID:
01101995
Views:
9
hi,
thank you , fantastic idea ,
i try as under..it works

thisform.grid1.column6.visible=.f.

thisform.grid1.column7.visible=.f.

thanks
>>hi all,
>>
>>any idea,help
>>
>>i need to hide fields at my grid,
>>
>>I TRY VIA PROPERTIES NOT WORKS
>>
>>Select bookno,sticket,eticket,NOOFTICKET,BOXNO,shipno,trans_type from trans1 into cursor csrmyCursor readwrite where .F.
>>SELECT csrMyCursor
>>With thisform.Grid1
>>  .RecordSource = "csrMyCursor"
>>  .Columncount = 7
>>  .Column1.ControlSource = "csrMyCursor.bookno"
>>  .Column2.ControlSource = "csrMyCursor.sticket"
>>  .Column3.ControlSource = "csrMyCursor.eticket"
>>  .Column4.ControlSource = "csrMyCursor.noofticket"
>>  .Column5.ControlSource = "csrMyCursor.boxno"
>>  .Column6.ControlSource = "csrMyCursor.shipno"&&&&&&HIDE AT MY FORM(GRID1)
>>.Column7.ControlSource = "csrMyCursor.trans_type"&&&&&HIDE AT MY FORM(GRID1)
>>    append blank
>>  .Refresh()
>>ENDWITH
>>
>
>Make the Columns' Width properties = 0
Previous
Reply
Map
View

Click here to load this message in the networking platform