Where are my forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an application that will be importing data. As the loads can take
long enough for users to wonder if anything is happening, I want to put up a
form that can let them know what's happening. So I built the form and went
to have my code open and update it. I was attempting to do this via

load <formname.
<formname>.show
 
I have an application that will be importing data. As the loads can take
long enough for users to wonder if anything is happening, I want to put up a
form that can let them know what's happening. So I built the form and went
to have my code open and update it. I was attempting to do this via

load <formname.
<formname>.show

Well, I have no idea where you got that syntax; it's certainly not
anything from Access!

Try

DoCmd.OpenForm "frmMyForm", <optional parameters>

See the online help for the OpenForm Method for details.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 
Other posts in the thread have addressed specific problems, but I want to
try to draw your attention to the underlying cause of the problems you're
experiencing. Because Visual Basic and Access share the same core
programming language, it is easy to forget that they have very different
object models. An Access form is a *very* different beast from a Visual
Basic form. Don't be deceived by the similarities, don't expect an Access
form to behave like a Visual Basic form. It won't.

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Back
Top