
Originally Posted by
Ajax
in a query left join table 3 to tables 1 and 2 on name
calculated value would be switch(nz(table1.name,"")<>"","X",nz(table2.name," ")<>"","Y",True,"not found")
note that options for calculated values in tables are very limited, certainly what you require cannot be done in a table, only in a query
you can apply the above formula to the controlsource of a form or report control or simply include in the form/report recordsource. As a controlsource your form/report recordsource would need to include table1.name and table2.name. As part of the recordsource you would just need to bring through the formula result