[xHarbour-developers] [Harbour] Problem creating .adt files
Chen Kedem
niki at synel.co.il
Wed Aug 1 03:34:24 EDT 2007
Brian,
> I propose that I put a check into adsCreateFields() for the
> case 'N':
> and determine if just the "N" was passed OR if the new full "Numeric"
> string was passed (or actually if any part beyond just the "N").
> If MORE than "N" is passed, use their "new" Numeric type.
> Otherwise if just "N" is passed, implement their old logic.
In CA-Clipper only the first letter is check, so user can (in theory)
define "Nxxxx", "Numeric" or "Nume'rico" and the result suppose to be
the same as "N".
The problem is only when the file is created?
Maybe you can add a new set/flag for the RDD that tell it to work
with the new behavior (which is supported only be the new version
of ADS) or the old behavior, with the default to the old one for
compatibility.
When using an existing table, the field type should be checked
and decoded according to its real type.
Does it make sense?
Chen.
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the
named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************
More information about the Harbour
mailing list