hi all, i want to create report from one date in form by vba, but its not working :
Dim FromDate As String
FromDate = "1368/10/27"
DoCmd.OpenReport "Project", acViewReport, , "[Date2]= #" & Format(FromDate, "yyyy/mm/dd") & "#"
[Date2] field is Short Text type.
can someone provide the correct method to use??
(Sorry for my poor english)