Rev 119 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'====================================================='| |'| RequestReleaseCombo.asp |'| |'=====================================================%><%Option explicit' Good idea to set when using redirectResponse.Expires = 0 ' always load the page, dont store%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/_rtree_common.asp"--><%'------------ Variable Definition -------------Dim rsQryDim OutString'------------ Constants Declaration -----------'------------ Variable Init -------------------'----------------------------------------------%><%'------------------------------------------------------------------------------------------------------------------------'------------------------------------------------------------------------------------------------------------------------%><%'------------------------ MAIN LINE ---------------------------------If (Request("proj_id")="") ThenResponse.write "ERROR: Missing Parameters at "& ScriptNameEnd If'--------------------------------------------------------------------%><%OraDatabase.Parameters.Add "PROJ_ID", Request("proj_id"), ORAPARM_INPUT, ORATYPE_NUMBEROraDatabase.Parameters.Add "RTAG_ID", Request("rtag_id"), ORAPARM_INPUT, ORATYPE_NUMBERSet rsQry = OraDatabase.DbCreateDynaset( GetQuery("ReleasesMoveCombo.sql"), cint(0))OraDatabase.Parameters.Remove "PROJ_ID"OraDatabase.Parameters.Remove "RTAG_ID"OutString = NULLWhile ((NOT rsQry.BOF) AND (NOT rsQry.EOF))OutString = OutString & rsQry("rtag_name") &"|-|"& rsQry("rtag_id") &"|+|"rsQry.MoveNextWEndIf NOT IsNull( OutString ) Then' Remove last ;OutString = Left( OutString, Len(OutString) - 3 )End IfrsQry.CloseSet rsQry = Nothing' Render outputResponse.write OutString%><%Call Destroy_All_Objects%>