<% ' ' Orders by Customer Report ' MaxRecs = 10 ' maximum records per report ZoomURL = "OrderDtlreport.asp" ' name of zoom file. If blank none. RowId = request("RowId") ' if non-zero, only run report for this Id StartRowId = request("Start") ' if running for all, where to start at %> Order Report <% ' LoginRights: If 1 user has full rights, if 0 or -1, browse only rights %> <% LoginRights = request.cookies("Rights") %> " TYPE="text/css"> <% ' DebugMode =1 ' uncomment this for page get/post debug help %> <% If RowId <>"" then %>

Orders by Customer Report

<% oOrderReport.call "msg_SetHRefName", ZoomUrl %> <% EndRowId = oOrderReport.call("get_RunOrderReport", RowId) %> Previous Page <% else %>

Orders by Customer Report

<% oOrderReport.call "msg_SetHRefName", ZoomUrl %> <% EndRowId = oOrderReport.call("get_RunAllOrderReport", StartRowId, MaxRecs) %> <% If StartRowId <>"" then %> Previous Page <% end if %> <% If EndRowId<>"" then %> Next Page <% end if %> <% end if %>