Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-09 Thread Alex Thurgood
Fernand Vanrie a écrit : Hi Fernand, and Frank, >> > OK I can follow so far, but can you see a other strategie to keep the > users away from Tables and other Datbase stuff where valid > information like Paswords etc... are been stored ? > I was thinking on > - Stroring the forms in a WritterD

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
Hi Fernand, > OK I can follow so far, but can you see a other strategie to keep the > users away from Tables and other Datbase stuff where valid information > like Paswords etc... are been stored ? > I was thinking on > - Stroring the forms in a WritterDoc ? that would completely avoid the pr

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-05 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, Also, in the scenario you described - two forms in the same database document - there should be no need at all to change the active connection of the already-loaded form. What do you want to achieve with this? Frank, tha

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
Hi Fernand, >> Also, in the scenario you described - two forms in the same database >> document - there should be no need at all to change the active >> connection of the already-loaded form. What do you want to achieve with >> this? >> > Frank, thanks for the reply, the goal is to use OO as a

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-05 Thread Fernand Vanrie
Frank Schönheit - Sun Microsystems Germany wrote: Hello Fernand, I trye to pass a nwe connection to a already opened form document who contains the macro a running from. You cannot do this. ActiveConnection is only accepted when the form is being loaded, after that, any change to it i

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
Hello Fernand, > I trye to pass a nwe connection to a already opened form document who > contains the macro a running from. You cannot do this. ActiveConnection is only accepted when the form is being loaded, after that, any change to it is vetoed, since the assumption is that the form, living i

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2008-12-23 Thread Fernand Vanrie
Marc, when trie changing the ActiveConnection I run in a PropertyVeto exception so: oForm.ActiveConnection = newConnectionand oForm.SetPropertyvalue("ActiveConnection" , newconnection) are not working Marc Santhoff wrote: Am Dienstag, den 23.12.2008, 15:05 +0100 schrieb Fernand Vanr

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2008-12-23 Thread Marc Santhoff
Am Dienstag, den 23.12.2008, 15:05 +0100 schrieb Fernand Vanrie: > Marc, > > Thanks for the quick reply, I saw now that I actualy was using "_blank" > in my test envoriment. I have to investigate further this diverences, > because using "_default blocs the frame and I Have to restart to kill

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2008-12-23 Thread Fernand Vanrie
Marc, Thanks for the quick reply, I saw now that I actualy was using "_blank" in my test envoriment. I have to investigate further this diverences, because using "_default blocs the frame and I Have to restart to kill the frame. and OO But sorry: " _blank" makes no difference :-) Have a me

Re: [api-dev] How to change the "ActiveConnection" of a already opened Form

2008-12-23 Thread Marc Santhoff
Am Dienstag, den 23.12.2008, 12:06 +0100 schrieb Fernand Vanrie: > Hallo All, > > I trye to pass a nwe connection to a already opened form document who > contains the macro a running from. > > So i have a Base Doc with 2 Form Docs. > > Mi macro resists and is run from formdoc1 with the macro I

[api-dev] How to change the "ActiveConnection" of a already opened Form

2008-12-23 Thread Fernand Vanrie
Hallo All, I trye to pass a nwe connection to a already opened form document who contains the macro a running from. So i have a Base Doc with 2 Form Docs. Mi macro resists and is run from formdoc1 with the macro I trie to pass a new connection to formdoc1 with the use of the function bel