BUG: Manager / View Orders By Month Cannot Display More Than One Page of OrdersID: Q216588
|
When viewing orders by month with a Site Server Commerce 3.0 site, only a single page of orders can be viewed. This will be true only if the orders being viewed are not for the current month. If this is the case, selecting the next record (>) or next page (>>) buttons displays the first page of records for the current month.
The Active Server Pages (ASP) page Order_day.asp is used to display the results of the "View Orders By Month" query. Selecting the Update button on this page posts a query for orders associated with the specified month and year. The month and year are extracted from the HTTP post by the Date_args2var.asp ASP file and a SQL query is constructed. If more than a page of records exist, the next record (>) or next page (>>) buttons can be selected to view them. The next record (>) or next page (>>) buttons post a query based on a <form> contained in the List.asp file. This form does not include the month and year <INPUT> tags as did the initial post. When this post is processed by Date_args2var.asp, the lack of a posted month and year causes the month and year variables to be reset to the current month and year.
To work around this problem, the <FORM> contained in the List.asp file must include <INPUT> tags corresponding to the month and year initially specified. The following IMONTH and IYEAR Hidden tags should be added to this file.
<% End If %>
<INPUT TYPE="Submit" NAME="list_PagingMove" VALUE=" Requery ">
<INPUT TYPE="Hidden" NAME="ListAbsolutePage" VALUE="<% =<BR/>
ListAbsolutePage %>">
<INPUT TYPE="Hidden" NAME="IMONTH" VALUE="<%=imonth%>">
<INPUT TYPE="Hidden" NAME="IYEAR" VALUE="<%=iyear%>">
...
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
Additional query words:
Keywords : prodsitesrv3
Version : winnt:3.0
Platform : winnt
Issue type : kbbug
Last Reviewed: March 31, 1999