A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

runtime error, application shutdown



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2008, 03:30 AM posted to microsoft.public.access.forms
Mollytm[_2_]
external usenet poster
 
Posts: 1
Default runtime error, application shutdown

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...
  #2  
Old April 29th, 2008, 06:39 AM posted to microsoft.public.access.forms
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default runtime error, application shutdown

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



"Mollytm" wrote in message
...
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...



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.