Ralph and Megan,

First of all ­ thanks a lot. That worked better than I expected.

Okay - here's my calc:

List ( AG_AGENTS::c_qualifier_SortName) &
Substitute ( ValueListItems ( Get ( FileName ) ; "AgentsExport" ) ; "¶" ;
";" )

Looks like it works - wait for it - except, it puts the names on new lines.
Example:

FISCHL, PETER 
WEISS, DAVID  Untitled , painted polyurethane, H:variable, 1994, 20th C.
(100336) Acc #: 93932


Is there a way to put the names  on the same line with the semi-colon
between them ?
I thought that¹s what the Substitute function was supposed to do?? Did I
write it wrong?

Deb



On 4/18/07 12:40 PM, "Ralph Lilienkamp" <[EMAIL PROTECTED]> wrote:

> Deborah Tinsley wrote:
>> FMP 8.5, Mac OSX
>> 
>> I hope this is clear enough.
>> 
>> I'm using a calculation to make a label for slides from multiple fields. In
>> the label I include the artist or artists responsible for the work.
>> 
>> In my old database, I had separate fields for multiple artists (more than
>> one artist responsible for the work): i.e. Artist_1, artist_2, artists_3,
>> etc.) It was easy to concatenate the fields for multiple artists on the
>> label.
>> 
>> With 8.5 and because of changes in my profession for organizing data, in the
>> Works Table (that's the work of art), I have a portal into the artist's file
>> where I can list as many artists as I need without using multiple fields.
>> 
>> The problem is, when I write the calculation for the slide label, Iwhile
>> can easily designate the first artist in the portal for inclusion, but not
>> the other artists. I have to type them in separately.
>> 
>> For the artist component of my calculation I have:
>> 
>> TextStyleAdd ( If (  not IsEmpty ( c_Label_Agent ); c_Label_Agent  & " " )
>> 
>> Then the rest of the calc includes the culture, title, media, etc.
>> 
>> Is there a way to include multiple artists from the portal in my label calc?
>> 
>> Deb
>> 
> 
> Look at the List function, new in 8.5.  This will give you a list
> each value separated by a return. you can use the Substitute function
> to replace the returns with spaces or ,'s.

Reply via email to