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
Objective-C bizarre non-copile
Link not updating 'Address Bar'
Excel 2007 blank document opens automatically at startup "Book-xlsx [Group]"
Install XAMPP before or after upgrade to Windows 7
exchange 2003 server backup
iPhone and Droid cannot access Exchange on SBS2003
Can't connect to work Exchange from home computer (because of VPN) but Mac can! Help
Installing a new CPU and adding more RAM to PC
What is and how does HP uniform Drivers work?
vmware esxi with server 2008 r2 guest - resize screen