J
Johnny Emde
Hej All
I've created an Append Query with params:
INSERT INTO tblDepartments ( DepartmentName, Created, Modified )
SELECT [p_DepartmentName] AS Expr1, Now() AS Expr2, [Expr2] AS Expr3;
I want to du something like this, to awoid creating two equels records:
IF NOT EXISTS ( SELECT * FROM tblDepartments WHERE DepartmentName =
[p_DepartmentName] )
Then do the append.
I that possible within the Query?
Kind regards
Johnny Emde Jensen
I've created an Append Query with params:
INSERT INTO tblDepartments ( DepartmentName, Created, Modified )
SELECT [p_DepartmentName] AS Expr1, Now() AS Expr2, [Expr2] AS Expr3;
I want to du something like this, to awoid creating two equels records:
IF NOT EXISTS ( SELECT * FROM tblDepartments WHERE DepartmentName =
[p_DepartmentName] )
Then do the append.
I that possible within the Query?
Kind regards
Johnny Emde Jensen