Re: many-to-many



Hi Michael,

Thank you for the prompt response.  I'd managed to get that far, but
now, can you make the Day field in the "remote portal layout" a
drop-down list showing the Day's defined in the Day table?

If I:

1. Right-click on it in details view,
2. Choose "Layout" from the context menu,
3. Highlight "field: days::day" and click on Formatting,
4. "Select Use custom formatting"
5. Go to Choices tab
6. "Choices From Related Records"

I can't see the "Day" field  in any of the drop-downs.

Cheers!

On Tue, 2009-12-01 at 14:53 +0100, Michael Hasselmann wrote:
Hi Andrew,

I tried to follow your description, and the attachment is what I came up
with. The trick is, once you are back in the people table after adding
the "remote portal layout":

1. Right-click on it in details view,
2. Choose "Layout" from the context menu,
3. Click "Add field",
4. Check "Show related relationships" (this will enable you to use the
relations defined in the availability table),
5. Select "Days > Days via days_id" and the Fields list should show a
"Field: days::day" entry.

The start/finish fields from the availability table are easy to add, as
simple fields.

I've created an example Glom file from what I did. It will contain some
example data to give you an idea.

Hope this helps,
Michael

PS: see http://taschenorakel.de/pictures/screenshots/2009/12/01/ruthven.png
for a quick idea.


-- 
Andrew Ruthven
Wellington, New Zealand
At home: andrew etc gen nz |          linux.conf.au 2010 
                           | Follow the signs. Visit Wellington!
                           |      http://www.lca2010.org.nz

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]