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
output report with date and time stamp
asp.net - Is there anyway that you can detect that a label evals to nothing and trigger an event to alert the user that they need do something.
Return message from class
Have vbs script pull computer names from a file then run
MS Access / VBA: How to do a fuzzy compare of strings. (finding name changes)
What do these warnings mean?
iexplore.exe virus
What is the color of a toolstrip in vb.net 2005
what's holding a shrink in log
MS Access 2003 ADP using 2 dependant combo boxes but getting error