[ATTN!] Inform us about your show-stoppers bugs in 2.4 betas if any!

Dave Addey listmail1 at dsl.pipex.com
Fri Jul 7 21:23:15 CDT 2006


Hi Ruslan,

So how *do* I do this in the class-way?  I did not realise that it was so
fixed from the docs - and I have not been able to find any way to do this
safely for the class-way, in any of the docs.  How should I do this?

Thanks for the help,

Dave.

> From: Ruslan Zasukhin <sunshine at public.kherson.ua>
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> Date: Fri, 07 Jul 2006 20:32:06 +0300
> To: "valentina-beta at lists.macserve.net" <valentina-beta at lists.macserve.net>,
> "valentina at lists.macserve.net" <valentina at lists.macserve.net>
> Conversation: [ATTN!] Inform us about your show-stoppers bugs in 2.4 betas if
> any!
> Subject: Re: [ATTN!] Inform us about your show-stoppers bugs in 2.4 betas if
> any!
> 
> On 7/7/06 1:39 AM, "Dave Addey" <listmail1 at dsl.pipex.com> wrote:
> 
> Hi Dave,
> 
>> The bug I reported today - Mantis 0001675 - is a showstopper for us.  We
>> can't implement our new iPod support without it being fixed.
> 
> Okay, so I check your project attached to 1675
> 
> ------------------------------------------------
>   // create a database
>   theDatabaseFile = SpecialFolder.Desktop.Child("TestDatabase1")
>   if theDatabaseFile.Exists then theDatabaseFile.Delete // delete the file
> if it already exists
>   TestDatabase1 = New myDatabase
>   TestDatabase1.Create(theDatabaseFile, EVDbMode.kDscDatBlbInd, 32 * 1024)
>   
>   // create a second database
>   theDatabaseFile = SpecialFolder.Desktop.Child("TestDatabase2")
>   if theDatabaseFile.Exists then theDatabaseFile.Delete // delete the file
> if it already exists
>   TestDatabase2 = New myDatabase
>   TestDatabase2.Create(theDatabaseFile, EVDbMode.kDscDatBlbInd, 32 * 1024)
> ------------------------------------------------
> 
> Okay, so you use Class - way
> 
> And now you do:
>   
> ------------------------------------------------
>   // drop a table from one of the databases
>   TestDatabase1.DropTable TestDatabase1.TestTable  <<<< so so, danger
> 
>   // and create it again
>   TestDatabase1.TestTable = New myTable        <<<<<<<<< WRONG
> ------------------------------------------------
> 
> OPS. This is wrong code of course!!!
> 
> You cannot MODIFY so easy structure of db if you use Class way.
> Class way -- this is FIXED structure.
> Read about this docs.
> 
> DropTable, CreateTable() should be used only in API way.
> 
> 
> 
> -- 
> 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]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina




More information about the Valentina mailing list