cancel
Showing results for 
Search instead for 
Did you mean: 

UPDATED: How do I get answer links to work?

Breck_Carter
Participant
1,714

When I right mouse - Copy link address on the "link" link below the answer to this particular question, I get a link that goes to the question itself, not the answer.

This is what gets generated by the "link" link...

http://sqlanywhere-forum.sap.com/questions/6508/can-select-count-be-relied-upon-to-be-slow/6509

This is what it should generate (at least, this is what works)...

http://sqlanywhere-forum.sap.com/questions/6508/can-select-count-be-relied-upon-to-be-slow#6509
VolkerBarth
Contributor

That sounds much easier than my suggestion but in Breck's sample that exact link leads to the question, not to the answer. And that's why he asked, I bet:)

0 Kudos

It normally works ok for me, except if the answer has been accepted (like your example), although that might just be coincidence ?

VolkerBarth
Contributor
0 Kudos

Ah, that might be the point. I also tried several answer links, and most worked but not all - and that seem to be the accepted ones. So I would agree on your observation.

Breck_Carter
Participant
0 Kudos

@Jonathan: Did you try it on the example given? Because what you describe is exactly what does not work. I have expanded this question to make it clearer.

Accepted Solutions (0)

Answers (1)

Answers (1)

VolkerBarth
Contributor

I have learnt to use the following syntax when linking to answers (both in SQLA and here):

"Link of the question#number of answer".

But how do you get the answer number?

  1. Just move the mouse over the answer's vote or edit buttons and check the link shown in the status bar. Or try to edit it (which might require the necessary rep. points) and note the number in the address bar.
  2. Add this (prefixed by a "#" to the edit link).

I usually omit the question title in the link, so I would use the following in your sample:

http://sqlanywhere-forum.sap.com/questions/4827#4828

Breck_Carter
Participant

Workarounds are nice... but in this case I'm holding out for "fix" 🙂

VolkerBarth
Contributor
0 Kudos

Well, to be honest, I had totally ignored the "link" button so far - therefore I had not thought of my tip as a workaround...

FWIW, in SQLA, the link button always adds the "#AnswerNumber" anchor link, and links work for accepted answers, too. That anchor link seems to be missing here.