-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathunion_view.asp
115 lines (111 loc) · 3.71 KB
/
union_view.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<%@ language="JavaScript" %>
<!DOCTYPE html>
<!--
///////////////////////////////////////////////////////////////////////////////
// Product : Online Tools(tm)
//
// Series : Dovetail Software Development Series(tm)
//
// Name : union_view.asp
//
// Description : Union View Details
//
// Author : Dovetail Software, Inc.
// 4807 Spicewood Springs Rd, Bldg 4 Suite 200
// Austin, TX 78759
// (512) 610-5400
// EMAIL: [email protected]
// www.dovetailsoftware.com
//
// Platforms : This version supports Clarify 9.0 and later
//
// Copyright (C) 2001-2012 Dovetail Software, Inc.
// All Rights Reserved.
///////////////////////////////////////////////////////////////////////////////
-->
<html>
<head>
<meta http-equiv="expires" content="0">
<meta name="KeyWords" content="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="Shortcut Icon" href="favicon.ico">
<link href="css/<%=Request.Cookies("boltTheme")%>bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/tablesorter.css" rel="stylesheet">
<link href="css/columnSelect.css" rel="stylesheet">
<!--#include file="inc/config.inc"-->
<!--#include file="inc/adojavas.inc"-->
<%
var type_id = Request("type_id");
var rsSpecRelID;
var FSO = Server.CreateObject("Scripting.FileSystemObject");
var udl_file = FSO.GetFile(dbConnect.replace("File Name=","").replace(/\\/g,"\\\\"));
%>
<!--#include file="inc/ddonline.inc"-->
<%
var type_name = GetTableName(type_id);
var sPageTitle = "Details for Union View: " + type_name;
var sPageType = "Schema";
//Update the Recent Cookie Collection
UpdateCookies();
%>
<!--#include file="inc/quicklinks.inc"-->
<!--#include file="inc/viewDetails.js"-->
</head>
<body>
<!--#include file="inc/navbar.inc"-->
<div class="container-fluid">
<div class="row">
<div class="col-6 offset-3 card bg-faded">
<%
//Get the base table
var TheLink = getBaseTableLink();
outputViewHeader("Union ", TheLink);
%>
</div>
<div class="col-3">
<%
var select_sql = "select * from table_" + type_name;
var encoded_select_sql = Server.URLEncode(select_sql);
//See if it has filter SQL
var filterSQL = getFilterSQL();
var unionViewsList = [];
hyperlinksTable();
%>
</div>
</div>
<div class="row">
<div id="fieldsContainer" class="col-12">
<% outputViewFields(); %>
</div>
</div>
<!--#include file="inc/recent_objects.asp"-->
<!--#include file="inc/quick_links.asp"-->
</div>
</body>
<script type="text/javascript" src="js/jquery-3.0.0.min.js"></script>
<script type="text/javascript" src="js/tether.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script>
<script type="text/javascript" src="js/columnSelect.js"></script>
<script type="text/javascript" src="js/addEvent.js"></script>
<script type="text/javascript">
$(document).ready(function() {
var path = window.location.pathname;
var page = path.substr(path.lastIndexOf("/")+1);
$("ul.navbar-nav li a[href$='" + page + "']").parent().addClass("active");
$(".navbar").find(".connected").text("<%=connect_info%>");
document.title = "Bolt: <%=sPageTitle%>";
addEvent(window, "hashchange", function() { scrollBy(0, -50) });
$(".tablesorter").tablesorter();
$(".tablesorter tr").click(function () {
$(this).children("td").toggleClass("highlight");
});
});
</script>
</html>
<%
FSO = null;
udl_file = null;
%>