Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box to scroll thru a database
Message
 
 
À
22/03/2010 11:34:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01456119
Message ID:
01456141
Vues:
30
>>>>>but im trying to use a combo box so when i select A my fields get 5 and B gives me 10
>>>>>when i init the form the field gets 5 but i dont get 10 upon the selection of B
>>>>
>>>>Re-read my reply one more time and also post how did you setup your comobox (what is its rowsourcetype and rowsource).
>>>
>>>my row source is an sql
>>>select fields from table where intemtype="x" into cursor test
>>>3-SQL satement
>>
>>Ok, fine. My original suggestion applies to your scenario.
>
>oh im going to try it on the int of the form

No, try it in interactivechange (or valid) of the combobox. E.g.

this.value = this.value && just in case

and then my code.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform