Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Misbehavin' Grid
Message
De
16/09/1999 17:29:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00265667
Message ID:
00265680
Vues:
22
Hi Matt ---

What is the setting of the Bound property in the column? If set to .T., with a blank ControlSource in the Column, VFP will see that there is a four column Grid that it's can't figure out and will put the first four fields of the table as the columns.

BTW, why not set the ControlSource at the Column, set Bound to .T. and be done with it? Why torture yourself?


>
>The app is in VFP 5. I have a very simple grid on a very simple form. The grid has 4 columns. Each column has the ControlSource set to , but the Textbox controls of each column contain the correct ControlSource. (In fact this is the default behavior of how the grid wizard sets it up.) It worked originally, built with the grid wizard containing 3 columns, but after I added the 4th (manually), everything headed south.
>
>Does anyone know why, oh why the ControlSource of the textboxes is apparently ignored? The results I get when running the form are the first 4 sequential fields in the table, not even close to what the control sources are.
>
>I can put the ControlSource in the columns too, and that corrects the problem. But... there's just got to be a reason for this.
>
>Thanks for any enlightenment!
>
>-Matt
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform