Solved

Alternatives to Access Split Form

Posted on 2016-08-11
5
70 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

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…
Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

867 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

21 Experts available now in Live!

Get 1:1 Help Now