There are two ways to do it.
1) Search for the text using
If WindowName.StaticText("Textname").Exists ()
In this one we use GetRect and loop to move to the object(in this case link) on right side of the text and once the link is encountered, we code to click it. If you give me the exact names of the objects I can give the right code.