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.

Dataset of Dbf with field name PACK

Xailer professional forum in English
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

Dataset of Dbf with field name PACK

Mensaje por ChrisGillard »

I have a Product dbf, KPROD, in an exiting stock control system with a
fieldname PACK.
If I use a dataset object & try to access the data fields using the
following .... it tries to pack the file !
oProdDs:PACK .... tries to PACK the file & errors
oProdDs:CODE .... OK
oProdDs:DESC ..... OK
Is there a trick to accessing the PACK field through the dataset or should I
use aliassing like KPROD->PACK
I suspect I may have some other field names in my apps which may have
similar problems.
Your thoughts would be appreciated.
Chris Gillard
Responder