Quick question,
I’m looking ahead here, on our helpdesk and I can see that in the search facility the years 2000 – 2010 are available, next year will the helpdesk update itself to 2001-2011 automatically or will this need to be done manually?
Many thanks,
Wayne
Upon reviewing ../rep/search.asp, I found lines 282 & 316 to contain the code For count = 2000 to 2010. I modified this and then saved the asp page. Herre is what I changed mine too:
Before modification: For count = 2000 to 2010
After modification: For count = 2000 to 2020
I hope this helps!
Kevin
Hi Wayne -
Did you ever get an answer back on your post? I too am looking ahead and like you, I too am wondering about the search date ranges.
Thanks!
Thank you Kevin, worked a treat!
You're welcome.
In addition to res\search.asp,
admin\reports.asp also has this issue. Line 85 and 111 in my version, although it may have been modified internally by my organization (other pages have been).
i am having the same problem, i went rep/search.asp and change For count = 2000to 2020, but did not work .., Did you reset the server or did you reset the website
year_adj = Year(now) + year_adj For count = 2000 to 2020 - I change the years, but did not work. Did you reset server or the website If count = year_adj Then Response.Write("<option value=""" & count & """ selected>" & count & "</option>") Else Response.Write("<option value=""" & count & """>" & count & "</option>") End If Next %> </select> </td> <td> <%=lang(cnnDB, "through")%> <select name="e_month" size="1"> <% For count = 1 to 12 If count = Month(now) Then Response.Write("<option value=""" & count & """ selected>" & count & "</option>") Else Response.Write("<option value=""" & count & """>" & count & "</option>") End If Next %> </select> / <select name="e_day" size="1"> <% For count = 1 to 31 If count = Day(now) Then Response.Write("<option value=""" & count & """ selected>" & count & "</option>") Else Response.Write("<option value=""" & count & """>" & count & "</option>") End If Next %> </select> / <select name="e_year" size="1"> <% For count = 2000 to 2020 If count = Year(now) Then Response.Write("<option value=""" & count & """ selected>" & count & "</option>") Else Response.Write("<option value=""" & count & """>" & count & "</option>") End If
Thank you. That worked for me too!
I simply edited rep/search.asp and saved the changes.