Solved

Alternatives to Access Split Form

Posted on 2016-08-11
5
56 Views
Last Modified: 2016-08-31
I am creating a access database in which I want the main form to be a split form.  Is there a way to emulate the split form functionality without actually creating a split form?
I want to get away from actually using a "split form" because of the limitations of having a set datasource.   I feel that if I am using a split form with a set datasource eventually I will hit a wall with my dbase logic as it is developed.
0
Comment
Question by:tike55
5 Comments
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 83 total points
ID: 41752670
Sure .... just use a Sub Form instead.  Sub Form on a Main Form.
You have MUCH more control that way.
1
 
LVL 34

Accepted Solution

by:
PatHartman earned 251 total points
ID: 41752742
I've done this two ways.  One method uses the single record as the main form with a subform for the "list".  The other method uses an unbound main form and two bound subforms.  One for the single record and one for the "list".  I have a preference for the second method because I prefer the list to be more prominent and I can accomplish that more easily by using two subforms on an unbound main form.

The recordSource for the single subform is a query that references the list subform for criteria.

Where MyID = Forms!mainform!sfrmList!MyID

Then in the current event of the list subform, you requery the single view subform.

Forms!mainform.Form.sfrmSingle.Requery
0
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 83 total points
ID: 41752752
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 251 total points
ID: 41752785
The concept of the article Rey pointed to is the typical 1-many format where the 1-side controls what shows in the many-side.  You are doing this backwards so you cannot use master-child links to control the syncing of the two forms.  You have to control it some other way.  I use queries with criteria that references the list type subform.
0
 
LVL 31

Assisted Solution

by:Helen_Feddema
Helen_Feddema earned 83 total points
ID: 41754173
I wrote an Access Archon on this topic a while back ("Fake Split Form" for older Access versions).  Here is a link to the article (with sample database):

http://www.helenfeddema.com/Files/accarch192.zip
and here is a screen shot of the form:
Fake split form
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
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 …
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 …

744 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

12 Experts available now in Live!

Get 1:1 Help Now