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

Same field on two tables, merge into one field on report 1

Status
Not open for further replies.

CrystalUser90

IS-IT--Management
Nov 22, 2019
2
CA
Hi there,

I am trying to select data from two different tables. Both tables have a field called 'Posting Group', one table is the sales table and the other is the returns table.

How do I set up a common field on the report that will select the value from table 'sales', and then if there is no values in 'sales' select the value from the same named field in table 'returns'.

Thanks in advance!
 
I think you could create a formula something like:
{@FormulaName}
If isnull({sales.FieldName})=TRUE
then {returns.FieldName}
else {sales.FieldName}
 
Thank you so much fisheromacse!!

I've been trying variations of that for days and couldn't get it right! That worked!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top