I have a working database which runs fine in accdb mode.
But when i compile it and run the accde file I get the error "The expression you entered has a function name that XXDB nameXX cant' find."
The problem is that the autoexec macro cannot find the VBA public function that is called with runcode command.
The accde file is running in the same folder as the accdb. It is a split database, I am only working on the Front End
I have tried, amongst others:
- Creating a new vba module and copying all the functions across
- Renaming the target function
- I reckoned there was a corruption somewhere, so I created a blank database and imported all the form/code/etc across from the broken version, which imported fine. The accdb ran but the compiled version failed again
At my wits end, I have been working on this issue for a week, anyone with any ideas? :banghead::banghead:
But when i compile it and run the accde file I get the error "The expression you entered has a function name that XXDB nameXX cant' find."
The problem is that the autoexec macro cannot find the VBA public function that is called with runcode command.
The accde file is running in the same folder as the accdb. It is a split database, I am only working on the Front End
I have tried, amongst others:
- Creating a new vba module and copying all the functions across
- Renaming the target function
- I reckoned there was a corruption somewhere, so I created a blank database and imported all the form/code/etc across from the broken version, which imported fine. The accdb ran but the compiled version failed again
At my wits end, I have been working on this issue for a week, anyone with any ideas? :banghead::banghead: