J
JohnB762 via AccessMonster.com
Hello to everybody,
I have a transparent button on an image.
With a click of mouse I would like to open a form filtered. I tryed the
following code, but doesn't work.
Private Sub Fossa6_Click()
Dim stdocname As String
Dim stLinkCriteria As String
stdocname = "tblCimitero"
stLinkCriteria = "[Tipologia]=" & Me![Fossa6]
DoCmd.OpenForm stdocname, , , stLinkCriteria
End Sub
Many thanks for your help.
Regards
John
I have a transparent button on an image.
With a click of mouse I would like to open a form filtered. I tryed the
following code, but doesn't work.
Private Sub Fossa6_Click()
Dim stdocname As String
Dim stLinkCriteria As String
stdocname = "tblCimitero"
stLinkCriteria = "[Tipologia]=" & Me![Fossa6]
DoCmd.OpenForm stdocname, , , stLinkCriteria
End Sub
Many thanks for your help.
Regards
John