G
Guest
I want a command button on an orders form to preview the invoice report for
just that specific order. Using the cmd button wizard I get a button that
opens ALL invoices.
I tried adapting code (along with a new qryInvoiceFilter query) modelled on
the Print Invoice cmd button on the Northwind Orders form, but to no avail. I
got a Compile Error "Variable not defined" which highlighted
"QryInvoiceFilter" in the code.
All I know about VBA is what I'm finding out by trial and error, and I don't
really know what to try next. I could post the offending code if that would
help.
just that specific order. Using the cmd button wizard I get a button that
opens ALL invoices.
I tried adapting code (along with a new qryInvoiceFilter query) modelled on
the Print Invoice cmd button on the Northwind Orders form, but to no avail. I
got a Compile Error "Variable not defined" which highlighted
"QryInvoiceFilter" in the code.
All I know about VBA is what I'm finding out by trial and error, and I don't
really know what to try next. I could post the offending code if that would
help.