A
awinnn
Hi,
I have txtAssetType, txtStartDate and txtEndDate on the form. I wan
user to select for [Asset Type] and enter start and end date for [Issu
Date]. This is what i've done,
Code
-------------------
Dim bWhereClaus As String
bWhereClaus = "[Asset Type] = '" & Me.txtAssetType & "' and
[Issue Date] BETWEEN #" & Format
(Me.txtStartDate, "mm/dd/yyyy") & "# AND #" & Format
(Me.txtEndDate, "mm/dd/yyyy") & "#"
DoCmd.OpenReport "rptName", PrintMode, , bWhereClaus
-------------------
but..it doesn't work..the report doesn't come out..any idea?
thanx in advance..:
I have txtAssetType, txtStartDate and txtEndDate on the form. I wan
user to select for [Asset Type] and enter start and end date for [Issu
Date]. This is what i've done,
Code
-------------------
Dim bWhereClaus As String
bWhereClaus = "[Asset Type] = '" & Me.txtAssetType & "' and
[Issue Date] BETWEEN #" & Format
(Me.txtStartDate, "mm/dd/yyyy") & "# AND #" & Format
(Me.txtEndDate, "mm/dd/yyyy") & "#"
DoCmd.OpenReport "rptName", PrintMode, , bWhereClaus
-------------------
but..it doesn't work..the report doesn't come out..any idea?
thanx in advance..: