469,644 Members | 1,746 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,644 developers. It's quick & easy.

Run-time error

sj
I have an invoice form that has a subform for details.

The problem is when is print preview and return to the same form an
error occur and the access shut down without tell what the error is.
This happen in the run-time environment and not on computer with
access.

I later realise that the error only occur when I have more than 1 line
of subform (in dataview format). There is no error when there is only
1 line of data.

Anyone out there has any experience on this?

May 23 '07 #1
2 1731
ARC
What is the error? You need to have the err.number and err.description in
order to get a better idea...
"sj" <se*********@gmail.comwrote in message
news:11**********************@p47g2000hsd.googlegr oups.com...
>I have an invoice form that has a subform for details.

The problem is when is print preview and return to the same form an
error occur and the access shut down without tell what the error is.
This happen in the run-time environment and not on computer with
access.

I later realise that the error only occur when I have more than 1 line
of subform (in dataview format). There is no error when there is only
1 line of data.

Anyone out there has any experience on this?

May 23 '07 #2
sj
The problem is that the error is not specific. It mere says "Execution
of this application has stopped due to a run-time error. This
application can't continue and will be shut down."

I took you advise to plant msgboxes to track down the cause. I found
where but don't understand why. First, let me explain my application
flow.

at FormA (with subform) i have a print preview button, when click it
will preview a reportC and run a small popup formE with button to
"print" or "don't print" the displayed report. When click "Don't
print", it will close the preview reportC and itself (formE) and
return to FormA.

The error happens when closing ReportC. But it works fine, when FormA
subform has only one line of data, but not when there is multiple.

I simply don't understantd why.

May 24 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by leroybt.rm | last post: by
13 posts views Thread by Bob Day | last post: by
19 posts views Thread by Bryan | last post: by
9 posts views Thread by Brett Wesoloski | last post: by
8 posts views Thread by David Thielen | last post: by
3 posts views Thread by traceable1 | last post: by
7 posts views Thread by mxdevit | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.