I've set up several tables as follows:
tblTV
AutoNumber (PK)
AgentNumber (FK)
TVBudget ($)
tblRadio
AutoNumber (PK)
AgentNumber (FK)
RadioBudget
tblMaster
AgentNumber (PK)
Agent Name
What I'd like to do is make a query that displays all the agent numbers that have a TVBudget OR a RadioBudget value. There are a lot of AgentNumbers without an associated radio budget or TV budget, and some with both, and some with one, etc. I'm having trouble structuring my query to display both. Is there a way I can make agents with a TV budget but no radio budget have a null value for radio instead of excluding the whole agency in the query? I'm just not sure how to structure this. Thanks for the help!
Jeff
tblTV
AutoNumber (PK)
AgentNumber (FK)
TVBudget ($)
tblRadio
AutoNumber (PK)
AgentNumber (FK)
RadioBudget
tblMaster
AgentNumber (PK)
Agent Name
What I'd like to do is make a query that displays all the agent numbers that have a TVBudget OR a RadioBudget value. There are a lot of AgentNumbers without an associated radio budget or TV budget, and some with both, and some with one, etc. I'm having trouble structuring my query to display both. Is there a way I can make agents with a TV budget but no radio budget have a null value for radio instead of excluding the whole agency in the query? I'm just not sure how to structure this. Thanks for the help!
Jeff