i have tblDates that has Number long integer fields named FiscalYear and FiscalMonth and PerSeq.
in my Query1, i have 2 fields that use a question in the field part of the qry:
Desired FiscalYear: [Enter Fiscal Year]
Desired FiscalMonth: [Enter Fiscal Month]
And now the Qry question. The qry field is "Desired BaseSeq". i need a dlookup to get PerSeq out of tblDates based on my qry response to the Desired FiscalYear and Desired FiscalMonth.
I start the qry field out here but it is wrong i know.
Desired BaseSeq: DLookUp("PerSeq","tblDates","[Desired FiscalYear] And [Desired FiscalMonth]=" & [tblDates].[FiscalYear] And [tblDates].[FiscalMonth])
Thanks you.
in my Query1, i have 2 fields that use a question in the field part of the qry:
Desired FiscalYear: [Enter Fiscal Year]
Desired FiscalMonth: [Enter Fiscal Month]
And now the Qry question. The qry field is "Desired BaseSeq". i need a dlookup to get PerSeq out of tblDates based on my qry response to the Desired FiscalYear and Desired FiscalMonth.
I start the qry field out here but it is wrong i know.
Desired BaseSeq: DLookUp("PerSeq","tblDates","[Desired FiscalYear] And [Desired FiscalMonth]=" & [tblDates].[FiscalYear] And [tblDates].[FiscalMonth])
Thanks you.