F
FrankTimJr
I have two different questions, but all related to the same continuous form.
1 - I'm creating a database that tracks pending orders (orders not yet
billed) as well as completed orders (orders billed). I want to create a
form that calculates both the pending orders separate from the completed
orders, with a subtotal between pending and completed. Basically it would
look something like this:
(Order Type is the category set by the user, the default of course is
Pending and when the order is billed, the user will change the Order Type to
"Billed".)
Order Type: Revenue
Pending Orders (Jan): $1,000
Pending Orders (Feb): $1,000
Pending Orders (Mar): $1,000
Total Pending Orders: $3,000 (a sum of the three months)
Billed Orders: $2,000
Total Pending + Total Billed: $5,000
The Revenue for both Pending AND Billed Orders is the same field called
"Revenue". If I create a text box and add a formula, it's going to add both
the Pending AND Billed together and I want to separate them, THEN a grand
total of both categories.
2 - I want to be able to calculate a "Revenue Target" against the "Total
Pending + Total Billed" which would look something like this (a continuation
of the above layout):
Total Pending + Total Billed: $5,000
Revenue Target: $8,000
Revenue Gap: $3,000 (Total Pending + Total Billed) minus Revenue Target
The roadblock I'm running into is, the Revenue Target is not linked to the
main query the form is linked to, so how can I add a control to a form that
isn't linked? I could add an unbound control, but then the user would have
to enter the Revenue Target every time the form is opened since there is no
way to "save" the value entered into the unbound control unless there is a
way to change the defaultvalue of the unbound control.
Any help would be MOST appreciated.
Thanks,
Frank
1 - I'm creating a database that tracks pending orders (orders not yet
billed) as well as completed orders (orders billed). I want to create a
form that calculates both the pending orders separate from the completed
orders, with a subtotal between pending and completed. Basically it would
look something like this:
(Order Type is the category set by the user, the default of course is
Pending and when the order is billed, the user will change the Order Type to
"Billed".)
Order Type: Revenue
Pending Orders (Jan): $1,000
Pending Orders (Feb): $1,000
Pending Orders (Mar): $1,000
Total Pending Orders: $3,000 (a sum of the three months)
Billed Orders: $2,000
Total Pending + Total Billed: $5,000
The Revenue for both Pending AND Billed Orders is the same field called
"Revenue". If I create a text box and add a formula, it's going to add both
the Pending AND Billed together and I want to separate them, THEN a grand
total of both categories.
2 - I want to be able to calculate a "Revenue Target" against the "Total
Pending + Total Billed" which would look something like this (a continuation
of the above layout):
Total Pending + Total Billed: $5,000
Revenue Target: $8,000
Revenue Gap: $3,000 (Total Pending + Total Billed) minus Revenue Target
The roadblock I'm running into is, the Revenue Target is not linked to the
main query the form is linked to, so how can I add a control to a form that
isn't linked? I could add an unbound control, but then the user would have
to enter the Revenue Target every time the form is opened since there is no
way to "save" the value entered into the unbound control unless there is a
way to change the defaultvalue of the unbound control.
Any help would be MOST appreciated.
Thanks,
Frank