A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

"The OpenForm action was canceled"



 
 
Thread Tools Display Modes
  #1  
Old July 12th, 2006, 12:07 AM posted to microsoft.public.access.forms
dbnovice
external usenet poster
 
Posts: 2
Default "The OpenForm action was canceled"

I'm trying to get to one form from another in an Access database but keep
getting the message above. Can anyone please help me understand why? I'm
using Access 2003
  #2  
Old July 12th, 2006, 03:31 AM posted to microsoft.public.access.forms
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default "The OpenForm action was canceled"

The error message says that something prevented ACCESS from opening the form
that you're calling. Could be any number of reasons, based on your setup.
Tell us more about what you're doing.

--

Ken Snell
MS ACCESS MVP

"dbnovice" wrote in message
...
I'm trying to get to one form from another in an Access database but keep
getting the message above. Can anyone please help me understand why? I'm
using Access 2003



  #3  
Old July 13th, 2006, 08:52 PM posted to microsoft.public.access.forms
dbnovice
external usenet poster
 
Posts: 2
Default "The OpenForm action was canceled"

Hi Ken,

Basically I'm trying to get a command button to open a form based on a value
given to it as a result of user input. e.g. member id = '7', command button
should open new form showing details of record with this member id. Would be
very appreciative if you could help. I know it's only something small that's
causing the problem.


"Ken Snell (MVP)" wrote:

The error message says that something prevented ACCESS from opening the form
that you're calling. Could be any number of reasons, based on your setup.
Tell us more about what you're doing.

--

Ken Snell
MS ACCESS MVP

"dbnovice" wrote in message
...
I'm trying to get to one form from another in an Access database but keep
getting the message above. Can anyone please help me understand why? I'm
using Access 2003




  #4  
Old July 14th, 2006, 01:47 AM posted to microsoft.public.access.forms
Ken Snell \(MVP\)
external usenet poster
 
Posts: 2,506
Default "The OpenForm action was canceled"

Assuming that the user is typing or selecting the value in a control on the
form that then will run the code to open the second form, use the Where
argument of the DoCmd.OpenForm method:

DoCmd.OpenForm "FormName", , , "[Member ID]=" & Me.ControlName.Value

where ControlName is the name of the control that is used by the user to
enter/select the value.
--

Ken Snell
MS ACCESS MVP



"dbnovice" wrote in message
...
Hi Ken,

Basically I'm trying to get a command button to open a form based on a
value
given to it as a result of user input. e.g. member id = '7', command
button
should open new form showing details of record with this member id. Would
be
very appreciative if you could help. I know it's only something small
that's
causing the problem.


"Ken Snell (MVP)" wrote:

The error message says that something prevented ACCESS from opening the
form
that you're calling. Could be any number of reasons, based on your setup.
Tell us more about what you're doing.

--

Ken Snell
MS ACCESS MVP

"dbnovice" wrote in message
...
I'm trying to get to one form from another in an Access database but
keep
getting the message above. Can anyone please help me understand why?
I'm
using Access 2003






 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:29 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.