If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Form construction
I am trying to construct a form whe
Name, Date, Product, Unit_Price, Qty are entered into a table. However, the amount of products that people order are in the tens and twenties so I don't want to keep re-entering the name everytime I enter a new product. Is there a way to create a form where you can enter the name, date, and product, like this: name, date product product product and have the resulting row in a table that looks like: name, date, product name, date, product name, date, product please advise. |
#2
|
|||
|
|||
Form construction
Your database design is seriously flawed. You can do this fairly
easily in a properly designed database. Musicman wrote: I am trying to construct a form whe Name, Date, Product, Unit_Price, Qty are entered into a table. However, the amount of products that people order are in the tens and twenties so I don't want to keep re-entering the name everytime I enter a new product. Is there a way to create a form where you can enter the name, date, and product, like this: name, date product product product and have the resulting row in a table that looks like: name, date, product name, date, product name, date, product please advise. |
#3
|
|||
|
|||
Form construction
ok. so what should I change.
"ManningFan" wrote: Your database design is seriously flawed. You can do this fairly easily in a properly designed database. Musicman wrote: I am trying to construct a form whe Name, Date, Product, Unit_Price, Qty are entered into a table. However, the amount of products that people order are in the tens and twenties so I don't want to keep re-entering the name everytime I enter a new product. Is there a way to create a form where you can enter the name, date, and product, like this: name, date product product product and have the resulting row in a table that looks like: name, date, product name, date, product name, date, product please advise. |
#4
|
|||
|
|||
Form construction
You should use one table for Customers (CustomerID, CustomerName), one
table for Products (ProductID, ProductName, Price) and one for Transactions (TransID *should be an AutoNumber field*, TransDate, CustomerID, ProductID, Quantity). You can use a continuous form as a subform to allow multiple entries directly into the Transactions table, and display the CustomerName on the main form (link the parent/child forms by CustomerID). There may even be an easier way to design the form, I'm shooting this off the top of my head after a night of heavy drinking. Certainly the database layout I've suggested is more stable and allows for expansion. Musicman wrote: ok. so what should I change. "ManningFan" wrote: Your database design is seriously flawed. You can do this fairly easily in a properly designed database. Musicman wrote: I am trying to construct a form whe Name, Date, Product, Unit_Price, Qty are entered into a table. However, the amount of products that people order are in the tens and twenties so I don't want to keep re-entering the name everytime I enter a new product. Is there a way to create a form where you can enter the name, date, and product, like this: name, date product product product and have the resulting row in a table that looks like: name, date, product name, date, product name, date, product please advise. |
#5
|
|||
|
|||
Form construction
thank you, that makes sense and is very helpful.
"ManningFan" wrote: You should use one table for Customers (CustomerID, CustomerName), one table for Products (ProductID, ProductName, Price) and one for Transactions (TransID *should be an AutoNumber field*, TransDate, CustomerID, ProductID, Quantity). You can use a continuous form as a subform to allow multiple entries directly into the Transactions table, and display the CustomerName on the main form (link the parent/child forms by CustomerID). There may even be an easier way to design the form, I'm shooting this off the top of my head after a night of heavy drinking. Certainly the database layout I've suggested is more stable and allows for expansion. Musicman wrote: ok. so what should I change. "ManningFan" wrote: Your database design is seriously flawed. You can do this fairly easily in a properly designed database. Musicman wrote: I am trying to construct a form whe Name, Date, Product, Unit_Price, Qty are entered into a table. However, the amount of products that people order are in the tens and twenties so I don't want to keep re-entering the name everytime I enter a new product. Is there a way to create a form where you can enter the name, date, and product, like this: name, date product product product and have the resulting row in a table that looks like: name, date, product name, date, product name, date, product please advise. |
Thread Tools | |
Display Modes | |
|
|