Solved

Access 2007 trying to insert a subform gives me an error.

Posted on 2012-04-08
6
274 Views
Last Modified: 2012-04-10
I have two completed Forms that are working. One is the header and the other is the detail form. I went to the subform/subreport button and selected the area I wanted the subform placed and then as I clicked the area to place I got the following error.

We are using ACCDB as the file type. can anyone tell me why I cannot insert the subform which has to be done....? I am lost and a beginner in this kind of work. Thank you.
AccessError.png
0
Comment
Question by:ruavol2
  • 3
  • 2
6 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 375 total points
ID: 37821930
Is the database shared / currently open by other users?

(everyone else needs to be out of the database for you to make design changes)

If you are sure that everyone else is out, close your own copy of the database, and verify that there are no laccdb (lock files) present - delete any that remain after all users are out of the database.
0
 

Author Comment

by:ruavol2
ID: 37821938
I got the  to drop in by simply dragging over the form from the "All Access Objects" section. However there is one other thing I do not understand how to do and that is how to connect the two tables behind the two seperate forms. One is like the Orders Header and the other the Orders Detail..... This is very important and I do not know how to do it. can you advise..,?
0
 
LVL 61

Accepted Solution

by:
mbizup earned 375 total points
ID: 37821949
In the form's design view, right- click the very edge of your subform control  - the "frame" of it - and select Properties.

Under the Data tab, look for Master and Child links.

That is how you link the forms.
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 375 total points
ID: 37821954
Btw - another way to do this (as opposed to dragging dropping the subform) is to choose a subform control from the form design toolbox, and place/size it on your main form.

That should invoke a wizard which will step you through selecting the subform and linking it to the main table.

Both methods work.

The wizard does some hand-holding, but your method will ultimately teach you more :-)
0
 
LVL 30

Assisted Solution

by:hnasr
hnasr earned 125 total points
ID: 37822259
This comment was submitted in another thread.
http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_27666131.html#a37822249

Find Msaccess.exe
Right click the icon  and select Run as administrator.
Open database. Check and comment.
0
 

Author Closing Comment

by:ruavol2
ID: 37831159
Thank you
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question