Modifying database
RBTools
rbtools at columbus.rr.com
Mon Jun 16 14:57:12 CDT 2003
Ok, The VersionSchema does show 1, but I can not find any documentation on
the Upgrade_1_2() function. In what documentation describes this function?
How would you suggest that I open the database as a Vdatabase class?
Sorry, but I did not understand what you were saying,
Steve
on 6/16/03 1:56 PM, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:
> on 6/16/03 20:44, RBTools at rbtools at columbus.rr.com wrote:
>
> Hi steve,
>
>> I am using:
>> RB 4.5.1
>> Valentina V4RB 1.9.6
>> Mac OSX 10.2.6
>>
>> I need to modify the structure of my database to allow for a new table and
>> additional columns in an existing table. Can this be done without having to
>> repopulate the database?
>
> Yes.
>
>> My thought was to use Vapp to modify the database
>> and then make the same changes in my code to match.
>
> Better do next
>
> On open check VersionSchema of your db,
> If it is say 1 then call Upgrade_1_2() function
>
> Here you need open db as Vdatabase class
> Change its columns as you need,.
> Close db.
>
> Then open db as MyDatabase class and of course in your classes you also need
> to do this changes.
>
More information about the Valentina
mailing list