![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to get a simple archive process working on a simple database ( archiving data from a basic customer table) |
#3
| |||
| |||
|
|
I am trying to get a simple archive process working on a simple database ( archiving data from a basic customer table) and I keep getting this error message: " The INSERT INTO statement contains the following unknown field name '[First Name], make sure you typed correctly etc." I have checked the queries find the data in a simple select query and have then changed them to an Append/ Delete query which I am running through a macro. The data is being added to an archive table which I have created by changing the select table to a Make Table query. I have aslo added to the macro SetWarnings False and set it as true again at the end. Here is the SQL code for the Append query- can anyone shed any light on why I cannot get this to work? INSERT INTO tblMember_Archive ( MemberID, [First Name], Surname, [Post held], Address1, Address2, Address3, Postcode, [Telephone No], [Date Joined], DOB ) SELECT tblMember.MemberID, tblMember.[First Name], tblMember.Surname, tblMember.[Post held], tblMember.Address1, tblMember.Address2, tblMember.Address3, tblMember.Postcode, tblMember.[Telephone No], tblMember.[Date Joined], tblMember.DOB FROM tblMember WHERE (((tblMember.[Date Joined])<[Forms]![frmArchiveData]! [txtArchiveDate])); |
![]() |
| Thread Tools | |
| Display Modes | |
| |