MS Access how can i pass my search criteria from top query to subquery? -
i have query in base-data table (given search criteria correct) gives approx. 950 records.
except of 3 criteria fields, want have 10 more fields (the project still @ beginning) , every single 1 based on sub-queries, of them normal select queries, aggregated queries.
as far know every sub-query must give 1 , 1 value back. value school individual every record of top query.
my problem is, don't know how pass search criteria top query (simple select query) sub-query in in 10 fields mentioned before.
is possible @ all, or approach complicated. there possibly easier way?
i have windows 7 system office 2010 installed.
your appreciated.
thanks lot.
ps sub-queries based on same table top query. sorry, forgot mention.
you can pass arguments between things function call set public variable. vba must in module, not behind form module. don't use approach often, because global value in volatile memory, prefer save variable in special data table.
public strglobal string function func_readglobal() string func_readglobal = strglobal end function function func_writeglobal() string strglobal = func_writeglobal end function
Comments
Post a Comment