• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
fileMaker Value Lists
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fileMaker Value Lists


  • Subject: fileMaker Value Lists
  • From: Oakley Masten <email@hidden>
  • Date: Thu, 13 Sep 2007 14:23:55 -0700 (PDT)

David
This could be an excellent technique for lots of
things.
It works quite well.  But I am missing a part.

When I load the cell into a variable I can't figure
out how to access each item.

tell application "FileMaker Pro"
	tell database "MAPS_2_Quark.fp7"

		set theList to (cell "ValueListItems" of current
record)

		set countChoices to count of items in theList
	end tell
end tell


	set theList to (cell "ValueListItems" of current
record) as text
	set theList to (cell "ValueListItems" of current
record) as list

This gives the list as you said but the countChoices
is 549 [characters] in text mode and 1 in list mode.
It should have been 36 items.

How do I get access to them individually as items?
Do I have to set some sort of delimiter variable for
the list?

I guess my real question for you is how do I process a
Carriage-Return list that doesn't count items by
Carrrage-Returns.
I am lost here.

thanks
Oakley



--- David Crowe <email@hidden> wrote:

> It appears that my solution got lost.
>
> 1. Define a calculation field in FileMaker with the
> "ValueListItems" function.
>
> 2. Access this calculation field from AppleScript in
> the normal way.
> The FileMaker function gives you a carriage-return
> delimited list,
> which is I believe what you wanted.
>
> - David Crowe
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: fileMaker Value Lists
      • From: David Crowe <email@hidden>
References: 
 >re: fileMaker Value Lists (From: David Crowe <email@hidden>)

  • Prev by Date: Re: rsync do shell script password..
  • Next by Date: A Different Rsync Question
  • Previous by thread: re: fileMaker Value Lists
  • Next by thread: Re: fileMaker Value Lists
  • Index(es):
    • Date
    • Thread