M
Melynda E.
I know there are records that should append, but they aren't being added to
the table. I've checked the properties of all fields in both tables to make
certain if required data is present. Any advice?
INSERT INTO [Chart Pull - Requests] ( [Rx Refill ID], Requestor, [Date],
[Time], Physician, [Patient Name], [Patient DOB], [Patient MRN], [Physician
Team], [MR Notes], [Chart Pull Complete], [Chart Pull Request Date/Time] )
SELECT [Refill Request].[Refill Request ID], [Refill Request].[Staff Name],
[Refill Request].Date, [Refill Request].Time, [Refill Request].Physician,
[Refill Request].[Patient Name], [Refill Request].[Patient DOB], [Refill
Request].[Patient MRN], Physicians.Refills, [Refill Request].[MR Notes],
[Refill Request].[Chart Pull Complete], [Refill Request].[Chart Pull Request
Date/Time]
FROM ([Refill Request] INNER JOIN [Chart Pull - Requests] AS CPR ON [Refill
Request].[Refill Request ID]=CPR.[Rx Refill ID]) INNER JOIN Physicians ON
[Refill Request].Physician=Physicians.Physician
WHERE (((CPR.[Rx Refill ID]) Is Null));
the table. I've checked the properties of all fields in both tables to make
certain if required data is present. Any advice?
INSERT INTO [Chart Pull - Requests] ( [Rx Refill ID], Requestor, [Date],
[Time], Physician, [Patient Name], [Patient DOB], [Patient MRN], [Physician
Team], [MR Notes], [Chart Pull Complete], [Chart Pull Request Date/Time] )
SELECT [Refill Request].[Refill Request ID], [Refill Request].[Staff Name],
[Refill Request].Date, [Refill Request].Time, [Refill Request].Physician,
[Refill Request].[Patient Name], [Refill Request].[Patient DOB], [Refill
Request].[Patient MRN], Physicians.Refills, [Refill Request].[MR Notes],
[Refill Request].[Chart Pull Complete], [Refill Request].[Chart Pull Request
Date/Time]
FROM ([Refill Request] INNER JOIN [Chart Pull - Requests] AS CPR ON [Refill
Request].[Refill Request ID]=CPR.[Rx Refill ID]) INNER JOIN Physicians ON
[Refill Request].Physician=Physicians.Physician
WHERE (((CPR.[Rx Refill ID]) Is Null));