Subject | RE: [IBO] Help 'Cannot Edit current Row' |
---|---|
Author | Daniel Bertin |
Post date | 2001-11-19T20:56:41Z |
At 08:27 PM 19/11/2001 +0100, you wrote:
thanks
thanks very much
Daniel
New Generation Software
thanks
>In these cases, i usually buy flowers and kindly ask the computer tomy computer is very unforgiven
>forgive me :-)
>Well, I suspect, that keylinks are properly defined or set tokeylinksautodefine was set to false.
>autodefine. You can edit the rows of the query in the query-editor
>itself?
thanks very much
Daniel
>It seems you use infoPower controls. Does the app work, if you assignand the error did occur on the edit
>the value manually as test instead of taking the value out of the combo?
>
>Does the error occur on the edit-method or on the post-method?
>Nick JosipovicDaniel Bertin
>
>BIT Institute
>Prof. Dr. Franz Steffens
>University of Mannheim
>T: ++49 621 181 1621
>M: ++49 179 133 44 16
>S: ++49 621 181 1622
>F: ++49 621 181 1618
>
>nick.josipovic@...
>
>
> > -----Original Message-----
> > From: Daniel Bertin [mailto:daniel@...]
> > Sent: Monday, November 19, 2001 8:18 PM
> > To: IBObjects@yahoogroups.com
> > Subject: [IBO] Help 'Cannot Edit current Row'
> >
> > Hi all
> > this little piece of code keeps giving me the error 'Cannot Edit
>current
> > Row'
> > requestlive = true
> > readonly = false
> > what else can be giving me this error?? please someone give me a hint?
> > what
> > other reason for this error??
> >
> >
> > lastno := datamodule1.IBOtable1.fieldbyname('ldispno').asinteger;
> > datamodule1.IBOLastQuery.open;
> > if datamodule1.IBOLastQuery.Locate('dispno',vararrayof([lastno]),[])
>then
> > Begin
> > datamodule1.IBOLastQuery.edit;
> > datamodule1.IBOLastQuery.fieldbyname('TRI').asstring :=
> > wwDBLookupCombo7.Value;
> > datamodule1.IBOLastQuery.post;
> > end
> > else
> > showmessage('not found');
> >
> > this is the SQL
> >
> > select * from disp_leg
> > where loaddate > CURRENT_TIMESTAMP - 7
> > and complete = 'Y'
> > order by dispno
> >
> > Help
> > Daniel
> > Daniel Bertin
> > New Generation Software
> >
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
New Generation Software