runtime error, application shutdown

M

Mollytm

I have some runtime users getting a runtime error and app shutdown
when opening a data entry form that I created from an Access 2002 db.
The form opens in data entry mode, and has several fields with default
values, including one which defaults to a fiscal year function that I
created. I am new to runtime, but have tested this on my own pc with
only runtime installed, and it works fine. When my client opens it, he
gets the error/shutdown. Any ideas on the possible differences in our
pcs/programs which would make him get the error, but not me. VERY
FRUSTRATING as I am across the country and can't look at his system
first hand, and don't even know what to ask to see what might be
causing this difference. thanks for any help you can offer...
 
J

Jeanette Cunningham

Mollytm,
The shutdown with using runtime will happen for any errors that are not
trapped by your error handling code.
You need error handling code on every routine (no exceptions).
There is also a problem using macros in the runtime because you can't put
error handling code in them.
If you go back to your database and comment out every line that has the On
Error GoTo ..............
You can check every routine to see what errors occur.
Fix your code to remove or trap the errors.


Jeanette Cunningham -- Melbourne Victoria Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top