rich.barry
Registered User.
- Local time
- Today, 11:26
- Joined
- Aug 19, 2001
- Messages
- 176
I'm having a tough time tracking down what is causing the error "Execution of this application has stopped due to a run-time error" when using my database on A2k Runtime.
It seems to be some of the string handling functions that are causing it, i.e., I can add the code :
Dim a as String
a=Space(10)
to a command button in the database causing the problems, and it will crash when the button is pressed.
However making a blank database with a form, a button and the same code, and everything works fine.
Some searching in these forums mentions that it may be due to broken references, but that doesn't explain why the code will crash one database, but not another.
Additionally, how does one chech problematic references on Runtime, as the menu items don't include such things.
Any help at all would be appreciated, and yes, the database works perfectly in my development environment.
Thanks
Richard
It seems to be some of the string handling functions that are causing it, i.e., I can add the code :
Dim a as String
a=Space(10)
to a command button in the database causing the problems, and it will crash when the button is pressed.
However making a blank database with a form, a button and the same code, and everything works fine.
Some searching in these forums mentions that it may be due to broken references, but that doesn't explain why the code will crash one database, but not another.
Additionally, how does one chech problematic references on Runtime, as the menu items don't include such things.
Any help at all would be appreciated, and yes, the database works perfectly in my development environment.
Thanks
Richard