I have a split Access database (front-end/back-end).
I changed the naming convention of the tables on the back-end, as they had spaces in them.
So, if the table was named "Table One" before, I am changing the name to "Table_One".
Now, if I go into the front-end db, I go to the Linked Table Manager so I can re-point the linked table to the new table name, it gives me an error (I am checking the "Always Prompt for New Location" check box). It says "The Microsoft Access database engine could not find the object 'Table One'...". It doesn't seem to let me browse for the new table name.
Since it appears that I cannot do this manually, I was thinking that maybe I could update this link via VBA. I have been searching, but I have yet to find any code which would update the name of the table I am trying to link to. Does anyone have any code which would work?
I know I can manually add in the linked table as a new linked table, but I prefer to update the existing one, so that all Queries, Reports, and Forms which use this table should hopefully reflect that without having to re-link it all in those objects too.
Thanks