Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox woes
Message
De
25/02/1999 00:22:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00190932
Message ID:
00191277
Vues:
19
Your remark about ControlSource and EOF() got me thinking, Jim. My problem is not really with the cbo at all, but with the underlying grid (I think ... correct this logic if it seems wrong ... I'm just hypothesizing now cuz I haven't tried any of this out yet)....

My grid is not based on only one table, but several tables linked in a relationship. Each record in the controlling table points to a name field in the child table, unless of course a name hasn't been chosen yet (the EOF() sitation). What I was trying to do is to allow the user to choose a name using the cbo control in the grid column ... obviously this isn't going to work because of the fact that the ControlSource of the column is at EOF() (the child table), even tho the ControlSource of the cbo is not (a field on the controlling table is the ControlSource). I see what I have to do, I think, and that is to base the grid on only one table ... I'll need a cursor to do this that combines the parent and child table. Seems like a major pain tho ... is this the correct way to proceed????

Thanks for your help, anybody's help :-)
Bonnie

>Bonnie,
>
>The rowsource table at eof does not disable a control but the controlsource at eof will disable the control. Are you sure the combo's controlsource is not at eof at the time the control is disabled?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform