Hi
In addition to using forUpdate you must eclose the update in a transaction. For example:
ttsbegin;
while select forUpdate CustTable where CustTable.CustGroupID == '10'
{
CustTable.Balance = 1000;
CustTable.Update();
}
ttscommit;
Subrahmanyam Mamidi <[EMAIL PROTECTED]> wrote
Hi Harry.
Yes you are right. I think either some is wrong with update or may be the records he is tryiing to select do n't exist. Hemant, just curious if you have tried debugging.
or did u find the solution
thansk,
subbuAmit Jain <[EMAIL PROTECTED]> wrote:
yes,
but if you don't want to
yes,
but if you don't want to use then use datasource or table.write method at place of update
Regards
Amit"Harry (Harshawardhan Deshpande" <[EMAIL PROTECTED]> wrote:
hi subbu
Thats funny
If I forget 'forupdate' clause then I get the following error
Cannot edit a record in 'TableNam
hi subbu
Thats funny
If I forget 'forupdate' clause then I get the following error
Cannot edit a record in 'TableName'. The operation cannot be completed, since the record was not selected for update. Remember TTSBEGIN/TTSCOMMIT as well as the FORUPDATE clause.
Can you confirm if you are
I think the error is do with Select statement. Can you check if you are using forupdate followed by update or doupdate()
I used to get this error when I used to fotget forupdate in the select statement.
can you please let us know the cause if you are succesful?.
thanks,
subbuHarshawardha
hi
If you are implementing a system then may be the records have got deleted
regards
harryhemant kumar <[EMAIL PROTECTED]> wrote:
Hi,
Whenever i try to select inventLocationId in movement journal,profit and loss journal and transfer journal it gives the error that "cannot edit a re
make sure you use forupdate clause in your select
statement or set forupdate=true in find method.
--- hemant kumar <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
> Whenever i try to select inventLocationId in
> movement journal,profit and loss journal and
> transfer journal it gives the error that
Hi,
Whenever i try to select inventLocationId in movement journal,profit and loss journal and transfer journal it gives the error that "cannot edit a record in inventory dimension (inventdim) .the record has never been selected "
Please help!
Regards
Hemant
Do you Yahoo!?
Yahoo!
8 matches
Mail list logo