G
Guest
Hi All
We need to create new records in our 'Orders' table which consists of:
OrderID
CustomerID (linked to 'Customers' table)
DetailID (linked to 'OrderDetails' table which holds all products in an order)
...other various fields.
Traditionaly and very simply we could use a form based on the 'Orders' table, and because of the database relationships the ID fields would link to their corresponding tables to provide an appropriate value to complete the record.
However we're looking to achieve an "Order Entry" form differently:
To complete each field of the new record we would like a seperate form as if it was like a wizard.
1st Page - "Select Customer:" (form based on 'Customers' table as you navigate through customers)
2nd Page - "Select Products:" (form based on 'Products' table as you navigate through products and add to order as you go)
3rd Page - completes other various fields for the new record in the 'Orders' table (e.g. 'Date', 'OrderMethod', 'PaymentMethod', etc.)
Anyone have any hints as to how we can achieve this?
The initial idea we had was to create a duplicate table of the 'Orders' and 'OrderDetails' table which would only hold 1 record at a time, i.e. the new order. And with these tables the wizard forms would update the blank record inside with the ID values left on the form after navigatating through the possible records, i.e. 'CustomerID' & 'ProductID's, and eventually transfering this record into the primary 'Orders' and 'OrderDetails' tables clearing the duplicate tables after.
This made sense in theory but technically we couldn't accomplish it.
Anyone have any other ideas or guidance towards ours?
Please be advised that with regards to VBA & SQL we only have a working knowledge, and are new to most functions.
Your help would be very much appreciated. Thank you.
We need to create new records in our 'Orders' table which consists of:
OrderID
CustomerID (linked to 'Customers' table)
DetailID (linked to 'OrderDetails' table which holds all products in an order)
...other various fields.
Traditionaly and very simply we could use a form based on the 'Orders' table, and because of the database relationships the ID fields would link to their corresponding tables to provide an appropriate value to complete the record.
However we're looking to achieve an "Order Entry" form differently:
To complete each field of the new record we would like a seperate form as if it was like a wizard.
1st Page - "Select Customer:" (form based on 'Customers' table as you navigate through customers)
2nd Page - "Select Products:" (form based on 'Products' table as you navigate through products and add to order as you go)
3rd Page - completes other various fields for the new record in the 'Orders' table (e.g. 'Date', 'OrderMethod', 'PaymentMethod', etc.)
Anyone have any hints as to how we can achieve this?
The initial idea we had was to create a duplicate table of the 'Orders' and 'OrderDetails' table which would only hold 1 record at a time, i.e. the new order. And with these tables the wizard forms would update the blank record inside with the ID values left on the form after navigatating through the possible records, i.e. 'CustomerID' & 'ProductID's, and eventually transfering this record into the primary 'Orders' and 'OrderDetails' tables clearing the duplicate tables after.
This made sense in theory but technically we couldn't accomplish it.
Anyone have any other ideas or guidance towards ours?
Please be advised that with regards to VBA & SQL we only have a working knowledge, and are new to most functions.
Your help would be very much appreciated. Thank you.