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

Joined: 03 May 2012 Posts: 1
|
Posted: Thu May 03, 2012 1:35 am Post subject: Forms for related tables |
|
|
Hi,
I'm new to OOoBase, and need a bit of help with related tables.
I'm setting up a CRM-ish database for a healthcare practice, with the following (initial) tables:I've got the one-to-many relationship already set up from Client to Appointment.
But I now want to reflect this in the forms. What I'm hoping to achieve within the Clients form is the ability to:* Have a button to create a new Appointment for that client. This button would need to open up an Appointment form with the ClientID column already set to the Client ID
* Have another button to show all the client's appointments Is there any way to accomplish this without having to write macros? I just want to get on with the job, I don't have the time to study APIs and write and debug code
Can someone please give me a few pointers, or at least some links to good resources that explain this stuff?
Thanks if you can help
Cheers
David |
|
| Back to top |
|
 |
RPG Super User

Joined: 24 Apr 2008 Posts: 2696 Location: Apeldoorn, Netherland
|
|
| Back to top |
|
 |
dacm Super User


Joined: 07 Jan 2010 Posts: 734
|
Posted: Fri May 04, 2012 10:23 am Post subject: Re: Forms for related tables |
|
|
| davidmc wrote: | | ...a button to...open up an Appointment form with the ClientID column already set to the Client ID...without having to write macros... |
Hi David,
If you really want this exact function, then you'll need to employ a macro.
Otherwise, use a SubForm as Romke suggested. _________________ Soli Deo gloria
Tutorial: avoiding data loss with Base + Migrating 'Embedded databases' |
|
| Back to top |
|
 |
|