I probably have the syntax off but, I am trying to figure out the best way to have a query look within the data it is using and pull the data relating to multiple fields without doing a traditional join.
DLookup seems to be the function I would need to use to do. I want to make sure all the existing data remains intact and if a field just doesn't have the field then for it populate a blank. As most of this is from financial data I am using P&Ls and the basic function structure of
DLookup("[Q1Actuals]","[Actuals]","Criteria")
Problem is I don't know how to get the multiple criteria to be populated. I understand for the first set I would use "[Account] = 'Total Sales'" if it was just the one but, as this is pulling from a table that combines multiple P&Ls into one master table, I can't get it to also take into account the different account IDs. Please help.
Thanks in advance...
DLookup seems to be the function I would need to use to do. I want to make sure all the existing data remains intact and if a field just doesn't have the field then for it populate a blank. As most of this is from financial data I am using P&Ls and the basic function structure of
DLookup("[Q1Actuals]","[Actuals]","Criteria")
Problem is I don't know how to get the multiple criteria to be populated. I understand for the first set I would use "[Account] = 'Total Sales'" if it was just the one but, as this is pulling from a table that combines multiple P&Ls into one master table, I can't get it to also take into account the different account IDs. Please help.
Thanks in advance...