B
Barry G. Sumpter
Hi all,
I'm attempting to preview a report using MSAccess Run-Time Only from Visual
Basic 6.
I have report criteria like:
UserName = "Barry"
FromDate = "2003 08 04"
ToDate = "2003 08 04"
strRptName = "Time Card"
strWhere = "UserName = 'Barry' and DateNum >= 37837 and DateNum <= 37844
strFilter = "" 'no filter
intDisplay = acPreview
objAccess.DoCmd.OpenReport strRptName, intDisplay, strFilter, strWhere
On the Time Card report I have a control named "FormattedReportCriteria".
I want to pass my formatted criteria text to the "FormattedReportCriteria"
control (textbox or label):
User: Barry
From: August 4, 2003
To: August 4, 2003
Does anyone know how?
__________________
Thanks,
Barry G. Sumpter
(e-mail address removed)
I'm attempting to preview a report using MSAccess Run-Time Only from Visual
Basic 6.
I have report criteria like:
UserName = "Barry"
FromDate = "2003 08 04"
ToDate = "2003 08 04"
strRptName = "Time Card"
strWhere = "UserName = 'Barry' and DateNum >= 37837 and DateNum <= 37844
strFilter = "" 'no filter
intDisplay = acPreview
objAccess.DoCmd.OpenReport strRptName, intDisplay, strFilter, strWhere
On the Time Card report I have a control named "FormattedReportCriteria".
I want to pass my formatted criteria text to the "FormattedReportCriteria"
control (textbox or label):
User: Barry
From: August 4, 2003
To: August 4, 2003
Does anyone know how?
__________________
Thanks,
Barry G. Sumpter
(e-mail address removed)