<%@Language = JAVASCRIPT%> <% //Response.Write( Request.QueryString() + "
" ) //Response.Write( "form: " + Request.form() + "
" ) var SolutionID = new String( Request( "SolutionID" ) ) var ReturnURL = new String( Request("ReturnURL" ) ) var Page = new String( Request("Page") ) var PageSize = new String ( Request("PageSize") ) var iIndex = new String( Request("iIndex") ) var StoredProc = new String( Request("SP" ) ) //stored proc to execute var Param0 = new String( Request("Param0") ) var Param1 = new String( Request("Param1") ) //SP Param1-6 var Param2 = new String( Request("Param2") ) var Param3 = new String( Request("Param3") ) var Param4 = new String( Request("Param4") ) var Param5 = new String( Request("Param5") ) var Param6 = new String( Request("Param6") ) if ( Page == "undefined" ) Page=1 if ( PageSize == "undefined" ) PageSize = 100 if ( ReturnURL == "undefined" ) ReturnURL="SEP.asp" if( iIndex == "undefined" ) iIndex = 0 if ( SolutionID == "undefined" ) { Response.Write("Invalid SolutionID, please select a valid solution ID
") Response.End } if( SolutionID == "0" ) { Response.Write("

You can't link buckets to a solution that hasn't been created, silly . . .geesh

") Response.End() } %>

Link Buckets to SolutionID <%=SolutionID%>

Please select the type of solution/response this will be. If you choose response, the user will be allowed to track this incident. An item marked as a solution, will not be tracked and will be added to the bucketcounts as a solved bucket.

<% if ( StoredProc == "CUSTOM" ) Response.Write("Custom Query - No paging" ) else { %> Prev Page   Page: <%=Page%>   Next page <% } %>

Current Buckets Linked to this Solution:

All Bucket ID Solution ID
<% if ( StoredProc == "CUSTOM" ) { if ( Param0.toString() == "BUCKETDATA" ) { var query = "SELECT TOP " + Param1 + " bHasFullDump, iIndex, BucketID, CrashCount, SolutionID, BugID, FollowUP, DriverName FROM " query += "DBGPortal_BucketDataV3 " + Param2 + " ORDER BY " + Param3 + " " + Param4 } else { var query = "SELECT TOP " + Param1 query += " bFullDump, SKU, Source, BucketID, FilePath, BuildNo, EntryDate, Email, Description from dbgportal_crashdatav3 " query += Param2 query += " order by " + Param3 + " " + Param4 } } else { if ( Param0.toString() != "undefined" ) { Param0 = ",'" + Param0 + "'" } else { Param0 = "" } //var query = SP + " '" + Page + "'" + Param0 var query = "DBGPortal_GetAllBuckets " + iIndex } //try { var g_DBConn = GetDBConnection ( Application("CRASHDB3") ) //var rsResults = g_DBConn.Execute( "SEP_GetSolutionSolvedBuckets " + SolutionID ) //Response.Write("Query: " + query ) var rsResults = g_DBConn.Execute( query ) var altColor = 'sys-table-cell-bgcolor2' while ( !rsResults.EOF ) { if ( altColor == 'sys-table-cell-bgcolor2' ) altColor = 'sys-table-cell-bgcolor1' else altColor = 'sys-table-cell-bgcolor2' var BucketID = rsResults("BucketID") //Response.Write("\n" ) Response.Write("\n" ) if ( String(rsResults("SolutionID")).toString() != "null" ) Response.Write("\n" ) else Response.Write("\n" ) var iIndex = new String( rsResults("iIndex" ) ) rsResults.MoveNext() } } //catch( err ) { //Response.Write("err: " + err.description +) } %>
") Response.Write("
" + BucketID + "" + rsResults("SolutionID") + "
 
All Bucket ID Type
<% var query = "SEP_GetSolutionSolvedBuckets " + SolutionID //try { var g_DBConn = GetDBConnection ( Application("SOLUTIONS3") ) var rsResults = g_DBConn.Execute( query ) var altColor = 'sys-table-cell-bgcolor2' while ( !rsResults.EOF ) { if ( altColor == 'sys-table-cell-bgcolor2' ) altColor = 'sys-table-cell-bgcolor1' else altColor = 'sys-table-cell-bgcolor2' var BucketID = rsResults("BucketID") Response.Write("\n" ) Response.Write("\n" ) if ( rsResults("Type")=="1" ) Response.Write("\n" ) else Response.Write("\n" ) //Response.Write("\n" ) rsResults.MoveNext() } } //catch( err ) { //Response.Write("err: " + err.description +) } %>
" + BucketID + "Solution
Response
" + rsResults("Type") + "
<% CreateQueryBuilder( "AdvancedQuery", "ExecuteQuery", "SaveQuery", SearchFields, "Search Bucket Data:" , "SEP_LinkBucketsToSolution.asp", "Param0=BUCKETDATA&SolutionID=" + SolutionID ) //CreateQueryBuilder( "AdvancedCrashQuery", "ExecuteQuery", CrashSearchFields, "Search Crash Data: ", "DBGPortal_DisplayCrashQuery.ASP" ) %>