• 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
Set a field of an AppleWorks database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Set a field of an AppleWorks database


  • Subject: Set a field of an AppleWorks database
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Wed, 26 Oct 2005 22:13:39 +0200

Hello,

I can get a field of a database like this:

		select every record
		set myList to {field <field name> of selection}

but the reverse doesn't seem to work:

		select every record
		set field <field name> of selection to myList

Or am I missing something?

I can write it out but it would nice if I could do it in one step:

set listCount to count items in myList
set recNum to 1

repeat until recNum = listCount + 1
set value of field <field name> of record recNum to (item recNum of myList1) as number
set recNum to recNum + 1
end repeat


Ugh!

Jan.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Set a field of an AppleWorks database
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: AW database field and floating point
  • Next by Date: Global Find and Replace
  • Previous by thread: Re: Filemaker and syncing Databases... Your comments please.
  • Next by thread: Re: Set a field of an AppleWorks database
  • Index(es):
    • Date
    • Thread