onedizzydevil
Programmer
I am using the Indexing Service and an MP3 IFilter to index music files and I have all of the field names from MSDN and I can search it fine without too many problems; however, I want to be a to click on a "More Details" link and be able to show all the field data on a specific entry. I was trying to use the "WorkID" which is listed as the "Internal ID for document. This is used within Indexing Service."
In the Query I am using objQuery.Query = "{prop name=WorkID}"&Request.Querystring("WorkID" as it says in the MSDN instructions. But nothing shows up and I know it exisits because I received from a list of results on a previous page.
Below is the showDetails code on the page, I am sending in the this Querystring ?pageNo=1&showResults=0&showDetails=1&txtQuery=Buffet&WorkID=3259):
<!-- ::Start Section:: showDetails -->
<!-- ::Comments:: Variables Define at TOP -->
<%
if Request.Querystring("showDetails"="1" Then
Set objQuery = Server.CreateObject("ixsso.Query"
objQuery.Query = "{prop name=WorkId}"&Request.Querystring("WorkId"
objQuery.Columns = "WorkId, filename"
objQuery.Catalog = "D:\Index Server Catalogs\JukeBox"
objQuery.SortBy = "filename [a]"
Set rsQuery = objQuery.CreateRecordset("nonsequential"
%>
<%=rsQuery("filename"%>
<% end if %>
<!-- ::End Section:: showDetails -->
Thanks for any help on this matter.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."
In the Query I am using objQuery.Query = "{prop name=WorkID}"&Request.Querystring("WorkID" as it says in the MSDN instructions. But nothing shows up and I know it exisits because I received from a list of results on a previous page.
Below is the showDetails code on the page, I am sending in the this Querystring ?pageNo=1&showResults=0&showDetails=1&txtQuery=Buffet&WorkID=3259):
<!-- ::Start Section:: showDetails -->
<!-- ::Comments:: Variables Define at TOP -->
<%
if Request.Querystring("showDetails"="1" Then
Set objQuery = Server.CreateObject("ixsso.Query"
objQuery.Query = "{prop name=WorkId}"&Request.Querystring("WorkId"
objQuery.Columns = "WorkId, filename"
objQuery.Catalog = "D:\Index Server Catalogs\JukeBox"
objQuery.SortBy = "filename [a]"
Set rsQuery = objQuery.CreateRecordset("nonsequential"
%>
<%=rsQuery("filename"%>
<% end if %>
<!-- ::End Section:: showDetails -->
Thanks for any help on this matter.
Wayne Sellars
"Programming, today is a race between software developers, striving to build bigger and better idiot-proof programs, and the Universe, trying to produce bigger and better idiots. So far, Universe 1 - Programmers 0."