Solved

Access Multi purpose form

Posted on 2015-01-22
4
205 Views
Last Modified: 2015-02-19
I would like to create a form that does two things:
It will provide an alphabetized listing of the contents of one table (field one, field two, field three - sort by field 1)

If the information is not contained in the above, the second half will give the person the ability to add the information into these three fields.

I can easily get the second done, my problem seems to be getting the first half on the same form.

Is this possible?   Access 2013
0
Comment
Question by:mjburgard
4 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 40565024
use a query as the record source of the form instead of the table

sample query

select field1, field2, field3 from TableX
Order by Field1
0
 
LVL 34

Assisted Solution

by:PatHartman
PatHartman earned 250 total points
ID: 40565321
If you are using Access 2007 or newer, you can create a split form.  One part of the form shows the records as a list, the other part shows single record view for the record that is selected in the list - or a new record.

I don't like the way the Access split form works so I tend to build my own.  You can do that with an unbound main form and two bound subforms.  One for a list view and the other for a single record view.  In the Current event of the list form, you requery the single form.  The single form has a RecordSource query that references the list form.  So  -

WHERE myfield = Forms!mainform!lstsubform.Form!myfield

And the code goes into the Current event of the list subform.

Me.Parent.lstsubform.Requery
0
 
LVL 31

Accepted Solution

by:
Helen_Feddema earned 250 total points
ID: 40567268
I agree about the usefulness of the Access 2007 split form.  For versions before 2007, see my Access Archon article on creating a fake split form:

http://www.helenfeddema.com/Files/accarch192.zip
0
 
LVL 1

Author Comment

by:mjburgard
ID: 40619292
Both of these helped a lot.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

863 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

22 Experts available now in Live!

Get 1:1 Help Now