Updating Table in Access

t406jaw

Board Regular
Joined
Oct 20, 2002
Messages
148
Is it possible to have a table which updates in access.

I am doing a database for a local football team, and I want to have a table that updates when I enter in the league results.

Can it be done with an update query??

Any suggestions?
:rolleyes: :rolleyes: :rolleyes:
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
He is some example data if it helps

Teams

1.Wirral Eagles
2.Upton JFC
3.Newton Athletic
4.Chrisleton New Scene

MatchDay Team 1 Team 2 Score
1 Wirral Eagles Upton JFC 2-1
1

Table would then read

Position Played Won Drawn Lost GF GA GD
1 1 1 0 0 2 1 +1
2
3
4 1 0 0 1 1 2 -1
 
Upvote 0
You could use an append query - update queries update the existing records. Both might be necessary depending on what exactly you are doing.
Technique could be to write new events to a temporary table until you click a form button, at which point it 1) adds it to the master table and 2) deletes it from the temporary table.

Code:
INSERT INTO tblName2 SELECT * FROM tblName1;

Mike
 
Upvote 0

Forum statistics

Threads
1,221,590
Messages
6,160,668
Members
451,662
Latest member
reelspike

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top