Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement