Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / May 2007

Tip: Looking for answers? Try searching our database.

filter current record with VBA

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jay - 31 May 2007 16:30 GMT
i am trying to filter the current record by clicking "cmdUpdate".
i have tried many many things.

Private sub cmdUpdate_click()

docmd.applyfilter ,
...CurrentRecord
...me.txtID.value
...txtID.value
...ID.value
..etc..

nothing seems to filter any results. any suggestions?
KARL DEWEY - 31 May 2007 17:10 GMT
I am confused.   How do you filter a single record.  

If you have one record how can you filter?

Signature

KARL DEWEY
Build a little - Test a little

> i am trying to filter the current record by clicking "cmdUpdate".
> i have tried many many things.
[quoted text clipped - 11 lines]
>
>    
jay - 31 May 2007 17:30 GMT
I have form that takes info from a query.  None of the data can be edited.  I
want to click "cmdUpdate"  to filter the current record...or filter the
autonumber "ID", which is displayed in "txtID" for the current record). and i
am then going to set the setting to allow it to be edited.  Basically I just
want to single out the current record I am viewing, if that makes sense.

> I am confused.   How do you filter a single record.  
>
[quoted text clipped - 15 lines]
> >
> >    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.