Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box to scroll thru a database
Message
 
 
À
22/03/2010 12:13: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:
01456170
Vues:
32
If you want to use combobox as a navigation mechanism, use any rowsource except for fields and navigate to the selected record using seek or go to approach.

>>>>>>>>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.
>>
>>
>>hmmm not really.
>uhum that doesnt relaly work thou. i change my row source to fields an...it doesnt do whats its supposed 2
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