A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help! Open and populate form based on selected data



 
 
Thread Tools Display Modes
  #1  
Old May 6th, 2008, 06:03 AM posted to microsoft.public.access.forms
Pattyt
external usenet poster
 
Posts: 6
Default Help! Open and populate form based on selected data

Hello,
I need some help. I have thought about this so much that I have confused
myself.
I am creating a DB that is supposed to track errors commited on insurance
applications. Each application has about 17 unique line items and the DB
needs to track which of those 17 items had errors, so one application may
have more than one error. There are 8 different applications and I have one
table that holds descriptions and ID's for all line items and all
applications (total of about 140 records).
My main form has general information and it is here where the user defines
what application is being checked. I would like to be able to open another
form with the line items related only to the application type defined in the
main form and then select which of those line items had errors.

I hope this makes sense and that someone can direct me to the next step.
  #2  
Old May 6th, 2008, 01:38 PM posted to microsoft.public.access.forms
Golfinray
external usenet poster
 
Posts: 1,597
Default Help! Open and populate form based on selected data

A combo box will allow you to select which particular file you want your form
to display. Use the combo box wizard to set up the field you want to use to
filter on.
After using the wizard and selecting a field, go to properties of the combo,
look in events, and pick the afterupdate event. Go to code builder and type:
Me.filter = "[thefilednametosearchon] = """ & Me.combo# & """"
Me.filteron = true
This should allow you to scroll through the combo to the file you want to
display.

"Pattyt" wrote:

Hello,
I need some help. I have thought about this so much that I have confused
myself.
I am creating a DB that is supposed to track errors commited on insurance
applications. Each application has about 17 unique line items and the DB
needs to track which of those 17 items had errors, so one application may
have more than one error. There are 8 different applications and I have one
table that holds descriptions and ID's for all line items and all
applications (total of about 140 records).
My main form has general information and it is here where the user defines
what application is being checked. I would like to be able to open another
form with the line items related only to the application type defined in the
main form and then select which of those line items had errors.

I hope this makes sense and that someone can direct me to the next step.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.