G
Guest
Hello,
is there a way to use an UPDATE statment to update table in an external
database?
I need to build a patch that will modify some data in a database that is
fa...far....far from me. The database is huge: no way to have it by email.
So i was wondering if there is way to overcome these troubles by building a
patch. A sort of small database, just one form that will ask for the database
to be updatted and get from here its path. Then the code will take care os
updating the tables with a series of:
DoCmd.RunSQL("UPDATE....") etc...
I was trying somethign like this:
UPDATE Tbl1 IN 'C:\Documents and Settings\WhateverItWillBe\MyHugedb.MDE'
INNER JOIN (SELECT field1,field2 FROM Tbl2 IN 'C:\Documents and
Settings\WhateverItWillBe\MyHugedb.MDE' WHERE MyConditionHere) ON
Tbl1.ID=Tbl2.ID
SET Tbl1.field4=Tbl2.field2
It doesn't work...sic*
There is something wrong (surely yes), but before I go further with my
efforts: is this kind of *thing* possible?
Thanks
Rocco
is there a way to use an UPDATE statment to update table in an external
database?
I need to build a patch that will modify some data in a database that is
fa...far....far from me. The database is huge: no way to have it by email.
So i was wondering if there is way to overcome these troubles by building a
patch. A sort of small database, just one form that will ask for the database
to be updatted and get from here its path. Then the code will take care os
updating the tables with a series of:
DoCmd.RunSQL("UPDATE....") etc...
I was trying somethign like this:
UPDATE Tbl1 IN 'C:\Documents and Settings\WhateverItWillBe\MyHugedb.MDE'
INNER JOIN (SELECT field1,field2 FROM Tbl2 IN 'C:\Documents and
Settings\WhateverItWillBe\MyHugedb.MDE' WHERE MyConditionHere) ON
Tbl1.ID=Tbl2.ID
SET Tbl1.field4=Tbl2.field2
It doesn't work...sic*
There is something wrong (surely yes), but before I go further with my
efforts: is this kind of *thing* possible?
Thanks
Rocco