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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need formula to retrieve field that may be blank or not

Status
Not open for further replies.

jlr123

Technical User
Feb 24, 2014
117
US
I need a better formula- Need to pull all data for those Ship Names that have items sold whether the items have serial nos or not.

The formula I have now:
IF isnull({AR_InvoiceHistoryLotSerial.LotSerialNo}) THEN "" ELSE {AR_InvoiceHistoryLotSerial.LotSerialNo}
Can you tell me what could be incorrect?

The rest of the data is:
Ship Name, Address, City, State, Zip, Qty,Vendor No, Item No, Serial No,(serial no if there is one)and unit price
 
It will not pull the data that has no serial number.
 
I found my error was that I had an incorrect join between my tables. I had to select a left outer join from InvoicehistorylotserialNo to InvoiceHistoryDetail. Yea!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top