Subject | Re: [IBO] Editing infopower grids |
---|---|
Author | NSI Sadimo |
Post date | 2001-01-03T19:02:54Z |
I have the same problem.
When displaying the SQL generated I saw that on grids with multiple lines, the
SQL generated was for updating the line where the cursor was previously
located eg going from line 3 to 4, the update says "where line = 3" insted of
"where line = 4".
I don't know if it is an Infopower issue or an IBObject one (I would say IBO
since with BDE those things work).
The work around I found, is in the BeforePost, BeforeDelete ... events to call
locate with the field values eg tblx.Locate('PrimaryKey', tblxPrimaryKey.Value
[]).
Could Jason have a look at that ?
calvin@... a écrit :
When displaying the SQL generated I saw that on grids with multiple lines, the
SQL generated was for updating the line where the cursor was previously
located eg going from line 3 to 4, the update says "where line = 3" insted of
"where line = 4".
I don't know if it is an Infopower issue or an IBObject one (I would say IBO
since with BDE those things work).
The work around I found, is in the BeforePost, BeforeDelete ... events to call
locate with the field values eg tblx.Locate('PrimaryKey', tblxPrimaryKey.Value
[]).
Could Jason have a look at that ?
calvin@... a écrit :
> I'm having problems editing in infopower grids (TwwDBGrid). I'm using the
> TIBOQuery component and the Infopower TwwDataSource component. I'm getting
> error messages that reads along the line of "Cannot edit current row". I'm
> not sure wats going on here and I think I've set all the settings to allow
> edits in on the query.
>
> Calvin
>
> -------------------------------------------------
> This mail sent through IMP: secure.uwa.edu.au