Actually, what I outlined earlier isn't particularly 'snazzy' or
'convoluted'. Filemaker provides us with powerful tools for parsing texts
and lists, and script variables help speed scripting like this. Admittedly a
bit of work, a lot of trial and error if you're venturing this way for the
first time, but adding 2 tables to solve a problem like this doesn't seem
very economical or elegant. 

If you can figure out how to isolate ('parse') any item in a list, then
you're mostly there. It's the returns that locate items; by figuring out the
number of returns in the list up to a given point, you can extract the item.
All you need is Middle() and Position() and a counter, although there are
other functions, such as those using the word 'Value', that will serve
equally well.

I like to treat a list as a list plus one return; that helps dealing with
the last item. But, again, there are a variety of valid ways to parse out a
list. Once you've got control over it and can easily pull out the 4th item,
it shouldn't be that hard to figure out if that 4th item exists in the
second list.


John Weinshel
Datagrace
Vashon Island, WA
(206) 463-1634
Member, FileMaker Business Alliance
Certified For FileMaker 8
Certified For FileMaker 7

-----Original Message-----
From: FileMaker Pro Discussions [mailto:[EMAIL PROTECTED] On
Behalf Of Richard S. Russell
Sent: Saturday, July 05, 2008 12:35 PM
To: [email protected]
Subject: Re: Comparing Value Lists

There may be snazzy ways to do this, but I'd create a temporary*  
FileMaker Pro database which has 2 tables, each with 1 field  
("Value") linked to its counterpart in the other table.

Then I'd extract the values from Value List 1 and import them into  
Table 1 and the values from Value List 2 and import them into Table  
2. From either table, you can do a Find for values that match the  
OTHER table.

-----
*If you expect to have to do this more than once, NOT temporary.=

Reply via email to