by AIDA » Sat May 04, 2019 4:35 am
aRec no estaba delarada la deje a si
Local aRec
pero sale el error de Len
- Code: Select all Expand view RUN
function InsertRecord()
local nRecNo := RecNo()
local aData := FW_DbfToArray()
hb_AIns( aData, nRecNo, aRec, .T. )
aData[ nRecNo ] = Array( Len( aData[ nRecNo ] ) )
DbGoTop()
FW_ArrayToDbf( aData,,, .T. )
DbGoTo( nRecNo )
return nil
- Code: Select all Expand view RUN
Time from start: 0 hours 0 mins 4 secs
Error occurred at: 03-05-2019, 23:35:08
Error description: Error BASE/1111 Error de argumento: LEN
Args:
[ 1] = U
Stack Calls
===========
Called from: => LEN( 0 )
Called from: model.prg => INSERTRECORD( 4719 )
Called from: model.prg => (b)BRWSETUP( 4705 )
vere si le entiendo al error
Saluditos
Que es mejor que programar? creo que nada :)
Atropellada pero aqui ando :P
I love Fivewin
séʌǝɹ ןɐ ɐʇsǝ opunɯ ǝʇsǝ