P
Peter Morris
I have a stored query QU_TRANSACTIONS like this :
SELECT Transaction.date, Transaction.[amount in] AS [In],
Transaction.[amount out] AS Out, Transaction.card,
Transaction.type
FROM [Transaction]
WHERE (((Transaction.Account)=[p_account]));
I have a form FRM_TRANSACTIONS with this query
as its record source. This is a subform on a larger form
called MAIN_FORM
When running code on MAIN_FORM, how do I set
the parameter [p_account] in the query and redraw the
subform?
For example, if I want to set the parameter to 3, what's
the code for that?
SELECT Transaction.date, Transaction.[amount in] AS [In],
Transaction.[amount out] AS Out, Transaction.card,
Transaction.type
FROM [Transaction]
WHERE (((Transaction.Account)=[p_account]));
I have a form FRM_TRANSACTIONS with this query
as its record source. This is a subform on a larger form
called MAIN_FORM
When running code on MAIN_FORM, how do I set
the parameter [p_account] in the query and redraw the
subform?
For example, if I want to set the parameter to 3, what's
the code for that?