By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,466 Members | 2,140 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,466 IT Pros & Developers. It's quick & easy.

Go To Page

P: n/a
DS
Hi,
I'm using Go To Page on a 2 Page form. Page 2 has only a subform on it.
The problem is that when I go to page 2 with subform on it the subform
is the focus. Which is fine. What isn't fine is that when you hit go
to page 2 when your already on it anerror message pops up that you you
can't go there. Any way to supress this error message or writ code to
stop this from happening. Thanks.
DS
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
DS wrote:
Hi,
I'm using Go To Page on a 2 Page form. Page 2 has only a subform on it.
The problem is that when I go to page 2 with subform on it the subform
is the focus. Which is fine. What isn't fine is that when you hit go
to page 2 when your already on it anerror message pops up that you you
can't go there. Any way to supress this error message or writ code to
stop this from happening. Thanks.
DS


Open the form's property sheet and go to OnError. Enter something like
msgbox DataErr
Now find out what the error number is. Write it down. Now modify the
code to something like...let's say the error was 9999
If DataErr = 9999 then Response = acDataErrContinue
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.