Sets or returns a Long value that can be one of the DataTypeEnum constants. The default value is adVarWChar
可以的阿

解决方案 »

  1.   

    Constant Value Description 
    AdArray
    (Does not apply to ADOX.) 0x2000 A flag value, always combined with another data type constant, that indicates an array of that other data type.  
    adBigInt 20 Indicates an eight-byte signed integer (DBTYPE_I8). 
    adBinary 128 Indicates a binary value (DBTYPE_BYTES). 
    adBoolean 11 Indicates a boolean value (DBTYPE_BOOL). 
    adBSTR 8 Indicates a null-terminated character string (Unicode) (DBTYPE_BSTR). 
    adChapter 136 Indicates a four-byte chapter value that identifies rows in a child rowset (DBTYPE_HCHAPTER). 
    adChar 129 Indicates a string value (DBTYPE_STR). 
    adCurrency 6 Indicates a currency value (DBTYPE_CY). Currency is a fixed-point number with four digits to the right of the decimal point. It is stored in an eight-byte signed integer scaled by 10,000. 
    adDate 7 Indicates a date value (DBTYPE_DATE). A date is stored as a double, the whole part of which is the number of days since December 30, 1899, and the fractional part of which is the fraction of a day. 
    adDBDate 133 Indicates a date value (yyyymmdd) (DBTYPE_DBDATE). 
    adDBTime 134 Indicates a time value (hhmmss) (DBTYPE_DBTIME). 
    adDBTimeStamp 135 Indicates a date/time stamp (yyyymmddhhmmss plus a fraction in billionths) (DBTYPE_DBTIMESTAMP). 
    adDecimal 14 Indicates an exact numeric value with a fixed precision and scale (DBTYPE_DECIMAL). 
    adDouble 5 Indicates a double-precision floating-point value (DBTYPE_R8). 
    adEmpty 0 Specifies no value (DBTYPE_EMPTY). 
    adError 10 Indicates a 32-bit error code (DBTYPE_ERROR). 
    adFileTime 64 Indicates a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (DBTYPE_FILETIME). 
    adGUID 72 Indicates a globally unique identifier (GUID) (DBTYPE_GUID). 
    adIDispatch 9 Indicates a pointer to an IDispatch interface on a COM object (DBTYPE_IDISPATCH). 
    Note   This data type is currently not supported by ADO. Usage may cause unpredictable results.
     
    adInteger 3 Indicates a four-byte signed integer (DBTYPE_I4). 
    adIUnknown 13 Indicates a pointer to an IUnknown interface on a COM object (DBTYPE_IUNKNOWN). 
    Note   This data type is currently not supported by ADO. Usage may cause unpredictable results.
     
    adLongVarBinary 205 Indicates a long binary value (Parameter object only). 
    adLongVarChar 201 Indicates a long string value (Parameter object only). 
    adLongVarWChar 203 Indicates a long null-terminated Unicode string value (Parameter object only). 
    adNumeric 131 Indicates an exact numeric value with a fixed precision and scale (DBTYPE_NUMERIC). 
    adPropVariant 138 Indicates an Automation PROPVARIANT (DBTYPE_PROP_VARIANT). 
    adSingle 4 Indicates a single-precision floating-point value (DBTYPE_R4). 
    adSmallInt 2 Indicates a two-byte signed integer (DBTYPE_I2). 
    adTinyInt 16 Indicates a one-byte signed integer (DBTYPE_I1). 
    adUnsignedBigInt 21 Indicates an eight-byte unsigned integer (DBTYPE_UI8). 
    adUnsignedInt 19 Indicates a four-byte unsigned integer (DBTYPE_UI4). 
    adUnsignedSmallInt 18 Indicates a two-byte unsigned integer (DBTYPE_UI2). 
    adUnsignedTinyInt 17 Indicates a one-byte unsigned integer (DBTYPE_UI1). 
    adUserDefined 132 Indicates a user-defined variable (DBTYPE_UDT). 
    adVarBinary 204 Indicates a binary value (Parameter object only). 
    adVarChar 200 Indicates a string value (Parameter object only). 
    adVariant 12 Indicates an Automation Variant (DBTYPE_VARIANT). 
    Note   This data type is currently not supported by ADO. Usage may cause unpredictable results.
     
    adVarNumeric 139 Indicates a numeric value (Parameter object only). 
    adVarWChar 202 Indicates a null-terminated Unicode character string. 
    adWChar 130 Indicates a null-terminated Unicode character string (DBTYPE_WSTR). 
      

  2.   

    agree with  gump2000(阿甘)
      

  3.   

    你用的是SQL SERVER?
    备注型
    文本型Type 属性(列)
          指示列的数据类型设置和返回值设置或返回长整型值,该值是如下常量之一:常量 说明 
    adTinyInt 精确的数字值,精度为小数点后 3 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdSmallInt 精确数字值,精度为小数点后 5 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdInteger 精确数字值,精度为小数点后 10 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBigInt 精确数字值,精度为小数点后 19 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdUnsignedTinyInt 无符号的 adTinyInt。 
    AdUnsignedSmallInt 无符号的 adSmallInt。 
    AdUnsignedInt 无符号的 adInteger。 
    AdUnsignedBigInt 无符号的 adBigInt。 
    AdSingle 单精度浮点数。 
    AdDouble 双精度浮点数。 
    AdCurrency 货币类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDecimal 变体型十进制类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdNumeric 数值类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBoolean 变体布尔类型。0 为假而 ~0 为真。 
    AdUserDefined 用户定义的变量长度数据类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdVariant 自动变体型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdGuid 全域唯一标识符。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDate 自动日期。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBDate 数据库日期数据结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBTime 数据库时间数据结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBTimestamp 数据库时间戳结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBSTR BSTR 的指针。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdChar 定长字符串。 
    AdVarChar 变长字符串。 
    AdLongVarChar 长变长字符串。 
    AdWChar 宽定长字符串。 
    AdVarWChar 宽变长字符串。 
    AdLongVarWChar 长、宽变长字符串。 
    AdBinary 定长二进制数据。 
    AdVarBinary 变长二进制数据。 
    AdLongVarBinary 长变长二进制数据。 
    说明默认值是 adVarWChar。在 Column 对象追加到集合或到另一个对象之前,该属性是可读/写的,而在追加之后是只读的。
      

  4.   

    常量 说明 
    adTinyInt 精确的数字值,精度为小数点后 3 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdSmallInt 精确数字值,精度为小数点后 5 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdInteger 精确数字值,精度为小数点后 10 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBigInt 精确数字值,精度为小数点后 19 位。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdUnsignedTinyInt 无符号的 adTinyInt。 
    AdUnsignedSmallInt 无符号的 adSmallInt。 
    AdUnsignedInt 无符号的 adInteger。 
    AdUnsignedBigInt 无符号的 adBigInt。 
    AdSingle 单精度浮点数。 
    AdDouble 双精度浮点数。 
    AdCurrency 货币类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDecimal 变体型十进制类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdNumeric 数值类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBoolean 变体布尔类型。0 为假而 ~0 为真。 
    AdUserDefined 用户定义的变量长度数据类型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdVariant 自动变体型。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdGuid 全域唯一标识符。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDate 自动日期。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBDate 数据库日期数据结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBTime 数据库时间数据结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdDBTimestamp 数据库时间戳结构。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdBSTR BSTR 的指针。关于该类型的详细资料,请参阅“OLE DB 程序员参考”。 
    AdChar 定长字符串。 
    AdVarChar 变长字符串。 
    AdLongVarChar 长变长字符串。 
    AdWChar 宽定长字符串。 
    AdVarWChar 宽变长字符串。 
    AdLongVarWChar 长、宽变长字符串。 
    AdBinary 定长二进制数据。 
    AdVarBinary 变长二进制数据。 
    AdLongVarBinary 长变长二进制数据。 
    说明默认值是 adVarWChar。AdChar 定长字符串。 
    AdVarChar 变长字符串。 
    AdLongVarChar 长变长字符串。 
    AdWChar 宽定长字符串。 
    AdVarWChar 宽变长字符串。 
    AdLongVarWChar 长、宽变长字符串。 
    AdLongVarWChar这个可能就是memo吧:)
      

  5.   

    gump2000(阿甘) 
    AdLongVarWChar是memo?谢谢还想问:
    1。Access2000中的"自动编号"可以建吗?如果可以是那个?
    2。怎么给你加分。