Hyperlink

nyrob609

Registered User.
Local time
Today, 06:03
Joined
May 22, 2009
Messages
46
Hi,

I am having problems creatling hyperlink for multiple records. We have a website that has providers privileges and each is different because of name or deparment so in a query I had the system create the hyperlink address based on data fields.

IIf([DeptCode]="Midwives" Or [DeptCode]="Nurse Practitioners" Or [DeptCode]="Psychologist" Or [DeptCode]="Optometrists","http://jmcvmntapp05/sites/medicalaffairs/Privileges/ALLIED HEALTH COMPETENCIES/" & [DeptCode] & "/" & [LAST NAME] & ",%20" & [FIRST NAME] & "%20-%20" & [DeptCode] & ".pdf","http://jmcvmntapp05/sites/medicalaffairs/Privileges/" & [DeptCode] & "/" & [LAST NAME] & ",%20" & [FIRST NAME] & "%20-%20" & [DeptCode] & ".pdf")

Result http://jmcvmntapp05/sites/medicalaffairs/Privileges/Radiology/Alterman, Daniel - Radiology.pdf

But when I click nothing opens so I checked the Hyperlink box and on Edit option I see the address above show only in the text display field not in address.

I manually update the address for this one record and it works but I have another 858 records and I also will have new providers.

How can I create hyperlink but to show in the address field. Is there VBA code I could use or another way or am I missing something in the query...

I am attaching a copy of the screen.

Please help...lol...

thank you all for your help....
 

Attachments

  • hyperlinkissue.JPG
    hyperlinkissue.JPG
    46.1 KB · Views: 128
Don't try storing as a hyperlink. Store the path as text and then use the CLICK event of a text box to open using

FollowHyperlink Me.TextBoxName
 
thank you that work great fine...
 

Users who are viewing this thread

Back
Top Bottom