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  

Filtering



 
 
Thread Tools Display Modes
  #1  
Old February 5th, 2010, 04:47 PM posted to microsoft.public.access.forms
Jacob
external usenet poster
 
Posts: 30
Default Filtering

I have an Access 2003 Inventory program. On my main equipment form, I have a
drop down to allow the client to filter on a part number. I used the after
update to fire the code which is this...

Private Sub IDS_AfterUpdate()

DoCmd.GoToControl "PartNumber"
DoCmd.FindRecord PartNumber
DoCmd.GoToControl "Type"

End Sub

This should be filtering my records to that part number but it is not
working. Does anyone have an idea?


Jacob


  #2  
Old February 5th, 2010, 04:59 PM posted to microsoft.public.access.forms
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default Filtering

Try using the 3rd choice on the combobox (dropdown) wizard. It will write
the code you need to find a part number.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Jacob" wrote in message
...
I have an Access 2003 Inventory program. On my main equipment form, I have
a drop down to allow the client to filter on a part number. I used the
after update to fire the code which is this...

Private Sub IDS_AfterUpdate()

DoCmd.GoToControl "PartNumber"
DoCmd.FindRecord PartNumber
DoCmd.GoToControl "Type"

End Sub

This should be filtering my records to that part number but it is not
working. Does anyone have an idea?


Jacob



  #3  
Old February 5th, 2010, 05:02 PM posted to microsoft.public.access.forms
Jacob
external usenet poster
 
Posts: 30
Default Filtering

LOL...what a blond moment! Thanks...worked great!
"Arvin Meyer [MVP]" wrote in message
...
Try using the 3rd choice on the combobox (dropdown) wizard. It will write
the code you need to find a part number.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com


"Jacob" wrote in message
...
I have an Access 2003 Inventory program. On my main equipment form, I have
a drop down to allow the client to filter on a part number. I used the
after update to fire the code which is this...

Private Sub IDS_AfterUpdate()

DoCmd.GoToControl "PartNumber"
DoCmd.FindRecord PartNumber
DoCmd.GoToControl "Type"

End Sub

This should be filtering my records to that part number but it is not
working. Does anyone have an idea?


Jacob





 




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 05:00 AM.


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