I am trying to break up a single table database into a normalized one.
The current table1 [vehicles] has several text fields that I want to append to a new table, table3.
I created an example of what I am attempting to do by creating table2 [tblLocations] with two fields, Location and LocationID.
For the criteria, I want to identify the Like (*) of [Seiz_Loc] and [Location] where the first three letters match.
In my head I would build this:
Exp1: Like Left([vehicles].[Seiz_Loc],3) = Left([tblLocation].[Locations],3)
Is it possible to link the data from table1 and table2, via text fields, and append the LocationID of table2 based on the first 3 letters?
TextField: Seiz_Loc, Location
AutoNumber: LocationID
Thank you in advance
Edit: I made this expression but when I go to the datasheet view I get #Error
The current table1 [vehicles] has several text fields that I want to append to a new table, table3.
I created an example of what I am attempting to do by creating table2 [tblLocations] with two fields, Location and LocationID.
For the criteria, I want to identify the Like (*) of [Seiz_Loc] and [Location] where the first three letters match.
In my head I would build this:
Exp1: Like Left([vehicles].[Seiz_Loc],3) = Left([tblLocation].[Locations],3)
Is it possible to link the data from table1 and table2, via text fields, and append the LocationID of table2 based on the first 3 letters?
TextField: Seiz_Loc, Location
AutoNumber: LocationID
Thank you in advance
Edit: I made this expression but when I go to the datasheet view I get #Error
Code:
Exp1: Left([vehicles.Seiz_Loc],3=Left([tblLocation].[Location],3))
Attachments
Last edited: