Hi all,


Using m92

I have set up a database that connects to a table in mysql.

I have created a form in that database that allows me to edit records.

I'd like to extend this form a little:

I'd like to add a button that executes a function/macro that
- gets the currently selected text in a multi-line textbox
- asks me (input dialog) for a string, i.e "foo.jpg"
- adds some generated text around the selected text in the textbox, i.e. [img=foo.jpg]selected_text[/img]


is this possible with scripting in OOo?
Which language would I need?
I played around with Basic and I got so far that I get some information about the form (like what database, what query etc) but found no way to access the form fields and modify the content


any ideas?

thanks
Jens Ansorg


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to