Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-19 Thread Alex Thurgood
Le dimanche 20 mai 2007 00:MM, Marc Santhoff a écrit : Hi, > But I'd be very pleased if someone would take the task of making XML > snippet format out of the posting (Alex?). > I can certainly have a look, but I've never used the snippet creator as yet, probably for the same reasons as you ;-)

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-19 Thread Marc Santhoff
Am Samstag, den 19.05.2007, 21:52 +0200 schrieb Frank Schönheit - Sun Microsystems Germany: > Hello Marc, > > >>Now I have exactly this problem, you wouldn't have some macro code lying > >>around somewhere that you'd be willing to share by any chance ? > > > > It's "Code-giving day" today. ;) >

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-19 Thread Frank Schönheit - Sun Microsystems Germa ny
Hello Marc, >>Now I have exactly this problem, you wouldn't have some macro code lying >>around somewhere that you'd be willing to share by any chance ? > > It's "Code-giving day" today. ;) Care to give this ingenious piece of code to http://codesnippets.services.openoffice.org? Ciao Frank --

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-18 Thread Alex Thurgood
Le vendredi 18 mai 2007 18:MM, Marc Santhoff a écrit : Marc, > > It's "Code-giving day" today. ;) You have saved me countless hours of trawling through the API, a huge thank you > > Please post any additions you make, not all possible cases are catched > by the code! > You're on !! Alex

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-18 Thread Marc Santhoff
Am Mittwoch, den 16.05.2007, 20:04 +0200 schrieb Alex Thurgood: > > I used this approach for copying a record in a form as template for e > > new one (excliding the primary key field). > > Now I have exactly this problem, you wouldn't have some macro code lying > around somewhere that you'd be wi

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-17 Thread Frank Schönheit - Sun Microsystems Germ any
Hi Marc, > In general I can second your opinion, but there *are* cases where using > the control is "a good thing": > > Especially when using BASIC there is no way of converting datatyes using > an API service (at lest one I know, please tell me if so!) so you'd have > to convert each value to th

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-16 Thread Alex Thurgood
Le mercredi 16 mai 2007 15:MM, Marc Santhoff a écrit : Hi, > Especially when using BASIC there is no way of converting datatyes using > an API service (at lest one I know, please tell me if so!) so you'd have > to convert each value to the type the bound fields wants to see. In > BASIC this blow

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-16 Thread Marc Santhoff
Am Mittwoch, den 16.05.2007, 10:09 +0200 schrieb Frank Schönheit - Sun Microsystems Germany: > Mathias' suggestion gets the most points :). The BoundField property of > the control model refers to the database field which the control is > bound to. Modifying this one is, speaking strictly, the onl

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-16 Thread Peter Eberlein
Hi, Thanks to Mathias, Andrew and last but not least Frank for your detailed explanations. Regards Peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-16 Thread Frank Schönheit - Sun Microsystems Germ any
Hello Peter, the wide variety of answers here show that the concepts are clearly too ... complex. > in a form which is connected to a server db I filled some text fields > with api. > The content of these fields are not saved by clicking the "Save > record"-button. Only typing or pasting seems

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread andrew
Mathias Röllig wrote: Am 15.05.2007 15:59 schrieb Peter Eberlein: I think you use oControl.setString( "myText" ) Yes, I do so, but don't understand why this shouldn't work. I think the reason is, that there is no need that a control is bound to a database field. You can use co

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread Marc Santhoff
Am Dienstag, den 15.05.2007, 15:59 +0200 schrieb Peter Eberlein: > Mathias Röllig schrieb: > > Am 15.05.2007 15:34 schrieb Peter Eberlein: > >> in a form which is connected to a server db I filled some text fields > >> with api. > >> The content of these fields are not saved by clicking the "Save

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread Mathias Röllig
Am 15.05.2007 15:59 schrieb Peter Eberlein: >> I think you use >> oControl.setString( "myText" ) > > Yes, I do so, but don't understand why this shouldn't work. I think the reason is, that there is no need that a control is bound to a database field. You can use controls without any database so t

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread Peter Eberlein
Mathias Röllig schrieb: Am 15.05.2007 15:34 schrieb Peter Eberlein: in a form which is connected to a server db I filled some text fields with api. The content of these fields are not saved by clicking the "Save record"-button. Only typing or pasting seems to fire an event, that the content ha

Re: [dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread Mathias Röllig
Am 15.05.2007 15:34 schrieb Peter Eberlein: > in a form which is connected to a server db I filled some text fields > with api. > The content of these fields are not saved by clicking the "Save > record"-button. Only typing or pasting seems to fire an event, that the > content has changed. You

[dba-dev] No saving of form data when inserted into controls with api-commands

2007-05-15 Thread Peter Eberlein
Hi, in a form which is connected to a server db I filled some text fields with api. The content of these fields are not saved by clicking the "Save record"-button. Only typing or pasting seems to fire an event, that the content has changed. Otherwise, when loading the next record, the conten