Click or drag to resize

IDatabaseIsAnsiBase Method

Returns TRUE if database uses ANSI text, FALSE if it uses Unicode text From 6.2 our database support Unicode (UTF8 collating order), read more on Techdoc

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
bool IsAnsiBase()

Return Value

Type: Boolean
Examples

Is this database ansi or unicode

VB
dim objdb
set objdb = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objdb.login  "<username>", "<password>"
    if objdb.IsAnsiBase  then
        MsgBox "This is a ansi database"
    Else
        MsgBox "This is a unicode database"
    end  if
else
    msgbox  "unable to connect to database"
end if
set objso = nothing

See Also