Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01106160
Message ID:
01106164
Views:
25
>Can sombody give me some advice please. I have a cursor 'Articolhang' which is built when the the form is initialized. I would like to bind the contents of the cursor to my grid using the traditional way by selecting the grid and then entering my properties using the foxpro GUI i.e. columns = 3, recordsource = Articolhang.
>
>Here lies a problem I think when the form initializes the grid is looking for the cursor but the cursor is not built yet. Can i do it this way or after my method which creates the cursor I then have to to do something like:
>
>
>
>with this.grid1
>     .recordsource = 'Articolhang'
>     etc etc
>endwith
>
>
>
>I would really like to set the properties on the grid rather than programmatically!!
>
>I was hoping somebody could put me in the right direction
>
>Many thanks


The only way to do this is to build the cursor in Load Event of the form.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform