New to access Create Table

yschuerm

New Member
Joined
Jun 18, 2015
Messages
14
Hi,

I have got 2 tables and how can I fill one table with values from the other.

Table 1 :

ArtNR
ArtDescription
Source (to be filled with sourcedescription from table 2)


Table 2 :
SourcePK
SourceDescription


What type of field does Table1.Source need to be (it needs to contain table2.SourceDescription, but I think I need to compare it to table2.sourcePK to get it filled)
Table1 data will be filled as a bulk import and from then on using a userform.


I have excel and vba experience, but access has just been to long since I used it.
Thanks in advance
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
It needs to be the same type of field that table2.SourceDescription is, which I assume is Text.

Your task can't be completed with the fields you have available, because you have not created a relationship between ArtNR and any type of Source. For this to work, your Table 1 should have a field for SourcePK right now, before you even started working on this current question.

Is there another table that relates ArtNR to SourcePK somewhere?
 
Upvote 0
yschuerm, I suspect you are quite familiar with spreadsheets, but they are nothing like database tables in spite of their appearance. ChrisM uses the words "relationships" and "relates" for a good reason. "it needs to contain table2.SourceDescription" - actually, it should not.
I get the impression that you really should research "relational database" for some primers on how to set up your tables (no disrespect intended).
 
Upvote 0

Forum statistics

Threads
1,221,851
Messages
6,162,429
Members
451,765
Latest member
craigvan888

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