R
Red via AccessMonster.com
Good day everyone,
I have an append query that is mis-behaving. When I view the query it shows
the correct records that should append but when I actually run the query,
nothing happens. I dont get the append warning- nothing happens. I have
included my sql for your reference. What I can't figure out is why I can see
the data when I view the query and the data is there but won't run. Any help
will be greatly appreciated.
INSERT INTO [Basic Patient Data] ( [Pat SSN], [Last Name], [First Name],
Branch, Rank, [Email Work], [Work Phone], [Unit Assigned], [Base Assigned],
Deros )
SELECT [Waiting List Data].[Pat SSN], [Waiting List Data].[Last Name],
[Waiting List Data].[First Name], [Waiting List Data].Branch, [Waiting List
Data].Rank, [Waiting List Data].[Email Work], [Waiting List Data].[Work Phone]
, [Waiting List Data].[Unit Assigned], [Waiting List Data].[Base Assigned],
[Waiting List Data].Deros
FROM [Waiting List Data] LEFT JOIN [Basic Patient Data] ON ([Waiting List
Data].[First Name] = [Basic Patient Data].[First Name]) AND ([Waiting List
Data].[Last Name] = [Basic Patient Data].[Last Name]) AND ([Waiting List Data]
..[Pat SSN] = [Basic Patient Data].[Pat SSN])
WHERE ((([Basic Patient Data].[Pat SSN]) Is Null) AND (([Basic Patient Data].
[Last Name]) Is Null) AND (([Basic Patient Data].[First Name]) Is Null));
VR,
Red
I have an append query that is mis-behaving. When I view the query it shows
the correct records that should append but when I actually run the query,
nothing happens. I dont get the append warning- nothing happens. I have
included my sql for your reference. What I can't figure out is why I can see
the data when I view the query and the data is there but won't run. Any help
will be greatly appreciated.
INSERT INTO [Basic Patient Data] ( [Pat SSN], [Last Name], [First Name],
Branch, Rank, [Email Work], [Work Phone], [Unit Assigned], [Base Assigned],
Deros )
SELECT [Waiting List Data].[Pat SSN], [Waiting List Data].[Last Name],
[Waiting List Data].[First Name], [Waiting List Data].Branch, [Waiting List
Data].Rank, [Waiting List Data].[Email Work], [Waiting List Data].[Work Phone]
, [Waiting List Data].[Unit Assigned], [Waiting List Data].[Base Assigned],
[Waiting List Data].Deros
FROM [Waiting List Data] LEFT JOIN [Basic Patient Data] ON ([Waiting List
Data].[First Name] = [Basic Patient Data].[First Name]) AND ([Waiting List
Data].[Last Name] = [Basic Patient Data].[Last Name]) AND ([Waiting List Data]
..[Pat SSN] = [Basic Patient Data].[Pat SSN])
WHERE ((([Basic Patient Data].[Pat SSN]) Is Null) AND (([Basic Patient Data].
[Last Name]) Is Null) AND (([Basic Patient Data].[First Name]) Is Null));
VR,
Red