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
How to convert 32 bit website to 64 bit in Visual Studio 2005?
What technology can create such a player?
Cisco Catalyst 2960 Switchs go offline every weekend
The application or DLL C:\WINDOWS\system32\dllhet
up.dll is not a valid windows image. Please check this against your installation diskette.
Using GPP to set unique printers for each user on a Terminal Server
Count total amount with formula
can I move DNS ande DHCP from one SBS domain to another SBS domain
Mofify the query
Difference between # and .
Macbook Pro bluetooth not working anymore