[RE][V4RB] Save as ?
erne
ernestogiannotta at tiscalinet.it
Wed Jul 2 09:38:16 CDT 2003
Hi Bas,
on 1-07-2003 22:01, Bas Streef at b.streef at hccnet.nl wrote:
>> you may want to use
>>
>> f.CopyFileTo(newfile)
>>
>> where f is your original db file reference and newfile the result of
>> GetSaveFolderItem
>>
>>
>> Cool Runnings,
>> Erne.
>>
> Thanks, Erne
> I totally overlooked f.CopyFileTo.
> The only 'problem' with this solution is that you have to keep a
> reference alive to the original file.
> I tried db.Create(newFile), but that obviously only creates an empty
> database.
> The question then is, how to fill this new file with the current data.
>
yep! you must keep alive a reference to the original file
would be nice if you could ask Valentina for it
(after all she must have it internally somewhere)
anyway I can't see too much trouble in storing it yourself somewhere near
the db reference (or even in a db subclass having a property myfile as
folderitem)
Cool Runnings,
Erne.
--
| e r | Ernesto Giannotta
| n e | Musical Box - a media store
More information about the Valentina
mailing list