BlueAvatar
Technical User
i have three tables, one has a list of companies and staff
like so:
etc...
one has a list of companies (same ones as the comp & staff)
etc..
and the other is another is like this
i managed to get the company listing in the third table easily, but i cant get the user listbox to load the users from the company that has been selected in the previous field.
is that a clear description?
i think its some kind of SQL query that i need, but i cant seem to get the syntax correct so its not working.
like so:
Code:
companies staff
comp1 staffmember1
comp1 staffmember2
comp1 staffmember3
comp2 staffmember1
one has a list of companies (same ones as the comp & staff)
Code:
comp1
comp2
comp3
and the other is another is like this
Code:
company user problem
(listbox from table2) (listbox) (text)
i managed to get the company listing in the third table easily, but i cant get the user listbox to load the users from the company that has been selected in the previous field.
is that a clear description?
i think its some kind of SQL query that i need, but i cant seem to get the syntax correct so its not working.