954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help in Acces Database

Hello to everyone !!!

I have a problem with a tabels in Acces.

Im making a software for minimarket and i have 2 tabels...

First Table :
Articles(IDART,NAMEART,PRICEART)

SeconTable :

Statistic(IDART,NAMEART,AMOUNT,PRICEART,DATE)

My problem is this :

When i'll put the ID of Article (IDART) in table Statistics then the name and price of that article i want to show them automatically in table statistic...

I hope, i was clear.

Can anyone hel me ????

follow33
Newbie Poster
7 posts since May 2009
Reputation Points: 10
Solved Threads: 0
 

Hello to everyone !!!

I have a problem with a tabels in Acces.

Im making a software for minimarket and i have 2 tabels...

First Table : Articles(IDART,NAMEART,PRICEART)

SeconTable :

Statistic(IDART,NAMEART,AMOUNT,PRICEART,DATE)

My problem is this :

When i'll put the ID of Article (IDART) in table Statistics then the name and price of that article i want to show them automatically in table statistic...

I hope, i was clear.

Can anyone hel me ????

Your tables shows that you are not good to design a database. However, you should fetch a relative record from table Articles of given IDART and store values (NAMEART,PRICEART) into two variables say mNAMEART, mPRICEART.

Use values of these variables; mNAMEART and mPRICEART to add (insert) a record into the table Statistic.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You