Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 10th, 2007, 05:35 PM
Dave G @ K2
Guest
 
Posts: n/a
Default Information on unexpected Runtime issue

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
Default 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
Default 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
Default 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
>

 

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles