Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Grid RECORDSOURCE vs Grid Builder
Message
De
16/01/2000 19:54:51
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Setting Grid RECORDSOURCE vs Grid Builder
Divers
Thread ID:
00318814
Message ID:
00318814
Vues:
66
Hi All,

I just wanted to share an experience that I've recently had concerning Grids and the RECORDSOURCE property. I constructed a Table Maintenance Form which had 2 Tab Pages. The first Tab Page has a Grid of all the records in the table and the second Tab Page has the fields from the current record. I have a Property called MaintAlias in the Formset which holds the name of the Table that is to be maintained and I use this Property to set the RECORDSOURCE for the Grid in the ACTIVATE Event of the Formset. I used the Grid Builder to arrange the fields in a specific order. After I ran the form I noticed that the Grid headers didn't match up to the data in the
corresponding Grid fields, one field had even split over two Grid columns. I checked the Table to make sure that I'd entered data in the correct fields, and it was fine. I couldn't figure out what was happening. I then commented out the code that set the RECORDSOURCE and the Grid worked fine.

Has anyone else encountered this problem? It seems that VFP6.0 doesn't like a Grid being built with a Builder and then having the RECORDSOURCE specified when the Form is invoked.

Is it a bug or am I just doing it the wrong way?

Gavin...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform