Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Controls in Grids and Views
Message
 
 
À
16/12/2000 17:28:52
Raymond Humphrys
Michigan Department of Community Health
Bath, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00454424
Message ID:
00454502
Vues:
31
You mean combobox instead of listbox, right? Is the actual data stored in those fields numeric [or integer] or character [the displayed value can be either]. If the bound field is numeric, you need to set the BOUNDTO property of the combo to true. You are also setting the other properties of the combos, right?

>I have a grid which is populated with data from a view. I have list box controls in many of the columns which have values in them. I programmatically refresh the grid with code to assure that the Grid and View are Requeried and reflect any changes made to the underlying data. Problem is I have lost the Values I loaded into the Combo boxes when running the form. What is correct syntax to make sure the values are loaded into the combo box?
>
>Right now I use in the activate event:
>
>Thisform.grdInt.recordsource = ""
>Thisform.grdInt.recordsource = "rmtinterventions"
>Thisform.grdInt.column1.controlsource = "rmtinterventions.verb"
>Thisform.grdInt.column2.controlsource = "rmtinterventions.subject"
>Thisform.grdInt.column3.controlsource = "rmtinterventions.outcome"
>
>I have values in the combo boxes for columns 1, 2, and three which are missing when the form is run.
>
>thanks
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform