Microsoft
Software
Hardware
Network
Question : Access Report - Where Condition
I'm using Visual Studio 2008 Express and Access 2007. To print Access reports from my VS app I'm using Microsoft.Office.Interop.A
ccess.Appl
ication. I've been successful using this method when the "Where Condition" has been text or numeric, but I'm having difficulty when trying to use a date in the "Where Condition". How do I correctly pass along a DateTimePicker (dtp1) value for a field ProdDate?
Dim AdbSE As New Microsoft.Office.Interop.A
ccess.Appl
ication
AdbSE.OpenCurrentDatabase(
"\\Process
1\db\Main Application.mdb")
AdbSE.DoCmd.OpenReport("rp
tShiftRepo
rt2", AcView.acViewNormal, , "ProdDate=" & dtp1.value)
AdbSE.CloseCurrentDatabase
()
AdbSE.Quit()
Answer : Access Report - Where Condition
open the subform in design view, hit F4
select the Format Tab
Record Selectors NO <<< set to NO
Random Solutions
Computer isn't allowing access anymore
Exchange 2007, how to configure exchange anti-spam to always pass content filtering for several external mail domains
How to Temporarily Disable Terminal Server Client Logons
.htaccess Redirect Folder BUT Keeping Additional Strings / Variables?
Windows XP video doesn't show
How to get CDO.Message working in VBScript on Vista Business
Liveupdate failure
Creating a VMDK from live server
result set count affected
want to call display() to echo