HI,
My list of attempts is getting bigger, at this stage i dont really care what the code does as long as it runs. Here is what i have tried
All those with ' are attempts
Code:
Sub Mergetwotables()
Dim dbs As DAO.Database
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Dim strSQL As String
Set dbs = CurrentDb
'DoCmd.RunSQL "SELECT * FROM AUDUSD60" & _
' "ORDER BY [Date]"
'CurrentDb.OpenRecordset strSQL
'RunSQL "SELECT AUDUSD60."
'doa.Execute "SELECT AUDUSD60.Date"
'DoCmd.RunSQL "SELECT Date, Time"
'strSQL = "INSERT INTO AUDUSD60 SELECT * FROM GBPUSD60" & _
' "2dbFailOnError"
'CurrentDb.OpenRecordset strSQL
'strSQL = "SELECT Date, Time" & _
' "FROM AUDUSD60" & _
' "FULL JOIN GBPUSD60" & _
' "ON AUDUSD60.Date=GBPUSD60.Date"
'DoCmd.RunSQL strSQL
'strSQL = "INSERT INTO table1 SELECT * FROM table2"
'DoCmd.RunSQL strSQL
'DoCmd.RunSQL strSQL = "INSERT INTO table1 SELECT * FROM table2"
'DoCmd.RunSQL "INSERT INTO AUDUSD60 SELECT * FROM GBPUSD60.Date"
'dbFailOnError
End Sub