Microsoft KB Archive/216588

= BUG: Manager / View Orders By Month Cannot Display More Than One Page of Orders =

Article ID: 216588

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Site Server 3.0 Commerce Edition

-



This article was previously published under Q216588



SYMPTOMS
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.



CAUSE
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 contained in the List.asp file. This form does not include the month and year  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.



RESOLUTION
To work around this problem, the  contained in the List.asp file must include  tags corresponding to the month and year initially specified. The following IMONTH and IYEAR Hidden tags should be added to this file.

<% End If %>            ListAbsolutePage %>">

"> "> ...



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Steps to Reproduce Behavior

 * 1) Set the date on the server to a previous month and enter more than a page of orders.
 * 2) Reset the date on the server to the correct date.
 * 3) Using the MSPress30/manager pages, view the "Orders by Month" for the orders previously entered. You should find that more than a page of orders exist.
 * 4) Select the next record or next page buttons. Orders for the current month will appear.

Keywords: kbbug KB216588

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.