| View previous topic :: View next topic |
| Author |
Message |
bking39116 Newbie

Joined: 11 Dec 2003 Posts: 2
|
Posted: Thu Dec 11, 2003 2:38 am Post subject: open new form with subform data |
|
|
Hi all!
I am trying to switch from M$ Office to OOo 1.1 using MySQL as the database. The application I am working on is a project management application for corporate theater. I am not a programmer, but have a small bit of coding experience.
I would like to have have a new form open when a subform (table) record is clicked. the particular case I am working on right now is a master client form and table with a slave contacts subform (table type) and table. When a record is clicked in the contacts subform, I would like to open a detail form for the selected contact.
I have tried the macro recorder, but can't get it to record the code for opening the form. If someone can offer a bit of advice here, I'd much appreciate it.
tnx,
bk |
|
| Back to top |
|
 |
dfrench Moderator

Joined: 03 Mar 2003 Posts: 1605 Location: Wellington, New Zealand
|
Posted: Thu Dec 11, 2003 4:22 am Post subject: |
|
|
| The form is just another document .. LoadComponentFromURL() is what you need to work with |
|
| Back to top |
|
 |
bking39116 Newbie

Joined: 11 Dec 2003 Posts: 2
|
Posted: Thu Dec 11, 2003 4:25 am Post subject: |
|
|
can you point me to an example?
tnx,
bk |
|
| Back to top |
|
 |
|