In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

help with ZAP

Xailer professional forum in English
Responder
jemstv
Mensajes: 133
Registrado: Mar Jul 27, 2010 3:56 pm

help with ZAP

Mensaje 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
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9447
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

help with ZAP

Mensaje 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
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder