<?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="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GF2010"
	title	= "テーブル"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:entry command = "{@command}" >
	<og:columnSet command="{@command}" columnId="JKENSU" action="TBLSET" value="[TABLE_NAME]" />
</og:entry>
<og:columnEditor column="JKENSU" editor="QUERY" parameter="select count(*) from $1" dbid="{@DBID}" />

<og:message lbl="INITIAL_AUTO" comment="自動計算初期エクステ" />
<og:message lbl="MSG0046" comment="変更処理を行います。" /><br />
<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">
<og:writeCheck>
	<og:submit  value="entry"   lbl="ENTRY" accesskey="E" />
	<og:submit  value="reset"   lbl="RESET" accesskey="R" />
	<og:input type="reset"  name="command"  lbl="MSG0011"  td="false" />
<br />
</og:writeCheck>

<og:view
	viewFormType = "HTMLTable"
	command    = "{@command}"
	checked    = "{@checked}"
	columnWritable = "JKENSU"
	noDisplay  = "UNIQ,FGJ"
	startNo    = "{@startNo}"
	pageSize   = "{@pageSize}" />

<og:hidden name="SQL" >
  <jsp:text>
	UPDATE GF02 SET
			INITIAL_AUTO	= 16,
			JKENSU			= [JKENSU],
			DYUPD			= '{@USER.YMDH}',
			USRUPD			= '{@USER.ID}',
			PGUPD			= '{@GUI.KEY}'
	WHERE SYSTEM_ID  = [SYSTEM_ID]
	AND   TBLSYU     = [TBLSYU]
	AND   TABLE_NAME = [TABLE_NAME]
  </jsp:text>
</og:hidden>
</form>

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