Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid.Column.ControlSource=(None) workaround?
Message
De
19/12/1997 14:54:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00067235
Message ID:
00067270
Vues:
18
Hi, Colin. Couldn't you set the controlsource to the trainercode.id (or whatever)? Why, may I ask, are you leaving the controlSource blank? (This is for my own education <s>)

>I have a combobox on a form that has ControlSource=(None), RowSourceType=Fields and RowSource=Trainer.Lname,Fname,Position. In the combos Init I have the following:
>
>THIS.Value=Trainer.Lname
>THIS.DisplayValue=Trainer.Lname
>
>The Valid of the Combo REPLACES the current tables Trainercode and updates the .Value of 2 textboxes with Fname and Position. This is so the user sees Lname, Fname and Position on the form and in the picklist but only the code is stored to the table. This works fine.
>
>Now I want to do the same thing in a grid. However, if I set the ControlSource=(None) for the column the combobox is in, the default behaviour of the grid is that the column displays the next available undisplayed field of the grid’s record source.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform