Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids built from cursors
Message
 
To
16/06/2001 22:24:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00520315
Message ID:
00520540
Views:
14
>Brian,
>
>Well sonuvagun, that worked. I had tried this many times and many ways but with no sucess before. Is the 'csr' required
>before my cursor name? Before I said "CREATE CURSOR Pledgers" and now I changed it to "CREATE CURSOR csrPledgers".
>Was that the big difference or is there something else?
>Also, I know this is going to sound wimpy, but I don't know how to add fields to a grid without using the builder. I think that I was
>able to make it work once by doing what you suggested, created a table with the name and attributes of my cursor temporarily.
>This is a learning experience from me, I have always gone directly off of tables before and am learning about cursors at the
>suggestion of several people.
>
>Thanks so much for your help.
>
>Fred

Hi Fred,

Many folk here have built grids that "build" themselves. We populate a grid array property with column definitions, create the cursor, then call a method which reads the array and constructs the grid based on the contents of the array. The .RecordSource property is populated in that method too.

Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform