L
laveshhp via AccessMonster.com
Hi!
i have problem inreport when i use dlookup
As Example:
Table1
Id TranDate FieldA
FieldB
(AutoNumber) Date/Time Currancy Currancy
Now I Create Query as Below
Id TranDate FieldA FieldB Balance
1 9/1/06 100.00 100.00 200.00
Now in criteria row in query i put as below
Is Not Null And Between [Forms]![Date3]![BeginningDate] And [Forms]![Date3]!
[EndingDate]
i create form name Date3 with two unbound field
i create report as below :
**** Bal :=DLookUp("[BAL]","[Table1 Query]","[trandate] =#" & Format(
[Forms]![Date3]![BeginningDate],"\#mm/dd/yyyy\#"))
Id TranDate Field A FieldB Balance
i get error in bal field where i marke **** but if i don't put any
statment in criteria row i get value but i need date range is any body have
idea to get value with date range
thanks
i have problem inreport when i use dlookup
As Example:
Table1
Id TranDate FieldA
FieldB
(AutoNumber) Date/Time Currancy Currancy
Now I Create Query as Below
Id TranDate FieldA FieldB Balance
1 9/1/06 100.00 100.00 200.00
Now in criteria row in query i put as below
Is Not Null And Between [Forms]![Date3]![BeginningDate] And [Forms]![Date3]!
[EndingDate]
i create form name Date3 with two unbound field
i create report as below :
**** Bal :=DLookUp("[BAL]","[Table1 Query]","[trandate] =#" & Format(
[Forms]![Date3]![BeginningDate],"\#mm/dd/yyyy\#"))
Id TranDate Field A FieldB Balance
i get error in bal field where i marke **** but if i don't put any
statment in criteria row i get value but i need date range is any body have
idea to get value with date range
thanks