我通过访问 2007 创建了一个更新查询,我只是想将空行更新到表中的另一列。
UPDATE DISTINCTROW (ChangeList INNER JOIN (Current_INFO INNER JOIN Master_Database ON
Current_INFO.[HEADER ID] = Master_Database.[HEADER ID]) AND (Current_INFO.[HG ID] = Master_Database.[HG ID])) ON
ChangeList.[ZIP/POSTALCODE] = Master_Database.[ZIP/POSTALCODE]) INNER JOIN ChangeRequest ON
Master_Database.[ZIP/POSTALCODE] = ChangeRequest.[ZIP/POSTALCODE] SET ChangeList.[CHANGE TA TO] = [Master_Database]![TA]
WHERE (((UCase([ACTION]))='UPDATE'));
然而这不起作用,它只返回空值但是如果我将此查询转换为一个简单的选择,我调用 [Master_Database]![TA] 它返回我需要的值。
谁能帮助我。谢谢!