And then there is the old way.

If the artist file is connected to the art file with an ArtID:

Copy ArtID to a global
Open a window for the Artist table
Perform a find on the ArtID
Extract the needed data from the records found to a global in the order you need them on the label
Close the artist window
Open a window for the label layout
Print your label using data from the global
Close the second window.

Finished

Thought I'd include this method as it is more environment independent than using a special function only available in FM.
And it gives you complete control over the order you collect your data.

Kind regards
Hans


On 18.4.2007, at 21:16, Chad Novotny wrote:

Deb,

Yes, the List function is WAY powerful. It doesn't really have anything to do with Value Lists; it's an aggregate function similar to Sum, Max, Average, etc., but works with text rather than numbers.

Say you had an invoice with three related items:

QTY     DESCRIPTION     PRICE   EXTENDED
2       Socks           2.17            4.34
1       Shirt                   25.00   25.00
3       Ties                    15.00   45.00

The Sum function

Sum ( Items::Extended ) = 74.34

obviously allows you to get the total of the related items. But if you said Sum ( Items::Description ), it wouldn't make sense, since you can't add up text.

The List function essentially DOES do that. List ( Items::Description ) "adds" up the related field, but since it still doesn't make sense to do math with text, it generates a return-delimited text list:

Socks
Shirt
Ties

Since the addition of the List function, my systems need a lot fewer Value Lists that are only used for calculations.

Regards,
Chad



On Apr 18, 2007, at 5:00 PM, Deborah Tinsley wrote:

Wow! That did the trick. Sorry it took 3 of you (Ralph, Megan and Chad) to
nurse me through this process.

I still don't know why it works. It doesn't seem like enough information - how does it know which Values List to use? I didn't assign that value list
to any of the fields.

8.5 just knocks me out as do the folks on this list. Thanks again.

Deb



***************
Chad Novotny
Vice President - Technology
The Support Group, Inc.
database design, development and training services
boston - los angeles - new york - san francisco - washington, dc

24 Prime Park Way
Natick, MA 01760
t: 508.653.8400 x217
f: 508.653.2830
[EMAIL PROTECTED]
www.supportgroup.com

Reply via email to