MichaelRo1
MIS
I always assumed that in Access when you join a field only exact matches return (Unless you change the Join Type obviously!!)
However when I joined two tables I got unexpected results.
So after running a quick test, I'm even more confused.
Access matches even if there are trailing spaces (White?) after Text.
Eg Table 1 containing Data "A", "A " & "A " linked to a 'lookup Table' with only "A" in it you would expect only 1 record to be returned - But all 3 come back????
Am I being a bit simple or am I missing something?
PS: I realise you cannot manually enter the data as in my above example as Access automatically truncates the text - But if you paste or import via excel it will accept them.
However when I joined two tables I got unexpected results.
So after running a quick test, I'm even more confused.
Access matches even if there are trailing spaces (White?) after Text.
Eg Table 1 containing Data "A", "A " & "A " linked to a 'lookup Table' with only "A" in it you would expect only 1 record to be returned - But all 3 come back????
Am I being a bit simple or am I missing something?
PS: I realise you cannot manually enter the data as in my above example as Access automatically truncates the text - But if you paste or import via excel it will accept them.