Partager via


NoCpTrans Property

Specifies whether character and memo field types are created as Character (Binary) or Memo (Binary) data types. Read/write.

For more information about Visual FoxPro and XSD data type mapping, see Visual FoxPro and XML Schema Data Type Mapping.

Setting NoCpTrans at the XMLAdapter level sets the default NoCpTrans values for XMLField objects they are created and added to the Fields collection by the following XMLAdapter methods:

Additionally, changing NoCpTrans at the XMLAdapter level affects only the next set of XMLField objects created, not the existing XMLField objects in the Fields collection. Therefore, to modify the setting of NoCpTrans for an existing XMLField object, change the value at the XMLField level.

XMLAdapter.NoCpTrans [= lValue]

-or-

XMLField.NoCpTrans [= lValue]

Property Values

  • lValue
    Logical data type. The following table lists the values for lValue.
    lValue Description
    False (.F.) Create field as normal Character or Memo field. (Default)
    True (.T.) Create field as Character (NoCpTrans) or Memo (NoCpTrans) field.

See Also

Properties | XMLAdapter Object Properties, Methods, and Events | XMLField Object Properties, Methods, and Events | Visual FoxPro Data and Field Types | XMLAdapter Class | Fields Collection (XMLTable)

Applies To: XMLAdapter Class | XMLField Class