MLDev
MLDev

Reputation: 1277

Access, Controls, #Name

I have an Access database with the following tables:

Each of these tables have these 2 fields

I have a form with 2 text box controls: enter image description here

What I'm trying to do is to get the first text box to display "field 1 from table 1" and the second text box to get "Field 1 from table 2". Using the following expression as the control source will only return "field 1 from table 1":

Field1

Using the following expressions will result in the value "#Name?" to be displayed:

[Table2]![Field1] 
[Table2].[Field1] 
=[Table2]![Field1] 
=[Table2].[Field1] 

Any ideas?

Upvotes: 0

Views: 43

Answers (1)

MLDev
MLDev

Reputation: 1277

ok just realized a table can only get data from one table only. In order to achieve this I would need to use queries to join the tables

Upvotes: 0

Related Questions