hello
i have the below code and i want that my database will be affected after doing it
but in my target db nothing happens can you help me please?
thank you
Dim db As Database
Set db = OpenDatabase("G:\Rasteh Mona\nplsource _new - backup2 - forsecurity.accdb")
'DoCmd.RunSQL ("insert into checks_projects([Creation date]) select a.[Creation date] from (select [Creation date] from Query2) as a left join checks_projects b on a.[Creation date]=b.[Creation date] where IsNull(b.[Project name]);")
Set db = Nothing
i have the below code and i want that my database will be affected after doing it
but in my target db nothing happens can you help me please?
thank you
Dim db As Database
Set db = OpenDatabase("G:\Rasteh Mona\nplsource _new - backup2 - forsecurity.accdb")
'DoCmd.RunSQL ("insert into checks_projects([Creation date]) select a.[Creation date] from (select [Creation date] from Query2) as a left join checks_projects b on a.[Creation date]=b.[Creation date] where IsNull(b.[Project name]);")
Set db = Nothing