o wow thank you Guys!!!! i understand!!!!
this is very nice method. So plog you are not recommending to update table like i did just create matching keys, and the The_Doc_Man is recommending to do update to some specific values?
Ooo this is the tip. So while creating tables the most important thing is to create Index and if you have index you can use statement " FROM A JOIN B on A.X = B.X " instead of left join with WHERE clause? So where statememrnt and leftjoin will be much more slower then " FROM A JOIN B on A.X = B.X " with index unique fields? The_Doc_Man so if you have no index and will use this relation scan method you will update still the tables to avoid nulls?
Best Wishes,
Jacek
If you have a muItiple fields that may be null and you want to be able to match on them all together at once, you should not first UPDATE the Nulls to an out of range value, instead you should make a query and create a calculated field that creates a matching string. To match Table1 and Table2 like you want you should first make 2 queries:
this is very nice method. So plog you are not recommending to update table like i did just create matching keys, and the The_Doc_Man is recommending to do update to some specific values?
The difference is that using a JOIN, you MUST have an index on whichever table is the ONE side of a ONE/MANY relationship, and Access will use that fact to make a faster combination set. If you have no unique index on the ONE side of the relationship then you have to use the WHERE clause to do what is called a relation scan, which is terribly slow - and perhaps slightly more likely to introduce bloat in the FE file.
Ooo this is the tip. So while creating tables the most important thing is to create Index and if you have index you can use statement " FROM A JOIN B on A.X = B.X " instead of left join with WHERE clause? So where statememrnt and leftjoin will be much more slower then " FROM A JOIN B on A.X = B.X " with index unique fields? The_Doc_Man so if you have no index and will use this relation scan method you will update still the tables to avoid nulls?
Best Wishes,
Jacek