DB SDK getSupportedTypes

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 24 22:14:35 CST 2004


Hi,

This function can return only filed types listed in this enum ?

What if database have MUCH MORE field types?

REALbasic DB API do not give way to use that type ???

-------------
For example by your logic

    dbTypeChar = fixed string
    dbTypeText = VarChar

But what I should use for TEXT field (BLOB)

    ???        = TEXT field

I see that dbLongText on some reason is deprecated.
Why?


--------------
Or for you have Binary type. Good.

But Valentina have 3 different binary types!!!

    FIXED bianry
    VAR binary
    BLOB

And how this can be fit into RB DB API ?
Any ideas?


enum dbFieldType
{
    dbTypeNull = 0,        //  0
    dbTypeByte,            //  1
    dbTypeShort,        //  2
    dbTypeLong,            //  3
    dbTypeChar,            //  4
    dbTypeText,            //  5
    dbTypeFloat,        //  6
    dbTypeDouble,        //  7
    dbTypeDate,            //  8
    dbTypeTime,            //  9
    dbTypeTimeStamp,    // 10
    dbTypeCurrency,        // 11
    dbTypeBoolean,        // 12
    dbTypeDecimal,        // 13
    dbTypeBinary,        // 14
    dbTypeLongText,        // 15    // deprecated; use dbTypeText
    dbTypeLongBinary,    // 16    // deprecated; use dbTypeBinary
    dbTypeMacPICT,        // 17
    dbTypeREALstring,    // 18
    dbTypeUnknown = 255
};


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list