Hello,
I am trying to run a COMAPI query on order entry, although I keep getting a criteria error.
Could someone please provide the correct syntax for browsing the data without a blank lastinvnum field.
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!
I am trying to run a COMAPI query on order entry, although I keep getting a criteria error.
Code:
OEORDD.Browse "ORDUNIQ = " & OEORDH.Fields("ORDUNIQ").Value & " AND QTYBACKORD > 0 AND LASTINVNUM <> """"", True
Could someone please provide the correct syntax for browsing the data without a blank lastinvnum field.
Thanks.
If at first you don't succeed, then sky diving wasn't meant for you!