G
Guest
i build the a database that contains alot of select queries and this cause
higher file size, i use select queries to locate my the value or data on my
tables and use it as reference in computing just like thies query:
SELECT tbl_installationhistory.p_n, tbl_installationhistory.e_n,
tbl_installationhistory.dpt, tbl_installationhistory.l_n,
tbl_installationhistory.l, tbl_installationhistory.i_date
FROM tbl_installationhistory
WHERE (((tbl_installationhistory.p_n)=[Forms]![frm_withdrawal]![partnumber])
AND ((tbl_installationhistory.e_n)=[Forms]![frm_withdrawal]![machinenumber])
AND
((tbl_installationhistory.l_n)=[Forms]![frm_selectlocationmain]![frm_selectlocation].[Form]![assy_name])
AND
((tbl_installationhistory.l)=[Forms]![frm_selectlocationmain]![frm_selectlocation].[Form]![location]))
ORDER BY tbl_installationhistory.i_date DESC;
to know what is the value of i_date i use the dlookup() method
is there any recordset equivalent to this type of query? then tell me how to
do it.
thanks,
resti
higher file size, i use select queries to locate my the value or data on my
tables and use it as reference in computing just like thies query:
SELECT tbl_installationhistory.p_n, tbl_installationhistory.e_n,
tbl_installationhistory.dpt, tbl_installationhistory.l_n,
tbl_installationhistory.l, tbl_installationhistory.i_date
FROM tbl_installationhistory
WHERE (((tbl_installationhistory.p_n)=[Forms]![frm_withdrawal]![partnumber])
AND ((tbl_installationhistory.e_n)=[Forms]![frm_withdrawal]![machinenumber])
AND
((tbl_installationhistory.l_n)=[Forms]![frm_selectlocationmain]![frm_selectlocation].[Form]![assy_name])
AND
((tbl_installationhistory.l)=[Forms]![frm_selectlocationmain]![frm_selectlocation].[Form]![location]))
ORDER BY tbl_installationhistory.i_date DESC;
to know what is the value of i_date i use the dlookup() method
is there any recordset equivalent to this type of query? then tell me how to
do it.
thanks,
resti