joyfullservice / msaccess-vcs-addin

Synchronize your Access Forms, Macros, Modules, Queries, Reports, and more with a version control system.
Other
203 stars 40 forks source link

GetUncPath - runtime error 76 when UNC path not available #461

Closed ollypsilon closed 9 months ago

ollypsilon commented 10 months ago

https://github.com/joyfullservice/msaccess-vcs-addin/blob/3ad141c620b609ba4838dbf18623e8e2c8be502c/Version%20Control.accda.src/modules/modFileAccess.bas#L541

I crossed this error when testing version 4.0.28. UNC path wasn't available at export as it's a remote system, so the error was raised. References #385 and tackles #417 As describe there maybe error could be fetched, entry created in log file and user notified.

image

image

image

image

joyfullservice commented 10 months ago

Since failing to resolve a mapped drive to a UNC path may not actually prevent the export from completing, I set this to a warning rather than an error. The error condition is now handled, and a warning added to the log file.

ollypsilon commented 9 months ago

Thx; I'll close it.