i have a listbox('lstBud') from form "SelectBudget"
Record Source: tbl_VRegister
quick description of what this form do.
its opened from another form, and filters users id and provides a list of their budgets. User can select a budgetline from the list box and when they click ok, the budget is transferred (table updates).
One problem. I need those columns in the list box (the one that user selects/highlights) to be captured into a table.
ie. abid, buddesc, etc.
how can i do that?
(tbl_fsource.bfsix = foreign key / tbl_VRegister.bfsix = primary key
here's source for "lstbud" listbox..
SELECT tbl_fsource.abid, tbl_Fsource.buddesc, tbl_Fsource.revnum, tbl_Fsource.revname, tbl_Fsource.appro, tbl_Fsource.fcast, tbl_Fsource.balan, tbl_Fsource.bfsix FROM tbl_Fsource WHERE (((tbl_Fsource.StaffID)=Forms!frm_selectBudget!cboStaffID)) ORDER BY tbl_Fsource.buddesc;
Record Source: tbl_VRegister
quick description of what this form do.
its opened from another form, and filters users id and provides a list of their budgets. User can select a budgetline from the list box and when they click ok, the budget is transferred (table updates).
One problem. I need those columns in the list box (the one that user selects/highlights) to be captured into a table.
ie. abid, buddesc, etc.
how can i do that?
(tbl_fsource.bfsix = foreign key / tbl_VRegister.bfsix = primary key
here's source for "lstbud" listbox..
SELECT tbl_fsource.abid, tbl_Fsource.buddesc, tbl_Fsource.revnum, tbl_Fsource.revname, tbl_Fsource.appro, tbl_Fsource.fcast, tbl_Fsource.balan, tbl_Fsource.bfsix FROM tbl_Fsource WHERE (((tbl_Fsource.StaffID)=Forms!frm_selectBudget!cboStaffID)) ORDER BY tbl_Fsource.buddesc;