Dataset of Dbf with field name PACK
Publicado: Mar Jul 10, 2007 7:08 pm
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
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