Paolo ,

I think you need "refresh" your textfields,
when needed i can send you some code tomorrow



I need to change (via API) the database bound to a given document.

In practice I need to perform via API the same operation that you normally do via the menu Modify->Change Database.

I tried with:

oSet = oDoc.createInstance("")
oSet.CurrentDatabaseDataSource = "newsource"
oSet.CurrentDatabaseCommandType =
oSet.CurrentDatabaseCommand = "newtable"

But this does not affect the database fieldmasters in the document, that are still pointing to the old datasource.

It seems that I'm missing something.
Any help?

thank you
Paolo Mantovani

To unsubscribe send email to
For additional commands send email to
with Subject: help

Reply via email to