I have a report that I'm trying to write with Crystal 7 that needs to look at a history file of shipments and compare them to a database of order numbers. If the shipments file entry does not match an order number, it should be listed on the report.
I can't get it to work and was hoping someone could help. Here's how it's currently set up.
The shipment numbers are in a FoxPro table and sometimes differ from the order numbers in that if there is more than one box, it will be followed by ".01, .02, etc." to indicate the box number. So I have trimmed those off by using {history.pkgid}[1 to 8] (so that the length matches a usual order number of 8 numbers).
The order numbers are in a Btrieve database.
The selection formula is {history.pkgid}[1 to 8]<>{orders.orderno}
The report lists nothing. There are many packages that don't have an actual order number, but this report just isn't finding them. What am I doing wrong?
Any help appreciated!!
I can't get it to work and was hoping someone could help. Here's how it's currently set up.
The shipment numbers are in a FoxPro table and sometimes differ from the order numbers in that if there is more than one box, it will be followed by ".01, .02, etc." to indicate the box number. So I have trimmed those off by using {history.pkgid}[1 to 8] (so that the length matches a usual order number of 8 numbers).
The order numbers are in a Btrieve database.
The selection formula is {history.pkgid}[1 to 8]<>{orders.orderno}
The report lists nothing. There are many packages that don't have an actual order number, but this report just isn't finding them. What am I doing wrong?
Any help appreciated!!