I have a very small table (tbl_emp_lcl) that is stored on the client's side of a split database scenario (other tables are stored on server and linked to the client front end). I've written code to check the modified date of the same table stored on the server (tbl_emp_svr). If the date modified is more recent than the tbl_emp_lcl, then I change the table name of the local table to OLD_tbl_emp_lcl and import the more recent version from the server. My only problem is that after import, I want to delete the OLD table, but get an error saying "Can't delete the table until its relationships to other tables have been deleted."
How can I accomplish this using
VB code so that the client/user doesn't see this message, but the old table still gets deleted? I want to be able to delete the existing relationships with the OLD table, and then delete the OLD table.
Also, is there a way to restore those relationships with the NEWLY IMPORTED table?
Thank you!!
Rick