[V4MD MAC] throwout and unregister
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Apr 2 00:43:37 CST 2005
On 4/1/05 10:56 PM, "Peter Salomon" <peter.salomon at gmx.net> wrote:
Hi Peter,
> It runs really! can now connect to vserver and log file works also.
> wonderful! now i was able to start playing a bit and started to convert
> older 1.x project to 2.x.
Excellent!
> and here are todays questions:
>
> throwout() deletes files in LOCAL mode. In Client mode not - so e.g.
Yes, I think this was our target.
Because that db can be used by other users...
Igor, comments ?
It seems to me we can throw out files of closed db...
Or you want to say that db under server always is opened?
> example runs "only" one time, the second time an error occurs, telling
> that db already exists which is correct.
It is possible to trash db files manually.
So Vserver will create them again without complains.
> so i tried a small script:
>
> on unregisterDB
> VServer = new(xtra "Vserver", "localhost", "sa", "sa")
> if not objectP(VServer) then
> beep
> alert "Cannot set reference to VServer Xtra!"
> end if
> if objectP(gDb) then
> gDB.close()
> gDB=void
> end if
> VServer.unregisterDatabase("Database1.vdb")
> end
>
> the script gives me the error: ERROR: 394504
>
> can i readout those errormessages via VServer? and how can i get rid of
> registered databases?
Igor ?
--
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