Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
03/11/2003 12:40:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/11/2003 11:44:54
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Re: Grid
Miscellaneous
Thread ID:
00845337
Message ID:
00845688
Views:
17
>Cetin,
>
>If one puts the RecordSource SQL statement in the Init() of the grid as you suggest, are you then going to have to add the appropriate columns in code?
>
>I can think of no way to add the columns in the property sheet and have them instantiate without a recordsource already defined.
>
>I'm curious how you do this.
>
>Regards,

I already forgot the original question :) He might have a simple form like this :
define class myForm as ShowRecs
 Datasession=2
 add object myGrid as Grid with ReadOnly=.t.
 
 Procedure Init
 lparameters tcSQL
 with this.myGrid
   .Recordsourcetype = 4
   .Recordsource = tcSQL
 endwith
enddefine
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