Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Controls
Message
 
À
02/03/2001 10:54:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00481387
Message ID:
00481404
Vues:
10
>I have a grid control that I would like to display the contents of a single table. This table gets over-written through an odbc call to mysql. The table structure may not be the same twice in a row. How do I get the grid to dynamically refresh without knowing what the table structure will look like?
>
>Any ideas would be greatly appreciated...
>
>Thanks in advance-
>
>Tom Welch


Hi Tom,

Yiu can get the necessary info about the table structure with FCOUNT() and FIELD() functions. Then you can readjust the number of columns in the grid, and reassign RecordSource and column ControlSourses as necessary.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform