Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Subform not display record

Posted on 2013-05-22
7
Medium Priority
?
493 Views
Last Modified: 2013-05-23
I have a form that has a subform on it.  When I open the form to add a record the subform has no rows in it to add records to the subform's underlying table.  I suspect that this may be because the main form has not been added to the table.

How can I make the subform display a row to add a record to it?
0
Comment
Question by:SteveL13
[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
  • 4
  • 3
7 Comments
 
LVL 12

Expert Comment

by:pdebaets
ID: 39189052
Is your parent form a bound form? Try typing some data into the parent form before attempting to enter data into the subform.

Also check that the subform's AllowAdditions property is set to Yes.
0
 

Author Comment

by:SteveL13
ID: 39189066
Yes the parent form is a bound form.  I did type into one of the parent's fields and the record number appears on a field I have in the parent form right after I type the first character in a field.   The subform's AllowAdditions property is set to Yes.

But no rows show up in the child form so I can make a data entry in the child form.
0
 

Author Comment

by:SteveL13
ID: 39189095
To prove my theory that the subform is not displaying the ability to add a record I typed something into a parent form field, saved the record by closing the form.  Then opened the form to edit the record and the subform DOES have a blank row so I can add a record or more to it.

???
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 12

Accepted Solution

by:
pdebaets earned 2000 total points
ID: 39189112
Are the subform control's Link Master Fields and Link Child Fields properties set? What are they set to?

What is the record source of the parent form?

What is the record source of the subform?
0
 

Author Comment

by:SteveL13
ID: 39189175
The properties are both set to ... MatlsTransHeaderID
The record source of the parent form is ... tblMatlsTransHeader
The record source of the subform is ... tblMatlsTransDetail
0
 
LVL 12

Expert Comment

by:pdebaets
ID: 39189233
All looks good to me. Don't know why you're having a problem. Can you post a db with the form/subform with sample data?
0
 

Author Comment

by:SteveL13
ID: 39190665
I had a spelling error in the properties of the child form. Thanks for the help.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

636 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