Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box to scroll thru a database
Message
 
 
To
22/03/2010 12:13:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01456119
Message ID:
01456170
Views:
31
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform