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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicates... err... annoying.. Help

Status
Not open for further replies.

Palern

Instructor
Jan 27, 2001
1
NO
Okay here is my PROBLEM:

I've been making an access database for a friend of mine. He is gonna use the database in his store, mainly for registering customers and what they buy..

I have made a scheme consisting of Customer info etc. and a part-scheme were the goods are to be registered. I also need date to be in my part-scheme for later reports.
Each item in the store got its own item number. this is were the problem occurs. I need to be allowed to register the products (same item numbers) several times, but I cant because of duplicates.. I've tried to change the index options in the table, but it wont let me as I cant change it as long as it is primary key :-(

Pls. I need help
 
You need to keep the items sold in a separate table. ie

Item, quantity, price, cutstomer, date, id.

item = item #
price = price at time of sale
customer = cust#
date = date of sale
id = transaction # (key field) (auto number)

this way you have your cust# and item# numbers unique.


Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top