`
Private Sub Link_Click()
Dim OpenLink As String
Dim db As DAO.Database
Set db = CurrentDb
OpenLink = DLookup("Link", "dbo_tbl3_RankedLM")
FollowHyperlink OpenLink
End Sub
`My Access database has a SQL linked table from where I am pulling a txt datat type which has a hyperlink stored. I have put that link column in a Access Form as a button. So each row has it's own link button.
I am using Dlookup to get the hyperlink field and db but the link is not from the corresponding row, instead it's a random link from that table. I need help on how i can set a criteria to make sure it pulls the correct link.