In ACC2007:
I've built an application that, amongst other things, links to data that are imported as HTML tables into a back end database. The back end and original HTML documents are presumed to be present in the same directory as the front end database. A problem exists if the directory containing all of these changes.
I've tried several instances of code (discovered online, mostly here) to try to refresh the links of all the tables in the back end. The true Access tables can be readily refreshed. I just haven't stumbled on a method to refresh the links to the HTML documents. The problem, I'm reasonably certain, relates to the fact that the connect string for the HTML tables is different.
An example:
"HTML Import;DSN=ExamReport Link Specification;HDR=NO;IMEX=2;CharacterSet=65001;ACCDB=YES;DATABASE=C:...\ExamReport.html"
versus
";DATABASE=C:...\SN2BB_be.accdb"
Has anyone already solved this problem, or, if not, how do you suggest I go about solving it?
Thanks.
George
I've built an application that, amongst other things, links to data that are imported as HTML tables into a back end database. The back end and original HTML documents are presumed to be present in the same directory as the front end database. A problem exists if the directory containing all of these changes.
I've tried several instances of code (discovered online, mostly here) to try to refresh the links of all the tables in the back end. The true Access tables can be readily refreshed. I just haven't stumbled on a method to refresh the links to the HTML documents. The problem, I'm reasonably certain, relates to the fact that the connect string for the HTML tables is different.
An example:
"HTML Import;DSN=ExamReport Link Specification;HDR=NO;IMEX=2;CharacterSet=65001;ACCDB=YES;DATABASE=C:...\ExamReport.html"
versus
";DATABASE=C:...\SN2BB_be.accdb"
Has anyone already solved this problem, or, if not, how do you suggest I go about solving it?
Thanks.
George