Gasman
Enthusiastic Amateur
- Local time
- Today, 09:21
- Joined
- Sep 21, 2011
- Messages
- 14,260
Good morning everyone,
I have a small DB that monitors calls.
I import data from two call systems each Monday.
Today I received the error in the attached pic.
As I use macros for the batch import, I stepped through the macros and the fault (well as far as I have got) is in the query qryACRcalls
This takes the exported data from the CR system which is in an Excel sheet linked to the DB and appends it to the table tblCRcalls.
I copied the table (structure only) and ran an amended append query to append to the test table and it ran fine.?
At a loss as to where to look as I have no retsrictions on the table (at least that I am aware of) and the fact that it worked fine with a copy of the table.
DB is split FE & BE, the the copied table was local.?
Any tips as where to look please?
TIA
I have a small DB that monitors calls.
I import data from two call systems each Monday.
Today I received the error in the attached pic.
As I use macros for the batch import, I stepped through the macros and the fault (well as far as I have got) is in the query qryACRcalls
This takes the exported data from the CR system which is in an Excel sheet linked to the DB and appends it to the table tblCRcalls.
I copied the table (structure only) and ran an amended append query to append to the test table and it ran fine.?
At a loss as to where to look as I have no retsrictions on the table (at least that I am aware of) and the fact that it worked fine with a copy of the table.
DB is split FE & BE, the the copied table was local.?
Any tips as where to look please?
Code:
INSERT INTO tblCRCalls ( Direction, CallingNumber, CalledDay, CalledDate, CalledTime, FromNumber, FromCallerID, ToNumber, ToCallerID, RedirectedFrom, RedirectedTo, Duration, Comments, MD5, Category )
SELECT CR.Direction, CR.Number, CR.Day, CR.Date, CR.Time, CR.[From Number], CR.[From Caller ID], CR.[To Number], CR.[To Caller ID], CR.[Redirected From], CR.[Redirected To], CR.Duration, CR.Comments, CR.MD5, CR.Category
FROM CR;
TIA