I am following Mr David's post: VBA – Calling a Report using Visual Basic for Applications, to call a cashbook management report CB_Payments_Report and to pass in a restriction, using VBA as follow:
Commands = Commands & " with restriction 'Check Number' of table CB_Payments_Report = "my check number"
but is receiving error unknown identifier CB_Payments_Report
it seems that it is not able to reference to table CB_Payments_Report
any help will be much appreciated.
thanks in advance.