Re: BASE/39 Write not allowed in MariaDB
Posted: Mon Jun 08, 2020 12:40 am
Yes.So you say the opposite is working with rowset.
www.FiveTechSoft.com
https://fivetechsoft.com/forums/
Yes.So you say the opposite is working with rowset.
Code: Select all
id_categ TINYINT(2) UNSIGNED ZEROFILL NOT NULL
Code: Select all
oPlayer:SetDefault( 3, 0, TRUE )
? "Prueba", oPlayer:id_categ:= 22
Cual es el problema?Error occurred at: 17/09/2020, 22:33:01
Error description: Error BASE/39 Escritura no autorizada: TDATAROW:id_categ
Args:
[ 1] = O TDATAROW
HelloHorizon wrote:Hi,
I think I found my mistake.
in oTb_YAPILAN:D_BOS(YENIKAYIT)This procedure set my default variables to table fieldnames. I thought SetDefault is valid for FWMARIAROWSET like TDATAROW.Code: Select all
oRec:SetDefault("YPL_BNK1", 3)
SetDefault also sets the fieldname as a readonly variable in FWMARIAROWSET Class.
Mr Rao. Can you confirm me? If it is I should change lots of lines in my application.
Edit :I have changed to SetDefault like above and problem is solved. Mr. Rao, Can you confirm it?Code: Select all
oRec:SetDefault("YPL_BNK1", 3, .F.)
Thanks.
I do this, before Edit, but the error repeat:id_categ TINYINT(2) UNSIGNED ZEROFILL NOT NULL
Code: Select all
oQryPly:SetDefault( "id_categ", 3, FALSE ), ;
oPlayer := TDataRow():New( oQryPly ), ::AgrEditaPlayer( oPlayer, oBrw, nPosFld, oQryPly