• 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 perform applescript step
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

filemaker perform applescript step


  • Subject: filemaker perform applescript step
  • From: email@hidden
  • Date: Wed, 24 Jan 2001 15:46:04 -0800

I have a locking mechanism script. If a field is set to 1 (locked) then the
user can't change a field (closed status). The script works according to the
criteria the user gave me. The user now wants 11 other fields to be
non-modifiable if the lock field is locked.
To make it easier I decided to use the applescript script step. I noticed in
the Filemaker dictionary there is a property for field access which you can set
to "no". This is my FM script:



if [reconcile PO::closed status <> "closed"

beep

show message {error}

else

set field ["locked","case(locked,0,1)"]

*Perform applescript(set field "Qty Received" access no

end if



The perform applescript didn't work. It didn't like the way I changed the field
property "access". How should this be done?

I have another question. I would like to change the field access property on 11
fields total. Can I set all the fields to access no in the one perform
Applescript?



thanks.



------------------------------------------------------------------------------
Warning : The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and then delete it from your computer. All e-mail sent to this address will be received by the Providian Financial corporate e-mail system and is subject to archiving and review by someone other than the recipient.

==============================================================================


  • Prev by Date: Re: QuarkXPress find and replace with a variable
  • Next by Date: RE: scripting copy from one filemaker database to another
  • Previous by thread: Re: Alternative to URL Access?
  • Next by thread: Beginner looking for SCRIPT EDITOR
  • Index(es):
    • Date
    • Thread