Assigning Creator type

erne ernestogiannotta at tiscalinet.it
Sat Jul 24 09:04:21 CDT 2004


on 23-07-2004 20:16, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:

>>> In 1.x I used these lines to create a database and assign a Mac Creator:
>>> 
>>> tempDataBase = new myDataBase
>>> tempDataBase.Creator = "ABCD"
>>> tempDataBase.Create(f, 1, 2 * 1024 )
>>> 
>>> I see that in 2.0 the Creator is always "VALA", not the one I assigned.
>>> 
>> 
>> old issue... 
>> 
>> assign 
>> tempDataBase.Creator = "ABCD"
>> after DB creation
> 
> Erne, it seems you are wrong.
> 
> Must be BEFORE create()
> 

ooops! sorry guys!

I was confusing with the DB.SchemaVersion prop

I better think twice before open mouth :-)


Cool Runnings,
Erne.

-- 
| e r |  Ernesto Giannotta
| n e |  Musical Box - a media store
                   




More information about the Valentina-beta mailing list