Hi,

thanks for suggestion. The previous code was based on ADS documentation. It does not mention that VFP supports D,4 fields.


Regards,
Mindaugas

ADS should support in DBF (at least in VFP mode) julian date fields
as 32bit little endian integer values {"D", 4, 0} which do not use
string representation.
As I can see your modification effected also such fields.
I think that you should change the condition from:

    pArea->iFileType != ADS_ADT

to:
    pField->uiLen == 8

or
    pField->uiLen != 4

(AFAIR uiLen == 3 in ADS DBFs is SIX3 packed date with the same
restrictions as string version)
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to