Strange C++ VSDK2 anomaly when creating DB Table

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jun 20 09:29:20 CDT 2006


On 6/20/06 6:30 AM, "Matthew Jew" <mjew at icnc.com> wrote:

> 
> void TblAuthFailureLog::Create( I_Database_Ptr DB )
> {
> Table   = DB->CreateTable  ( "AuthFailureLog" );
> customerNumber  = CreateULongField  ( Table, "customerNumber" );
> clientIP   = CreateULongField  ( Table, "clientIP" );
> serverIP   = CreateULongField  ( Table, "serverIP" );
> loginDateTime = CreateDateTimeField  ( Table, "loginDateTime" );
> username  = CreateVarCharField  ( Table, "username", 32 );
> password  = CreateVarCharField  ( Table, "password", 32 );
> Table->Flush();
> }

Here better do db->Flush()

    Because you change structure also.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list