Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fill in the same order number

Status
Not open for further replies.

canett

Technical User
Jan 22, 2006
18
BG
I have a continous form where the first control is orderid.It is based on a query.I want however to add other orders.I can do it, if choose another product from the combo box and write down manually the same order number as the previous ones.Can i do it by a code?
For example the first line in my form reads
orderid product
1 productOne
If i choose ProductTwofrom the combo box, the control OrderID remains blank.I have to write down the number 1 and then Access accepts my edit.
Can somebody help me ?
 
You should have a master-detail form structute to do that. connect them with orderID. See northwind sample db for more info

________________________________________________________
Zameer Abdulla
Help to find Missing people
Even a thief takes ten years to learn his trade.
 
How are ya canett . . .

Be sure you fully understand the following and you'll save yourself alot of trouble:

Fundamentals of Relational Database Design

Normalizing Tables

Table Relationships

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top