thread184-741224
Following from the above closed thread.....
I am trying to read from sage dataobjects, I can read back most fields with data type such as string, numberic, logical etc, but any fields with data type 'byte' (As defined by Sage) result in 'function, argument, datatype or count invalid'
the following works fine as they return string and date values
?oInvoice.fields.item(23).value
?oInvoice.fields.item(25).value
but this causes the error message
?oInvoice.fields.item(24).value
although writing to this property does not error and writes back into sage correctly
oInvoice.fields.item(24).value=1
It seems FoxPro does not understand the datatype when reading
Is there any way of resolving this?
Following from the above closed thread.....
I am trying to read from sage dataobjects, I can read back most fields with data type such as string, numberic, logical etc, but any fields with data type 'byte' (As defined by Sage) result in 'function, argument, datatype or count invalid'
the following works fine as they return string and date values
?oInvoice.fields.item(23).value
?oInvoice.fields.item(25).value
but this causes the error message
?oInvoice.fields.item(24).value
although writing to this property does not error and writes back into sage correctly
oInvoice.fields.item(24).value=1
It seems FoxPro does not understand the datatype when reading
Is there any way of resolving this?