Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tricky Formula (at least for me)

Status
Not open for further replies.

byrne1

Programmer
Aug 7, 2001
415
US
I have three tables that I'm pulling data from: ITEM, ITEMLOC, ITEMLOC2. I want to pull all items from the ITEM table that have QTYONHAND>0 in either the ITEMLOC or ITEMLOC2 table.

So far I have the following record selection criteria (that does not work):

ITEMLOC.QTYONHAND>0 OR ITEMLOC2.QTYONHAND>0

This formula seems to only pull items that have ITEMLOC2.QTYONHAND>0 and I do not know why. The tables have links as follows:

ITEM.ITEMNUM=ITEMLOC.ITEMNUM
ITEM.ITEMNUM=ITEMLOC2.ITEMNUM

I am using CR v10.
 
That did the trick! Thanks for the reminder! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top