Code Examples

Set The ServerFilterByForm Property

acCmdServerFilterByForm

This code enables the ServerFilterByForm button in an Access 2002 run time application. See Knowledge Base Article Q283362 for more information.

'***************** Code Start *******************
'Orignal code from Microsoft site

Sub cmdSet_Click ()
  Me.ServerFilterByForm = True
  Me.Refresh
  DoCmd.RunCommand acCmdServerFilterByForm
End Sub

'****************** Code End ********************

© 1998 - 2011 Terry Wickenden TKW Design Site developed maintained and hosted by TKW Design. This site is best viewed at 1024 x 768. Optimised for Firefox.