<?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	= "GF2020"
	title	= "テーブルカラム"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>

<og:columnCheck
	command   = "{@command}"
/>

<og:entry command="{@command}" useConsistency="false" >
	<og:columnSet command="{@command}" columnId="JKENSU" action="TBLSET" value="[TABLE_NAME]" />
	<og:columnSet command="{@command}" columnId="SKENSU" action="TBLSET" value="[TABLE_NAME]:[CLM]" />
</og:entry>

<og:columnEditor column="JKENSU" editor="QUERY" param="select count(*) from $1" dbid="{@DBID}" />
<og:columnEditor column="SKENSU" editor="QUERY" param="select count(*) from $1 where EXTRACT(DAY FROM $2)=1" dbid="{@DBID}" />

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT" >
<og:writeCheck>
	<og:submit  action="ENTRY" />
	<og:submit  action="RESET" />
	<og:input type="reset" name="command" lbl="MSG0011" td="false" />
<br />
</og:writeCheck>

<og:view
	viewFormType	= "HTMLTable"
	command			= "NEW"
	columnWritable	= "JKENSU,SKENSU"
	checked			= "true"
	startNo			= "{@startNo}"
	pageSize		= "10000" />

</form>

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