Connecting Tech Pros Worldwide Help | Site Map

Information on unexpected Runtime issue

  #1  
Old July 10th, 2007, 05:35 PM
Dave G @ K2
Guest
 
Posts: n/a
I recently finished a system in Access 2003 for a client and loaded it
onto their server. They use the A2003 runtime version. One of the main
forms contains a TAB control. On moving away from one particular page
to any other they received a run time error and the application
closed. This behaviour did not occur when using the full version of
Access.

I managed to solve the problem by deleting and re-creating the
affected page, but nevertheless I was very surprised about this and
now check my work very carefully using the /runtime switch here.

Was I right to be surprised - or is this to be expected ??

Dave

  #2  
Old July 10th, 2007, 06:35 PM
paii, Ron
Guest
 
Posts: n/a

re: Information on unexpected Runtime issue


I don't know about the original error, but runtime will shut-down on any
un-handled errors. You need to check that all VBA code has OnError checking.
I don't know but believe A2003 macros don't support error checking, which
will cause Runtime to crash on any macro errors.

"Dave G @ K2" <DaveGriffiths70@gmail.comwrote in message
news:1184084839.836019.59730@w3g2000hsg.googlegrou ps.com...
Quote:
I recently finished a system in Access 2003 for a client and loaded it
onto their server. They use the A2003 runtime version. One of the main
forms contains a TAB control. On moving away from one particular page
to any other they received a run time error and the application
closed. This behaviour did not occur when using the full version of
Access.
>
I managed to solve the problem by deleting and re-creating the
affected page, but nevertheless I was very surprised about this and
now check my work very carefully using the /runtime switch here.
>
Was I right to be surprised - or is this to be expected ??
>
Dave
>

  #3  
Old July 10th, 2007, 06:55 PM
Dave G @ K2
Guest
 
Posts: n/a

re: Information on unexpected Runtime issue


Well, firstly I never use macros. And secondly I always have error
trapping code in my VBA. But that isn't relevant here because none of
my code runs when moving from one page to another in the tab control.
And don't forget that this problem only occurs when moving away from
one particular page. And also don't forget that no error occurred when
using the full version of Access.

This looks to me like that particular page was corrupted in such a way
that it only showed up when using the runtime version. I didn't
realise this could happen.

So this is a kind of warning - when developing a system that will
eventually be run using the run time version then I strongly recommend
testing it thoroughly in that environment

Dave

  #4  
Old July 10th, 2007, 08:15 PM
paii, Ron
Guest
 
Posts: n/a

re: Information on unexpected Runtime issue


It likely was a corruption. It may be a good procedure to repair, compact,
and even recompile before testing and distributing to end users.

"Dave G @ K2" <DaveGriffiths70@gmail.comwrote in message
news:1184089791.809184.179960@g4g2000hsf.googlegro ups.com...
Quote:
Well, firstly I never use macros. And secondly I always have error
trapping code in my VBA. But that isn't relevant here because none of
my code runs when moving from one page to another in the tab control.
And don't forget that this problem only occurs when moving away from
one particular page. And also don't forget that no error occurred when
using the full version of Access.
>
This looks to me like that particular page was corrupted in such a way
that it only showed up when using the runtime version. I didn't
realise this could happen.
>
So this is a kind of warning - when developing a system that will
eventually be run using the run time version then I strongly recommend
testing it thoroughly in that environment
>
Dave
>

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 08:57 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 07:46 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 0 November 14th, 2005 03:55 PM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit answers 5 November 14th, 2005 12:36 PM