Is Hyperlink Property help required

Singlespeed

Registered User.
Local time
Yesterday, 23:26
Joined
Jun 5, 2009
Messages
33
I am trying to run a report from a hyperlink row, I have got that far, but I want the report to open using the value I click on in its underlying query.

I tried referenceing the form field "case" in the query but that didnt work:mad:

Can you tell me a quick and easy way to do this? :confused:

original.jpg
 
In the click event of that control you should have

DoCmd.OpenReport "ReportName", acViewPreview, , "[Case]=" & Me.Case

If Case is text

DoCmd.OpenReport "ReportName", acViewPreview, , "[Case]=" & Chr(34) & Me.Case & Chr(34)
 
Bob

Many thanks, that worked a treat,

S
 

Users who are viewing this thread

Back
Top Bottom