martinbanks
Registered User.
- Local time
- Today, 07:57
- Joined
- Nov 8, 2010
- Messages
- 11
I am creating an order entry system and am having a few hiccups/complaints. I am very new to Access (about 2-3 months experience) so don't know many of the possible solutions I could explore, so I'm really just looking for points in the right direction, I don't expect anyone to write my database for me
I have created a form for the entry of an order, on which it currently holds up to 9 product options, of which each product can have up to 10 variations. To explain; it is foam cutting for settee parts, so a product can have for example a chair, 2seater, 3 seater, footstool etc as some of it's variants. (Ideally, I will up it to about 20 product options once I have ironed out other wrinkles, but for now 9 is working ok.)
This form has an Order Number text box, and has combo boxes to select a customer which narrows down the 9 product combo boxes to just that customer's products. Then once a product is chosen it fills in the (up to) 10 variants next to text boxes where the staff will fill in the amount ordered.
Then a button at the bottom is clicked once the order is all inputted, which runs 9 append queries, one for each product, that add to 'tblOrders' the product details and the order number. Finally, it also runs a select query on 'tblOrders' and outputs it in a form which displays the items needed to be cut to make up the order.
Most of what I need to do now is formatting/tidying up work, the first of which is what I am asking for help with here;
Each product will comprise of a number of different foams. I need each foam to be in a separate box, or be split up and headed in some way. At present it is a continuous form which in design view has only one line. The query sorts the items by 'FoamGrade', so they are all together.
Do I need VBA code or a formula or other, to get it to see that the entry in the 'FoamGrade' field has changed, insert a blank line and put that foam grade as a sort of header? (I will then hide the 'FoamGrade' field on the form as it will be redundant.)
I have created a form for the entry of an order, on which it currently holds up to 9 product options, of which each product can have up to 10 variations. To explain; it is foam cutting for settee parts, so a product can have for example a chair, 2seater, 3 seater, footstool etc as some of it's variants. (Ideally, I will up it to about 20 product options once I have ironed out other wrinkles, but for now 9 is working ok.)
This form has an Order Number text box, and has combo boxes to select a customer which narrows down the 9 product combo boxes to just that customer's products. Then once a product is chosen it fills in the (up to) 10 variants next to text boxes where the staff will fill in the amount ordered.
Then a button at the bottom is clicked once the order is all inputted, which runs 9 append queries, one for each product, that add to 'tblOrders' the product details and the order number. Finally, it also runs a select query on 'tblOrders' and outputs it in a form which displays the items needed to be cut to make up the order.
Most of what I need to do now is formatting/tidying up work, the first of which is what I am asking for help with here;
Each product will comprise of a number of different foams. I need each foam to be in a separate box, or be split up and headed in some way. At present it is a continuous form which in design view has only one line. The query sorts the items by 'FoamGrade', so they are all together.
Do I need VBA code or a formula or other, to get it to see that the entry in the 'FoamGrade' field has changed, insert a blank line and put that foam grade as a sort of header? (I will then hide the 'FoamGrade' field on the form as it will be redundant.)