P
Przemek Wrzesiñski
Hi,
I've got a form with multiselect listbox filled with names - it's
query from tblEmployees (EmployeeID and EmployeeName). In the same
form I put a textbox where user will put the numbers. Calculation,
which I want to do, depends on how many names are selected and
simultaneously pass calculated amount with selected names (actually
EmployeeID) to another table, e.g. listbox contains: John, Mark, Sean.
User selected: "John" and "Sean" and the amount given by user is 1000.
So I want to add 2 records "John 500" and "Sean 500". I know how to
add record but I have a problem to tell Access: how many names is
selected , what names was selected and what calculations are needed
with this selection.
TIA
Przemek
I've got a form with multiselect listbox filled with names - it's
query from tblEmployees (EmployeeID and EmployeeName). In the same
form I put a textbox where user will put the numbers. Calculation,
which I want to do, depends on how many names are selected and
simultaneously pass calculated amount with selected names (actually
EmployeeID) to another table, e.g. listbox contains: John, Mark, Sean.
User selected: "John" and "Sean" and the amount given by user is 1000.
So I want to add 2 records "John 500" and "Sean 500". I know how to
add record but I have a problem to tell Access: how many names is
selected , what names was selected and what calculations are needed
with this selection.
TIA
Przemek