<% ' ' Sales Person Listing ' MaxRecs = 20 ' maximum records per report ZoomURL = "SalesP.asp" ' name of zoom file. If blank none. RunReport = (Request("RunReport")<>"") %> Sales Person Listing <% ' 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 RunReport then '-------------run the report ------------- %>

Sales Person Listing

<% Index = request("Index") ' The last selected Index number StartRowId = request("Start") oSalesP.call "msg_SetHRefName", ZoomUrl EndRowId = oSalesP.call("get_RunSalesPList", Index, StartRowId, MaxRecs) %> <% If StartRowId <>"" then %> Previous Page <% end if %> <% If EndRowId <> "" then %> Next Page <% end if %>
New Report <% else '-------------set up the report ------------- %>

Sales Person Listing

Report Order <% oSalesP.call "get_CreateFindIndexCombo", "Index", "Salesp", Index %>

<% end if %>