C
ChuckW
Hi,
I have a form for inputting data which includes text
boxes for the StartDate, EndDate and CustomerName, number
of new customer and number of existing customers. The
form is based on a query called PotentialRevenueQuery
which is based on a table called PotentialRevenue. Sales
reps will input the values for these five things and the
data will be stored in this table PotentialRevenue
table.
What I want to run a query against a transactional table
using the start and end date and CustomerName values.
There is a transactional table with fields that include
CustomerName, TxnDate and Amount. CustomerName will only
appear once in my PotentialRevenue table. Is there a way
to write a query that takes values from my potential
revenue table and then runs a query against the
transactional table. The criteria for the TxnDate would
be "between PotentialRevenue.StartDate and
PotentialRevenue.EndDate". My goal is to ultimately have
a query that contains CustomerName, StartDate, EndDate,
PotentialRevenue, AcutalRevenue and RevenueGap.
Any help would be appreciated.
Thanks,
Chuck
I have a form for inputting data which includes text
boxes for the StartDate, EndDate and CustomerName, number
of new customer and number of existing customers. The
form is based on a query called PotentialRevenueQuery
which is based on a table called PotentialRevenue. Sales
reps will input the values for these five things and the
data will be stored in this table PotentialRevenue
table.
What I want to run a query against a transactional table
using the start and end date and CustomerName values.
There is a transactional table with fields that include
CustomerName, TxnDate and Amount. CustomerName will only
appear once in my PotentialRevenue table. Is there a way
to write a query that takes values from my potential
revenue table and then runs a query against the
transactional table. The criteria for the TxnDate would
be "between PotentialRevenue.StartDate and
PotentialRevenue.EndDate". My goal is to ultimately have
a query that contains CustomerName, StartDate, EndDate,
PotentialRevenue, AcutalRevenue and RevenueGap.
Any help would be appreciated.
Thanks,
Chuck