G
Guest
Hi
I have a really simple public function to overwrite a few table from the
server to a lap. Well "should be" simple.
Public Function Wayne
DoCmd.DeleteBject acTable, "TableABC"
DoCmd.DeleteBject acTable, "TableXYZ"
DoCmd.TransferDatabase acImport, Etc, etc, etc TableABC
DoCmd.TransferDatabase acImport, Etc, etc, etc TableXYZ
End Function
But of course this will not work as the tables are linked in relationships
so can't be deleted by this method.
An append query to update the data will not work as some of the tables are
altered between transfers (the server is always correct so I need to
overwrite the table on the laptops - there are over 40 of them)
Has anyone got any hints how to overwrite a table and maintain the
relationships -
I have a really simple public function to overwrite a few table from the
server to a lap. Well "should be" simple.
Public Function Wayne
DoCmd.DeleteBject acTable, "TableABC"
DoCmd.DeleteBject acTable, "TableXYZ"
DoCmd.TransferDatabase acImport, Etc, etc, etc TableABC
DoCmd.TransferDatabase acImport, Etc, etc, etc TableXYZ
End Function
But of course this will not work as the tables are linked in relationships
so can't be deleted by this method.
An append query to update the data will not work as some of the tables are
altered between transfers (the server is always correct so I need to
overwrite the table on the laptops - there are over 40 of them)
Has anyone got any hints how to overwrite a table and maintain the
relationships -