Yep,

just figured it out

so must be (for archives sake)

db.Close
db = Nil

Shouldn't have called my connect method "attachdb".

Oh well, another fruitful day

THX

Bart

On 16-nov-06, at 17:21, Norman Palardy wrote:


On Nov 16, 2006, at 6:29 AM, Bart Pietercil wrote:

Hi,

can anybody tell me what is wrong with this code

App.NewLicenseDB.DetachDatabase(App.NewLicenseDB.DatabaseName)

it gives the errorMessage

near ";": syntax error

with errorcode: 1

If this turns out to be a bug, is there another way of closing the db ?

Setting the variable to Nil ?

Just set the variable NIL

Detach is only for use with databases that you've ATTACHED
If you just did a connect then that's not the same
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to