Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Help on Datasheet form - More tricky than it sounds

$
0
0
I am trying create an order form that looks like an Excel spreadsheet. The sheet has the following fields(Columns): product no, product name, product category all coming from Products table. Now I want to have more columns that will have :Trays(How many trays of the product is required). Pkts( How many packets required), Notes (Notes on the product).
Once the user enters all the quantities required(There may maybe products that will not be required), this datasheet needs to be save to a OrdersDetails table with OrderID as the reference.
I have a main form with the following fields: OrderID, OrderDate, RequiredDate, ShopName, OrderStatus, OrderNotes that is Orders table. I have the OrderID in Orders table referenced to OrderID in the OrderDetails table.
What I don't know is how to create the Order form in Datasheet view and then to save it to my table OrderDetails.
I know how to use Form Wizard, and to create datasheets, but I am not able to do what I describe above. I am not sure if I will need a combination of VBA and SQl to solve this.
Any help to point me in the right direction will be much appreciated as I have been struggling to get this simple database running.

Viewing all articles
Browse latest Browse all 13329

Trending Articles