My order management database project continues...everyone here has been helpful thus far so I'll go searching for more assistance...
Is there a way to have Access create a schedule of orders if I input the general parameters, i.e.:
TransactionID: <Autonumber>
Start Date: 1/1/04
End Date: 12/31/04
Maximum Shares: 12,000
Order Frequency: Monthly on the X day of the month
<Frequency> quantity: 1,000 shares
Price: $50.00
Essentially I would want to input the data above and have a separate table populate each individual trade as follows:
TransactionID OrderDate EndDate Quantity Price
22 1/1/04 12/31/04 1,000 $50.00
23 2/1/04 12/31/04 1,000 $50.00
24 3/1/04 12/31/04 1,000 $50.00
25 4/1/04 12/31/04 1,000 $50.00
etc....
Also hoping to build in logic that checks the order date to make sure it falls on a weekday. if it happen to be a saturday, then add 2 days, if a sunday then add 1 day.
Any thoughts on how to do this? I've got a framework set but don't know how to program the user-entered parameters to make the order auto-populate into an 'Orders' table/form.
Thanks!
Is there a way to have Access create a schedule of orders if I input the general parameters, i.e.:
TransactionID: <Autonumber>
Start Date: 1/1/04
End Date: 12/31/04
Maximum Shares: 12,000
Order Frequency: Monthly on the X day of the month
<Frequency> quantity: 1,000 shares
Price: $50.00
Essentially I would want to input the data above and have a separate table populate each individual trade as follows:
TransactionID OrderDate EndDate Quantity Price
22 1/1/04 12/31/04 1,000 $50.00
23 2/1/04 12/31/04 1,000 $50.00
24 3/1/04 12/31/04 1,000 $50.00
25 4/1/04 12/31/04 1,000 $50.00
etc....
Also hoping to build in logic that checks the order date to make sure it falls on a weekday. if it happen to be a saturday, then add 2 days, if a sunday then add 1 day.
Any thoughts on how to do this? I've got a framework set but don't know how to program the user-entered parameters to make the order auto-populate into an 'Orders' table/form.
Thanks!