FractalWalk
Technical User
I am trying to join two tables in an update query by matching 5 fields. The problem is that one of the fields is allowed to be blank, but I still need to match on it when the field is blank in both tables. Currently my query will not recognize a blank field match as a match.
Here is the SQL showing the 5 fields joined. How can I get a blank match to be recognized?
UPDATE [A]
INNER JOIN ON ([A].Date = .Date) AND ([A].[Band] = .[Band]) AND ([A].Company = .Company) AND ([A].State = .State) AND ([A].[SAE Suffix] = .[SAE Suffix]) AND ([A].[SAE Root] = .[SAE Root])
SET [A].Qty = !Qty;
Here is the SQL showing the 5 fields joined. How can I get a blank match to be recognized?
UPDATE [A]
INNER JOIN ON ([A].Date = .Date) AND ([A].[Band] = .[Band]) AND ([A].Company = .Company) AND ([A].State = .State) AND ([A].[SAE Suffix] = .[SAE Suffix]) AND ([A].[SAE Root] = .[SAE Root])
SET [A].Qty = !Qty;