tried:
def conn =
{BasicConnection {url "http://localhost:8080/cdbc-server/CdbcServlet"}, serialize?=true}
{RecordGrid record-source =
{conn.create-record-set ...
throws exception:
def conn =
BasicConnection @0x04271030
<Error> - An error occurred while loading this applet.
SyntaxError: file:Ora1.curl:10[5]: 'conn' is not recognized.
The following program worked, but showed (also with serialize) the RecordGrid in Browser firefox 2.0.0.14
only after 10 minutes:
{curl 7.0 applet}
{curl-file-attributes character-encoding = "windows-latin-1"}
{import * from CURL.DATA-ACCESS.BASE}
{import * from CURL.DATA-ACCESS.CONNECTED}
{let conn =
{BasicConnection {url "http://localhost:8080/cdbc-server/CdbcServlet"}, serialize?=true}
}
{RecordGrid record-source =
{conn.create-record-set "scott", "select empno,ename from emp"}}
To simplify no DATE column was selected.
Tried also to select a modifiable Grid-Data:
{RecordGrid record-source =
{conn.create-record-set "scott", "select empno,ename from emp"}, request-modifiable?=true}
but got message:
Error: Option name 'request-modifiable?' is not defined for
RecordGrid @0x04137204.
Documentation reads:
request-modifiable? (field)
public-get protected-set request-modifiable?:bool
Class: ConnectedRecordSet
Package: CURL.DATA-ACCESS.CONNECTED
If true, an attempt will be made to return a modifiable RecordSet.
Some subclasses may be unable to create a modifiable RecordSet if
the query is too complex or if the Connection does not allow it for any reason.
Does this mean that CURL has no updateable RecordGrid?
A simple query running against an Oracle database already with these problems

1. select Date problem
2. Time problem, waiting 10 minutes to see the Grid, also after serialize?=true
3. Grid data not modifiable
4. CPU utilization with 99% by surge.exe, for the whole 10 minutes (other programs are nearly unusable)
After Grid display CPU utilization is again normal (surge.exe falls below 1%).
Please read about your "fit-client".
http://developers.curl.com/blogs/community_blog/2008/06/30/curl-customer-presents-at-catalyst-conference-san-diego-june-26-2008
Curl customer presents at Catalyst Conference, San Diego, June 26, 2008
Are there any complete ORACLE CRUD-examples with a modifiable DataGrid and modifiable TreeView ?
(C)reate INSERT
(R)ead SELECT
(U)pdate UPDATE
(D)elete DELETE
Thanks for your patience.