Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I base a grid on an array?
Message
De
29/04/1999 15:29:17
 
 
À
29/04/1999 13:38:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00213274
Message ID:
00213610
Vues:
39
>It depends on whether you want to display data elements from a cursor or an array in your grid. If you write all the array elements to a cursor before hand, then your grid will be using the cursor as its recordsource. The fact that the cursor was populated from an array is something that's irrelevant at this point (the grid could care less). If you actually want to display the data directly from the array, then you need to set the controlsource to the individual array elements with the row subscript of the array mapped to your dummy cursor and the column subscript hard-coded so, no, you can't skip setting the controlsource.
>
>-JT


Ah, IC (I think). Your trick is to deliver the data from the array as the grid scrolls within the cursor. Have I got it now?

I'll experiment with this.

Thanks a bunch.

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform