On 2011/03/01 00:28, Markei54545 wrote:

This works..
CrystalReportViewer1.SelectionFormula  = {invoices.invno} = 23087

This doesn't (even though the invoices exist)
CrystalReportViewer1.SelectionFormula  = {invoices.invno} = 23087 OR
{invoices.invno} = 23088 OR {invoices.invno} = 23089

What I am trying to do is pass a list of invoices to the report to
print.

Hope that makes sense.

Try a little judicious use of parentheses :-)

--
Regards,
Mike Fry
Johannesburg

Reply via email to