Was this helpful?
FoxPro
FoxPro is a database application that uses a dBASE format. The primary data file usually has a .dbf extension and the memo file usually has a .dbt extension. FoxPro files are structured; for example, both the data and the file structure are stored inside the primary data file. With the FoxPro connector, the integration platform can read and write FoxPro data files.
Connector-Specific Notes
Field Names - Each field name must be unique. Field names must be all uppercase characters with an underscore between two words. Field names may contain up to 10 characters, but the first character must be a letter. Examples include ACCOUNT, LAST_NAME, FIRST_NAME, PHONE_NO.
Field Length - Character fields can be no longer than 254 characters. If a field is longer than 254 characters, use the Memo data type in the schema.
Number of Fields - A maximum of 255 fields is allowed.
Record Width - The maximum combined width of all fields in one record is 4000 bytes, excluding Memo fields.
Connector Parts
Connector parts are the fields you configure to connect with a data source or target. The fields that are available depend on the connector you select.
For a list of all parts for source connectors, see Specifying Source Connector, Parts, and Properties.
For a list of all parts for target connectors, see Specifying Target Connector, Parts, and Properties.
Property Options
You can specify the following source (S) and target (T) properties:
Property
S/T
Description
IgnoreMemoErr
S/T
This option determines how xBASE memo files are handled. Choose you selection from the picklist. The following options are available:
Never – This option (the default) instructs the integration platform to look for and include any memo file fields when reading the source data file.
Errors – Instructs the integration platform to look for and include any memo file fields when a memo file is present. If present, the memo fields are included with the transformed data. If the memo file (.fpt) is not in the same directory as the data file (.dbf), the memo file is ignored. This means that the memo fields are not included with the transformed data.
Always – Instructs the integration platform to ignore the memo file completely. The memo fields are not included with the transformed data.
CodePage
S/T
This translation table determines which encoding is used for reading and writing data. The default is ANSI, the standard in the US.
Supported Data Types
The following data types are supported:
Character – May contain alpha or numeric information and may have a field width of 1 to 254 bytes. Use a character field to store numbers that are not used in calculations, such as phone numbers, check numbers, account numbers and zip codes (number fields delete the leading zeros in some zip codes).
Date – May contain only a date and the date is formatted as yyyymmdd, for a four-digit year, a two-digit month and a two-digit day. Example: The date January 1, 1995 would read 19950101.
Float – May contain only positive or negative numbers and may have a field width of 1 to 20 bytes, including the decimal point, minus sign (–), or plus sign (+). Float fields are used to store small and large numbers needed in scientific calculations, such as 9.1234e 12 or 9,123,400,000,000.
Logical – May contain only one byte and is formatted to contain a t, f, T, or F, for true or false.
Memo – May contain alpha or numeric information and may have a field width of 1 to 16,000 bytes.
Numeric – May contain only positive or negative numbers and may have a field width of 1 to 20 bytes, including the decimal point, minus sign (–), or plus sign (+). A numeric field may contain decimal places up to 19, but the number of decimal places must be set at one byte less than the total width of the field. Numeric fields are used to store the exact value of a number with a fixed number of digits.
Last modified date: 12/03/2024