So you say the opposite is working with rowset.
Yes.
So you say the opposite is working with rowset.
id_categ TINYINT(2) UNSIGNED ZEROFILL NOT NULL
oPlayer:SetDefault( 3, 0, TRUE )
? "Prueba", oPlayer:id_categ:= 22
Error occurred at: 17/09/2020, 22:33:01
Error description: Error BASE/39 Escritura no autorizada: TDATAROW:id_categ
Args:
[ 1] = O TDATAROW
Horizon wrote:Hi,
I think I found my mistake.
in oTb_YAPILAN:D_BOS(YENIKAYIT)
- Code: Select all Expand view
oRec:SetDefault("YPL_BNK1", 3)
This procedure set my default variables to table fieldnames. I thought SetDefault is valid for FWMARIAROWSET like TDATAROW.
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 :
- Code: Select all Expand view
oRec:SetDefault("YPL_BNK1", 3, .F.)
I have changed to SetDefault like above and problem is solved. Mr. Rao, Can you confirm it?
Thanks.
id_categ TINYINT(2) UNSIGNED ZEROFILL NOT NULL
oQryPly:SetDefault( "id_categ", 3, FALSE ), ;
oPlayer := TDataRow():New( oQryPly ), ::AgrEditaPlayer( oPlayer, oBrw, nPosFld, oQryPly
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 50 guests