Okay, I've been printing reports successfully for some time now. I know how to set up the report for printing, and using 'SelectField$', 'SelectFieldValue$', 'Tag$', 'Operand$', 'Value1$' and 'Value2$' to enter the selections... But How can I select two options? Printing Invoices, I want to be able to select a Range of Order Numbers, a specific Customer... oReport.nSetValue("SelectField$", "Order Number") oReport.nSetValue("SelectFieldValue$","Order Number") oReport.nSetValue("Tag$","TABLE=SO_SALESORDERHEADER; COLUMN=SALESORDERNO$") oReport.nSetValue("Operand$","R") oReport.nSetValue("Value1$",StartOrderNo) oReport.nSetValue("Value2$", EndOrderNo") oReport.nWrite() If i repeat the above lines, it will overwrite... how can I set up a 2nd selection group for CustomerNo? The details: Running Sage 100 Advanced 2013. Running this as an external application against 'ProvideX.Script"
↧