Daniel Rabinovits

Daniel Rabinovits

  • NA
  • 34
  • 6.9k

trying to open an access report from c#

Aug 28 2019 9:27 AM
The report parameter is @Year
 
objAccess.DoCmd.OpenReport (formName, Microsoft.Office.Interop.Access.AcView.acViewReport, OpenArgs:"@Year:2019");
 
The argument doesnt pass the parameter value.
How do I pass 2019 as the parameter value in the statement above? 

Answers (1)