Alaska Software Inc. - Re: Why DbExport doesn´t keep in mind Data Types Integer or Money?
Username: Password:
AuthorTopic: Re: Why DbExport doesn´t keep in mind Data Types Integer or Money?
Andreas Gehrs-Pahl

View the complete thread for this message in:

Re: Why DbExport doesn´t keep in mind Data Types Integer or Money?
on Sun, 20 Nov 2016 01:59:15 -0500
César,

>Could you say me where change the code for to convert "I", "F", "S", 
>and "Y" field types to "N" in that filter loop, rather than deleting 
>those fields from the arrays?

You could change the code between line 229 and 236 to something like this:

if .not. aTarget[i, DBS_TYPE] $ cFieldTypes
   if DbeInfo(COMPONENT_DATA, DBE_NAME) == "DELDBE" .and. ;
      aTarget[i, DBS_TYPE] $ "IFSY"
      aTarget[i, DBS_TYPE] := "N"
   else
      ADel(aTarget, i)
      ADel(aFieldPos, i)
   endif
   i--
   nCount--
endif

Hope that helps.

Andreas

Andreas Gehrs-Pahl
Absolute Software, LLC

phone: (989) 723-9927
email: Andreas@AbsoluteSoftwareLLC.com
web:   http://www.AbsoluteSoftwareLLC.com
[F]:   https://www.facebook.com/AbsoluteSoftwareLLC