?
Solved

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

Posted on 2012-04-08
6
Medium Priority
?
278 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 1500 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 1500 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 1500 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 500 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

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

770 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