Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
NickHoff
Specialist
Specialist

URL from Access

I'm putting a URL in a straight table, and enabling the references a link, but the formatting of my url is preventing it from working.  Currently it's formatted with # before and # where it ends like: #http://www.blah.com#.  Is there a work around to get the link to work?

Labels (1)
1 Solution

Accepted Solutions
Colin-Albert
Partner - Champion
Partner - Champion

Purgechar(URL, '#')   will remove all occurrences of # in the URL data.

This is best done in the load script.

View solution in original post

8 Replies
Josh_Good
Employee
Employee

The syntax is LinkName<URL>Link as in Google<ULR>www.google.com  you will need to strip out the # on each end.  Also don't forget to set the expression to "Link".

NickHoff
Specialist
Specialist
Author

Would you use something like:

textbetween('<Table.TuppleName>','#', ') on the load to strip the #'s, the field in the database has thousands of different links, so when I preform the load for the straight table how do I get it to show all the links without going into each one to change the syntax?

Not applicable

Do you wan the URL to have # before and After, Is that a requirement or that how your data is ?

NickHoff
Specialist
Specialist
Author

The URL is stored that way in the data.  Preferably I would like to remove the # and have a clickable URL in a straight table in a field called URL.

Not applicable

replace(MaxString(URL),'#','')  &  '<URL>'  & replace(MaxString(URL),'#','')

you have to use this in the expression , Not load statement

NickHoff
Specialist
Specialist
Author

replace(MaxString(URL),'#','')  &  '<URL>'  & replace(MaxString(URL),'#','') as URL

gives me an invalid expression error

Josh_Good
Employee
Employee

I don't think you need the MaxString statement.  Try:

Replace(URL,'#','') & '<URL>' & Replace(URL,'#','')

Colin-Albert
Partner - Champion
Partner - Champion

Purgechar(URL, '#')   will remove all occurrences of # in the URL data.

This is best done in the load script.