<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="query" />
<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "DOC04"
	title	= "バージョン差分"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:value command="SQL">
		SELECT VERNO VERNO0 FROM GF25 GROUP BY VERNO ORDER BY VERNO DESC
</og:value>

<og:value command="SQL">
	SELECT VERNO OLDVAR FROM GF25 WHERE VERNO &lt;&gt; '{@VERNO0}' GROUP BY VERNO ORDER BY VERNO DESC
</og:value>

<form method="GET" action="forward.jsp" target="RESULT" onSubmit="timeSet();">

	<!-- 変更はここから -->
	<table >
		<tr>
			<og:select name="VERNO">
				<og:queryOption defaultVal="{@VERNO0}">
						SELECT VERNO,VERNO FROM GF21 GROUP BY VERNO ORDER BY 1 DESC
				</og:queryOption>
			</og:select>
			<og:column name="OLDVAR"  defaultVal="{@OLDVAR}" lbl="Old" size="10" />
			<og:select name="TYPE" >
				<og:option lbl="DOC01"	value="DOC01" />
				<og:option lbl="DOC02"	value="DOC02" />
				<og:option lbl="DOC03"	value="DOC03" />
			</og:select>
		</tr>
	</table>

	<og:queryButton />
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
