« Return to the main article
Here is the code for my previous and next links:
Previous
ThisDBW := @ReplaceSubstring (@Subset (@DbName; -1); "\\" : " "; "/" : "+"); @If((@Text(Start)>"1"); "{<a class=ul href=\"/" + ThisDBW + "/Search?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start - Count) + "&Count=" + @Text(Count) + "&SearchWV=1&SearchFuzzy=1\"><<previous</a>}"; "<<previous")
Next
ThisDBW := @ReplaceSubstring (@Subset (@DbName; -1); "\\" : " "; "/" : "+"); @If((Hits >= Count); "{<a class=ul href=\"/" + ThisDBW + "/Search?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start + Count) + "&Count=" + @Text(Count) + "&SearchWV=1&SearchFuzzy=1\">next>></a>}"; "next>>")
Ed's Note: Replace {} brackets with [] brackets.
Here is the code for my previous and next links:
Previous
ThisDBW := @ReplaceSubstring (@Subset (@DbName; -1); "\\" : " "; "/" : "+"); @If((@Text(Start)>"1"); "{<a class=ul href=\"/" + ThisDBW + "/Search?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start - Count) + "&Count=" + @Text(Count) + "&SearchWV=1&SearchFuzzy=1\"><<previous</a>}"; "<<previous")
Next
ThisDBW := @ReplaceSubstring (@Subset (@DbName; -1); "\\" : " "; "/" : "+"); @If((Hits >= Count); "{<a class=ul href=\"/" + ThisDBW + "/Search?SearchView&Query=" + @ReplaceSubstring(Query; " "; "+") + "&Start=" + @Text(Start + Count) + "&Count=" + @Text(Count) + "&SearchWV=1&SearchFuzzy=1\">next>></a>}"; "next>>")
Ed's Note: Replace {} brackets with [] brackets.