sql - Access, Use a linked table to update a local table -


i have 2 tables , tbl2 update tbl1.

tbl1 lives on end database on our network drive. contains project information, regularly updated half dozen users.

tbl2 lives on remote users laptop. copy of tbl1 updates throughout day. when tries access tbl1 on vpn unusably slow.

the information on remote users laptop not terribly time sensitive. i'm going have him export table network drive @ end of each day.

i've trained user import tbl1 each morning , export tbl2 network drive each night.

so coding part comes in @ end of day. need pull updates tbl2 tbl1.

i'm trying accomplish sql query using this post guide. keep getting weird results.

select tbl1.thing1, tbl2.thing1, tbl1.thing2, tbl2.thing2, tbl1.thing3, tbl2.thing3, tbl1.thing4, tbl2.thing4, tbl1.thing5, tbl2.thing5 tbl1 full outer join tbl2 on (tbl1.thing1= tbl2.thing1)  , ( tbl1.thing2 = tbl2.thing2) , (tbl1.thing3 = tbl2.thing3)  , (tbl1.thing4 = tbl2.thing4) , (tbl1.thing5 = tbl2.thing5) ; 

is possible? going @ wrong way?

after further research looks closer right, still not functional.

update [tbl1] inner join [tbl2] on (tbl1.thing1=tble2.thing1), (tbl1.thing2 = tbl2.thing2), (tbl1.thing3 = tbl2.thing3), (tbl1.thing4 = tbl2.thing4), (tbl1.thing5 = tbl2.thing5) set , ( tbl1.thing2 = tbl2.thing2) , (tbl1.thing3 = tbl2.thing3)  , (tbl1.thing4 = tbl2.thing4) , (tbl1.thing5 = tbl2.thing5); 

any other thoughts? thank you!

it looks problem solved indirectly in different 1 of my questions. thank you, beth.

update tbl1  inner join  tbl1  on tbl1.id = tbl2.id set tbl2.[thing1] = [tbl1].[thing1], tbl2.[ thing2] = [tbl1].[thing2], tbl2.[thing3] = [tbl1].[thing3], tbl2.[thing4] = [tbl1].[ thing4], tbl2.[ thing5] = [tbl1].[thing5]; 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -