Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread List index out of bounds - TDataset.Insert (ADO with Autoincrement)
Fri, Sep 11 2015 3:51 AMPermanent Link

Petter Topp

I have set up a ADO Dataset using Table as Row Source.
On my form, I have dropped a grid and a dataset-toolbar and assigned them to the dataset.
I can add a record, populate fields, and post the new record - everything as expected so far.
When I try to commit however, I get List index out of bounds.

Am I missing something or is this related to issues discussed some time back with autoincrement on keyfields?

Br
Petter Topp
Fri, Sep 11 2015 9:27 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Petter,

<< I have set up a ADO Dataset using Table as Row Source.
On my form, I have dropped a grid and a dataset-toolbar and assigned them to the dataset.
I can add a record, populate fields, and post the new record - everything as expected so far.
When I try to commit however, I get List index out of bounds. >>

Is the error occurring in the EWB client application, or in the web server ?

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Sep 11 2015 12:20 PMPermanent Link

Petter Topp

Hi Tim, the error shows in the client.

Petter
Sat, Sep 12 2015 7:36 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Petter,

<< Hi Tim, the error shows in the client. >>

I didn't ask the question very well.   I realize that the error message is *showing* in the EWB client application.  What I was trying to ask, and didn't word very well, is whether the error says something like "database error: ....", or it it's just a straight-up client error, but judging by the error message it's probably in the client.

If this is reproducible, please send me an example along with your database files, and I'll take a look.

Tim Young
Elevate Software
www.elevatesoft.com
Image