I have a form with 2 listboxes which are to be filled.
The name of the dbf.file as a source is GOOGLEA.dbf
It has the following structure:
Field-Name1................... Field-name2
Kategorie ....................... Begriff
Flowers............................ rose
Flowers............................ tulip
Flowers............................ sun-flower
Listbox List1 should show only the distinct(kategorie) - that is in this example only once the item "flowers"
when the user clicks on it - it will do something.
Listbox List2 should show the details - that is in this example a list with 3 items (rose, tulip, sunflower) and when the user clicks eg. on "rose" something the programm should do.
How are the entries for Listbox1 and Listbox2 for
a)the control-source
b)rowsource
c)row-source types
A small code snippet would help me a lot.
I tried it, but had always problems
Thanks in advance
Klaus
Peace worldwide - it starts here...
The name of the dbf.file as a source is GOOGLEA.dbf
It has the following structure:
Field-Name1................... Field-name2
Kategorie ....................... Begriff
Flowers............................ rose
Flowers............................ tulip
Flowers............................ sun-flower
Listbox List1 should show only the distinct(kategorie) - that is in this example only once the item "flowers"
when the user clicks on it - it will do something.
Listbox List2 should show the details - that is in this example a list with 3 items (rose, tulip, sunflower) and when the user clicks eg. on "rose" something the programm should do.
How are the entries for Listbox1 and Listbox2 for
a)the control-source
b)rowsource
c)row-source types
A small code snippet would help me a lot.
I tried it, but had always problems
Thanks in advance
Klaus
Peace worldwide - it starts here...