x-ware-ltd / access-scc-addin

Microsoft Access SCC Addin
Apache License 2.0
2 stars 4 forks source link

File Not Found error when doing initial export #60

Closed gilbertbw closed 3 years ago

gilbertbw commented 3 years ago

I tracked it down to trying to kill this file without checking it exists first

https://github.com/x-ware-ltd/access-scc-addin/blob/d2c0e7b7ab06e86633acf86306ed2a23d8fadcd7/Modules/modExtendSaveAsText.ACM#L108

I see many places where we delete a file if it exists. I propose we replace these with calls to the Dir function, extracted from JCS.