I got an error message:
- Code: Select all Expand view
- Error occurred at: 04/05/2020, 00:22:06
Error description: Error BASE/39 Write not allowed: yapilan:YPL_BNK1
Args:
[ 1] = O FWMARIAROWSET
Stack Calls
===========
Called from: => __ERRRT_SBASE( 0 )
Called from: ../../../tobject.prg => FWMARIAROWSET:ERROR( 0 )
Called from: .\source\internal\FWMARIA.PRG => FWMARIAROWSET:FIELDPUT( 2482 )
Called from: .\source\internal\FWROWSET.PRG => FWMARIAROWSET:_YPL_BNK1( 1279 )
Called from: .\IcraKart.prg => YAP_KAYIT( 9182 )
- Code: Select all Expand view
- oRs:Append()
oTb_YAPILAN:D_BOS(YENIKAYIT)
oRs:YPL_BNK1 := nBankami <<--- 9182
oRs:TL_ILI := xxxTL_ILI
oRs:TL_DN := xxxTL_DN
oRs:TL_DAIRE := xxxTL_DAIRE
oRs:YPL_Param := xxxYPL_Param
oRs:YPL_1 := xxID
oRs:YPL_3 := xxNOT
oRs:YPL_6 := 1
When I remark line 9182, there is not any problem.
- Code: Select all Expand view
- CREATE TABLE `yapilan` (
`YPL_0` INT(11) NOT NULL AUTO_INCREMENT,
`YPL_1` INT(11) NULL DEFAULT NULL,
`YPL_2` DATE NULL DEFAULT NULL,
`YPL_3` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`YPL_6` SMALLINT(6) NULL DEFAULT NULL,
`YPL_7` VARCHAR(5) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`MERCI` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`MKOD` VARCHAR(10) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`CEVAP` SMALLINT(6) NULL DEFAULT NULL,
`CKOD` SMALLINT(6) NULL DEFAULT NULL,
`ACIK` VARCHAR(100) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`DURUM` SMALLINT(6) NULL DEFAULT NULL,
`ADRES` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`YPL_8` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`KIM` INT(11) NULL DEFAULT NULL,
`ACIK1` VARCHAR(15) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TAKIP` BIT(1) NULL DEFAULT b'0',
`OPERASYON` SMALLINT(6) NULL DEFAULT NULL,
`TL_ILI` VARCHAR(15) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TL_DN` VARCHAR(10) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TL_DAIRE` SMALLINT(6) NULL DEFAULT NULL,
`TL_HACIZ` BIT(1) NULL DEFAULT b'0',
`YPL_PARAM` VARCHAR(30) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TUTAR` VARCHAR(100) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TEBTAR` DATE NULL DEFAULT NULL,
`TEBTAR2` DATE NULL DEFAULT NULL,
`TEBTAR3` DATE NULL DEFAULT NULL,
`YPL_9` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`YPL_TEBID` INT(11) NULL DEFAULT NULL,
`YPL_TBIDS` LONGTEXT NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`ADRES_ILC` VARCHAR(35) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TEB_BILA1` BIT(1) NULL DEFAULT b'0',
`TEB_BILA2` BIT(1) NULL DEFAULT b'0',
`TEB_BILA3` BIT(1) NULL DEFAULT b'0',
`TEB_KIME1` VARCHAR(25) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TEB_KIME2` VARCHAR(25) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`TEB_KIME3` VARCHAR(25) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`YPL_YPID` INT(11) NULL DEFAULT NULL,
`YPL_DTAR1` DATE NULL DEFAULT NULL,
`YPL_DTAR2` DATE NULL DEFAULT NULL,
`YPL_BSEBEP` BIT(1) NULL DEFAULT b'0',
`YPL_BGID` INT(11) NULL DEFAULT NULL,
`YPL_BNK1` SMALLINT(6) NULL DEFAULT NULL,
`YPL_BGID2` INT(11) NULL DEFAULT NULL,
`YPL_BNK` BIT(1) NULL DEFAULT b'0',
`YPL_HSIRA` SMALLINT(6) NULL DEFAULT NULL,
`MERCI_ID` VARCHAR(35) NULL DEFAULT NULL COLLATE 'latin5_turkish_ci',
`NTUTAR` DECIMAL(14,2) NULL DEFAULT NULL,
PRIMARY KEY (`YPL_0`) USING BTREE
)
COLLATE='latin5_turkish_ci'
ENGINE=InnoDB
AUTO_INCREMENT=2517
;
I have checked oRs:lReadOnly is .F.
Any comment?