Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box updating List Box results
Message
From
21/04/1998 12:43:04
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093702
Message ID:
00093706
Views:
27
Dan,

You indicate that you are still having problems, but
did not indicate what how your list box is acting.
After you update your listbox.rowsource and do the
listbox.requery do you get any items in your
list or only the original list.

What specifically is being placed as your SQL
statement for your row source?

In your debugger go into your locals window and
determine what is in your SQL rowsource.

-myron kirby-
=================================
>First, I posted a similar message yesterday regarding this same subject, thanks for the responses. Unfortunately, I am still haven't been able to get it to work. I'm sure the problem is me. Anyway, I'll elaborate a little more and maybe I'll get it this time. I have a form with a combo box and a list box. I have a list of unique categories listed in the combo box. I need the list box to update and refresh with the devices for the category picked in the combo box when a device category is selected in the combo box.
>
>I am using VFP3 only because this is a WIN95 and MAC application. From what I gather I should be able to set the RowSource to a SELECT statement, the RowSourceType to 3 - SQL Statement and call the Requery method when my selection changes in the combo box.
>
>I don't know what I'm doing wrong but, it must be something.
>
>
>Thanks again in advance for the help.
>Dan Madero
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Previous
Reply
Map
View

Click here to load this message in the networking platform