Solved

Obtaining SubForm Information from Main From

Posted on 2016-11-09
2
27 Views
Last Modified: 2016-11-10
I have a standard Mainform 'frmInstallPayHdr', subform 'frmInstallPaySub' form.  They are both bound forms 'tblInstallPayHdr' and 'tblInstal;lPaySub' respectively..

The link between the Main and Subform is InstallPayHdrID which is the unique autonumber primary key assigned to each InstallPlan.

From within 'frmInstallPayHdr' I would like to get a list of all the elements in 'frmInstallPaySub'.

My plan is to pull the list using ADO with a select string something like 'Select * from tblInstallPaySub  Where InstallPayHdrID (in sub table) = InstallpayHdrID (in main table) and a loop to read all the returned records.

Is there a better/easier way to get the list of elements in the subform?
0
Comment
Question by:mlcktmguy
2 Comments
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
Comment Utility
that is a good plan, but what is the purpose of doing this?
0
 
LVL 1

Author Closing Comment

by:mlcktmguy
Comment Utility
Thanks
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now