Subversion Repositories DevTools

Rev

Rev 6770 | Rev 6775 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6770 Rev 6774
Line 61... Line 61...
61
        "    blat_servers bs," &_
61
        "    blat_servers bs," &_
62
        "    blat_projects bp" &_
62
        "    blat_projects bp" &_
63
        " WHERE" &_
63
        " WHERE" &_
64
        "    bs.BLAT_ID = bp.BLAT_ID (+)" &_
64
        "    bs.BLAT_ID = bp.BLAT_ID (+)" &_
65
        "    AND bp.proj_id(+) = :PROJ_ID" &_
65
        "    AND bp.proj_id(+) = :PROJ_ID" &_
66
        "    AND (bp.BLAT_ID is NOT NULL OR bs.BLAT_FULL = 'Y')" &_
66
        "    AND (bp.BLAT_ID is NOT NULL OR bs.BLAT_FULL in ('P', 'E'))" &_
67
        " ORDER BY" &_
67
        " ORDER BY" &_
68
        "    upper(blat_display_name) ASC"
68
        "    upper(blat_display_name) ASC"
69
 
69
 
70
   OraDatabase.Parameters.Add "PROJ_ID", parProjId, ORAPARM_INPUT, ORATYPE_NUMBER
70
   OraDatabase.Parameters.Add "PROJ_ID", parProjId, ORAPARM_INPUT, ORATYPE_NUMBER
71
   Set rsQry = OraDatabase.DbCreateDynaset( sQry, cint(0) )
71
   Set rsQry = OraDatabase.DbCreateDynaset( sQry, cint(0) )
Line 76... Line 76...
76
      Dim btnText, btnClass, btnDisable, inUse, replicationMode
76
      Dim btnText, btnClass, btnDisable, inUse, replicationMode
77
 
77
 
78
      inUse = rsQry("INUSE") > 0 
78
      inUse = rsQry("INUSE") > 0 
79
 
79
 
80
      replicationMode = "Unknown"
80
      replicationMode = "Unknown"
81
      If rsQry("blat_full") = "Y" Then
81
      If rsQry("blat_full") = "P" Then
82
          replicationMode = "Repository"
82
          replicationMode = "All Projects"
-
 
83
      ElseIf rsQry("blat_full") = "E" Then
-
 
84
          replicationMode = "Entire Archive"
83
      ElseIf  rsQry("inUse") > 0 Then
85
      ElseIf  rsQry("inUse") > 0 Then
84
          replicationMode = "Project"
86
          replicationMode = "Project"
85
      End If
87
      End If
86
 
88
 
87
      ' BEGIN ROW
89
      ' BEGIN ROW