Página 1 de 1

help with ZAP

Publicado: Lun Oct 11, 2010 4:37 pm
por jemstv
hi
im trying to clear a dbf after i copy the rcords to the master dbf, i want to have it empty for the next time i keep getting errors on the lShared line
can figure out what im doing wrong!
this is my code
with object ::oDbfBillTmpSet
::oDbfBillTmpSet:lShared := .F.
:zap( .T. )
:pack( .T. )
:End()
end with
Thanks in advance

help with ZAP

Publicado: Lun Oct 18, 2010 6:02 pm
por ignacio
Josemo,
Open() should be called after lShared.
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
http://www.xailer.com/forum
http://www.xailer.com/dokuwiki
"Josemo" <magjem[at]sbcglobal[dot]net> escribió en el mensaje de
noticias:4cb32139$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> hi
>
> im trying to clear a dbf after i copy the rcords to the
> master dbf, i want to have it empty for the next time i keep
> getting errors on the lShared line
> can figure out what im doing wrong!
>
> this is my code
>
> with object ::oDbfBillTmpSet
> ::oDbfBillTmpSet:lShared := .F.
> :zap( .T. )
> :pack( .T. )
> :End()
> end with
>
> Thanks in advance
>