Hello,
I am trying to import 2 excel generated reports into ms access tables and once they are imported I want to make a union query out of the two. The problem I have is that two of the fields in report1 are different than report2 so my union will not work. I need to make one of two things 1) Move column [Effective Date] as the 6th column in my table and delete [future term date] OR make column [future term date] = [Effective Date] and than delete column [Effective Date].
I am able to delete [Effective Date] with this line of text in my function:
Dim Removefield3 As String
Removefield3 = "Alter Table tblOTENoLonger DROP [Effective Date] AutoIncrement"
CurrentDb.Execute Removefield3
But I need to either make [future term date] = [Effective Date] before the deletion happens OR move [Effective Date] to be the 6th column in my table.
Any ideas would be much appreciated !
I am trying to import 2 excel generated reports into ms access tables and once they are imported I want to make a union query out of the two. The problem I have is that two of the fields in report1 are different than report2 so my union will not work. I need to make one of two things 1) Move column [Effective Date] as the 6th column in my table and delete [future term date] OR make column [future term date] = [Effective Date] and than delete column [Effective Date].
I am able to delete [Effective Date] with this line of text in my function:
Dim Removefield3 As String
Removefield3 = "Alter Table tblOTENoLonger DROP [Effective Date] AutoIncrement"
CurrentDb.Execute Removefield3
But I need to either make [future term date] = [Effective Date] before the deletion happens OR move [Effective Date] to be the 6th column in my table.
Any ideas would be much appreciated !