大家好,问题如下
dim td as tabledef
dim fd as field
set fd=pb.createfield("学号",?,10)
请问,问号处怎么表示,学号需要表示成字符型?拜托各位了。

解决方案 »

  1.   

    Constant          Description dbBigInt          Big Integer 
    dbBinary          Binary 
    dbBoolean         Boolean 
    dbByte            Byte 
    dbChar            Char 
    dbCurrency        Currency 
    dbDate            Date/Time 
    dbDecimal         Decimal 
    dbDouble          Double 
    dbFloat           Float 
    dbGUID            GUID 
    dbInteger         Integer 
    dbLong            Long 
    dbLongBinary      Long Binary (OLE Object) 
    dbMemo            Memo 
    dbNumeric         Numeric 
    dbSingle          Single 
    dbText            Text 
    dbTime            Time 
    dbTimeStamp       Time Stamp 
    dbVarBinary       VarBinary