Home  Fees/Services  Access 2010 Template  Tutorials  Access Download  Articles  Search  Contact  Privacy  Links
Macro Programming Examples
Find Record DoCmd
 





DoCmd AddMenu
DoCmd ApplyFilter
DoCmd CancelEvent
DoCmd Close
DoCmd CopyObject
DoCmd DeleteObject
DoCmd FindRecord
DoCmd FindNext
DoCmd GotoControl
DoCmd HourGlass
DoCmd Min/Max/Restore
DoCmd OpenForm
DoCmd OpenQuery
DoCmd OpenReport
DoCmd OutputTo
DoCmd RunSQL
DoCmd SendObject
DoCmd TransferDatabase
DoCmd TransferText

Create Export Specs

 

Microsoft Office:
  MS Access 2003
  Access 2007
  Access 2010
  Access 2013


Docmd FindRecord Method in Access


The Access DoCmd.FindRecord method performs the Find Record action in Visual Basic. This command is often used in conjunction with the Docmd.FindNext. Below is show the FindRecord syntax and command line arguments:

DoCmd FindRecord Method

FindWhat: Required - an expression that evaluates to text, a number, or a date. This is where you put the information for which you want to search.

Match: Optional - AcFindMatch can be anyone of the following:

acAnywhere
acEntire     (default)
acStart

MatchCase: Enter True for a case-sensitive search and False for a search that is not case-sensitive. The default for this argument is False.

Search: Optional - AcSearchDirection can have any of the following values:

acDown
acSearchAll     (default)
acUp

SearchAsFormatted: Optional - use True to search for data as it is formatted and False to search for data as it is stored in the database. The default for this argument is False.

OnlyCurrentField: Optional - AcFindField. can have any of the following:

acAll
acCurrent     (default)

FindFirst: Optional - use True to start the search at the first record. Use False to start the search at the record following the current record. The default value for this argument is True.

Also see the Access Visual Basic FindFirst function for a recordsetclone.







Microsoft Office:
MS Access 2003
Access 2007
Access 2010
Access 2013



A Blue Claw Database Design Template:

Work Order Administration Software
 










A Blue Claw Database Design Article:

Learn How To Select A Consultant
 









Blue Claw Database Design Downloadable Tutorial:
Programming MS Access Security Alternative  



Contact Information

Copyright 2000-2014 Blue Claw Database Design