473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

openform action was cancelled - why?!?

Folks,

I have an Access front end to a SQL Server 2k back end.

The database consists of 5 main "record types" (many more tables than
this however) - Test Logs (TLs), 2 Test Executions (TEs), 3 Test
Reports (TRs), 4 Observation Reports (ORs), and 5 Change Reports
(CRs).

All TEs have a parent TL.
TEs can have child TRs, but TRs can be raised separately.
TRs can have child ORs, but ORs can be raised separately.
ORs can have child CRs, and CRs cannot be raised any other way.

For each record type there is a datasheet view listing all the records
of that type, and a form view to view the details of any one record of
that type.

Within each form view there is either a subform listing all "child
records", or a text box linking back to the parent (if any).

Now, I can go into a TL from the datasheet, and click on a child TE,
no problem. I can go into the TE from the datasheet, and click on a
child TR no problem. BUT if I go into the TL from the datasheet, then
click the TE, then click the TR, I get the good old "openform action
was cancelled" error - triggered on the docmd.openform line of the on
click handler - NOT in the form open event. What Im saying is I all
the "parent / child form relationships" work fine - but I get the
error when trying to move to a 3rd generation.

Any clues?

Thanks

Steve
Nov 12 '05 #1
0 1386

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Stuart Clark | last post by:
Hi, I have the following lines of code: stLinkCriteria = " BETWEEN " & & " AND " & DoCmd.OpenForm stDocName, , , stLinkCriteria Every time I try and run this I get the following error:...
3
by: Prakash Wadhwani | last post by:
In an openform event if I type cancel=true a msgbox pops up saying: "The OpenForm Acion was cancelled" This is iritating. Is there any way to turn of this message via VBA? Thx & Best Rgds,...
2
by: John Phelan-Cummings | last post by:
After creating a button on a (parent) form linking to another (child) form, I received the following error when clicking on the command button: "The OpenForm action was canceled" No the child...
2
by: jeffrod444 | last post by:
Hi, I've been having problems getting my forms to work correctly. If seen other threads addressing this issue, however, these are not working for me. The short of my problem is this. I am trying to...
4
by: SDL | last post by:
Help! I have a system that was running fine and I was testing a bottom level form. I went from a menu to a screen where I could enter a phone number or name to find a customer. If the customer...
4
by: sid | last post by:
Can someone tell me how to detect "Action Cancelled" page with out polling. I have a frame set and I want to make sure the other frame is displaying what it is supposed to without polling. For...
2
by: mark mestrom | last post by:
hi, i have this problem with OpenForm and the stLinkCriteria. I have the following code: Private Sub Knop22_Click() On Error GoTo Err_Knop22_Click Dim stDocName As String Dim...
3
by: victoria.rego | last post by:
Hi there, My application is generating a "The OpenForm action was cancelled" error and I can't seem to figure out why. The best part about it is that it's only one user in the entire building -...
3
by: ladybug76 | last post by:
Hello Again. I'm so close I can TASTE IT! I'm working in Access 2003. I've read a bunch of posts, but still can't get to the bottom of this. I have a "Selection Criteria" form (with Two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.