Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox
Message
 
To
19/07/2002 08:31:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00680373
Message ID:
00680405
Views:
22
I couldn't get it to work that way. But the code below works.

Ria

ComboboxB - RowsourceType = 1(Value)

ComboBoxA - Interactive Change


thisform.comboboxB.clear
do case
case this.text = "A"
select TableA
go top
do while not eof()
thisform.comboboxB.additem(TableA.Field1)
skip 1
enddo
case this.text = "B"
select TableA
go top
do while not eof()
thisform.comboboxB.additem(TableB.Field1)
skip 1
enddo
endcase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform