Problema con uso del Hash .....
Posted: Wed Jan 14, 2009 5:23 pm
Hola,
Estou testando esta funçao com FwPpc:
, mas, estas retornando el erro:
.Prg
Struct del BD SBInfo.Dbf
O que podes estar havendo ?
Saluds, Ale
Estou testando esta funçao com FwPpc:
Code: Select all
********************************************************************************
FUNCTION LoadDbf()
********************************************************************************
LOCAL aVars := {=>}
LOCAL nField := FCount()
LOCAL nX := 1
FOR nX := 1 TO nField
aVars[FieldName(nX)] := FieldGet(nX)
NEXT
Return aVars
Code: Select all
Erro de limite
array assign
Args:
[ 1] = H
[ 2] = C DATAENTR
[ 3] = D 13/01/2009
stack calls:
LOADDBF(48)
VERSIS(29)
(b)MAIN(97)
TWINDOW:ACTIVATE(0)
MAIN(97)
Code: Select all
Local aVars
dbUseArea(.T.,"DBFCDX","SbInfo.Dbf",, .F.)
aVars := LoadDbf()
Code: Select all
'DataEntr', 'd', 08, 0
Saluds, Ale