L
Leaders01
When I tried to append a table I (Insert Into), I get a get this error
reading, "Microsoft Access can't append all records in the append query...
Microsoft Access set 0 field(s) to Null due to a type conversion failure, and
it didn't add 21 record(s) to the table due to key violations, 0 record(s)
due to lock violations, and 0 record(s) to due to validation rule
violations." I ran the duplicates query as suggested in a previous post and
it does not show any duplicates. I have noticed that the [End Date] column
is not updating correctly. Any ideas on what could be? I've attached SQL
below.
INSERT INTO [Bill after 1st Query] ( [Occ Factor], SqrFeet, [Occ Factor
Rate], [Occ Part of Bill], [SqrFeet Factor], [SqrFeet Part of Bill], [Billing
Fee], [Trash Fee], [Late Fee], Delinquents, [Activation Charge], [Billing
Start], [End Date], [Numof Billing Days], [Unit Number], [Month Code],
[Resident Name], [Billing Address], [Billing City], [Billing State], [Billing
Zip], Duplicates, Adjustments )
SELECT [Water Bill Calcs All One Line].[Occ Factor], [Water Bill Calcs All
One Line].SqrFeet, [Water Bill Calcs All One Line].[Occ Factor Rate], [Water
Bill Calcs All One Line].[Occ Part of Bill], [Water Bill Calcs All One
Line].[SqrFeet Factor], [Water Bill Calcs All One Line].[SqrFeet Part of
Bill], [Water Bill Calcs All One Line].[Billing Fee], [Water Bill Calcs All
One Line].[Trash Fee], [Water Bill Calcs All One Line].[Late Fee], [Water
Bill Calcs All One Line].Delinquents, [Water Bill Calcs All One
Line].[Activation Charge], [Water Bill Calcs All One Line].[Billing Start],
[Water Bill Calcs All One Line].[End Date], [Water Bill Calcs All One
Line].[Numof Billing Days], [Water Bill Calcs All One Line].[Unit Number],
[Water Bill Calcs All One Line].[Month Code], [Data Query].[Resident Name],
[Billing Address].[Billing Address], [Billing Address].[Billing City],
[Billing Address].[Billing State], [Billing Address].[Billing Zip], [Water
Bill Calcs All One Line]![Month Code] & "-" & [Water Bill Calcs All One
Line]![Unit Number] AS Duplicates, 0 AS Adjustments
FROM ([Billing Address] INNER JOIN [Data Query] ON ([Billing Address].[Unit
Number] = [Data Query].[Unit Number]) AND ([Billing Address].[Unit Number] =
[Data Query].[Unit Number])) INNER JOIN [Water Bill Calcs All One Line] ON
[Data Query].[Unit Number] = [Water Bill Calcs All One Line].[Unit Number];
reading, "Microsoft Access can't append all records in the append query...
Microsoft Access set 0 field(s) to Null due to a type conversion failure, and
it didn't add 21 record(s) to the table due to key violations, 0 record(s)
due to lock violations, and 0 record(s) to due to validation rule
violations." I ran the duplicates query as suggested in a previous post and
it does not show any duplicates. I have noticed that the [End Date] column
is not updating correctly. Any ideas on what could be? I've attached SQL
below.
INSERT INTO [Bill after 1st Query] ( [Occ Factor], SqrFeet, [Occ Factor
Rate], [Occ Part of Bill], [SqrFeet Factor], [SqrFeet Part of Bill], [Billing
Fee], [Trash Fee], [Late Fee], Delinquents, [Activation Charge], [Billing
Start], [End Date], [Numof Billing Days], [Unit Number], [Month Code],
[Resident Name], [Billing Address], [Billing City], [Billing State], [Billing
Zip], Duplicates, Adjustments )
SELECT [Water Bill Calcs All One Line].[Occ Factor], [Water Bill Calcs All
One Line].SqrFeet, [Water Bill Calcs All One Line].[Occ Factor Rate], [Water
Bill Calcs All One Line].[Occ Part of Bill], [Water Bill Calcs All One
Line].[SqrFeet Factor], [Water Bill Calcs All One Line].[SqrFeet Part of
Bill], [Water Bill Calcs All One Line].[Billing Fee], [Water Bill Calcs All
One Line].[Trash Fee], [Water Bill Calcs All One Line].[Late Fee], [Water
Bill Calcs All One Line].Delinquents, [Water Bill Calcs All One
Line].[Activation Charge], [Water Bill Calcs All One Line].[Billing Start],
[Water Bill Calcs All One Line].[End Date], [Water Bill Calcs All One
Line].[Numof Billing Days], [Water Bill Calcs All One Line].[Unit Number],
[Water Bill Calcs All One Line].[Month Code], [Data Query].[Resident Name],
[Billing Address].[Billing Address], [Billing Address].[Billing City],
[Billing Address].[Billing State], [Billing Address].[Billing Zip], [Water
Bill Calcs All One Line]![Month Code] & "-" & [Water Bill Calcs All One
Line]![Unit Number] AS Duplicates, 0 AS Adjustments
FROM ([Billing Address] INNER JOIN [Data Query] ON ([Billing Address].[Unit
Number] = [Data Query].[Unit Number]) AND ([Billing Address].[Unit Number] =
[Data Query].[Unit Number])) INNER JOIN [Water Bill Calcs All One Line] ON
[Data Query].[Unit Number] = [Water Bill Calcs All One Line].[Unit Number];