• 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
A descriptor type mismatch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A descriptor type mismatch


  • Subject: A descriptor type mismatch
  • From: Jeffrey McLean <email@hidden>
  • Date: Thu, 22 Aug 2002 13:59:54 -0400
  • Resent-date: Fri, 23 Aug 2002 17:46:28 -0400
  • Resent-from: Jeffrey McLean <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: AppleScript Users <email@hidden>

Hi,

I am trying to write a script that copies a set number of records from
a database document. I have Appleworks 6.2.4 and Applescript 1.8.3 and
Mac OS X 1.5 on a 700 Mhz iBook.


tell application "AppleWorks 6"
activate
open DatabaseFile
--tell me to display dialog "This Database is: " & ThisDatabase
tell database of document ThisDatabase
set CompanyNames to the field "Company Name" of every record
whose field "Not Paid" = 1 as list
tell me to display dialog "Company Names are: " & CompanyNames
.
.
.
end tell

Result: --> AppleWorks 6 got an error: A descriptor type mismatch
occurred.


What is a descripter type? I have also tried set RecordCount to number
of records and got the same error.


Jeff
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: [Apple List Admin] Where Chuq is
  • Next by Date: A descriptor type mismatch
  • Previous by thread: [Apple List Admin] Where Chuq is
  • Next by thread: A descriptor type mismatch
  • Index(es):
    • Date
    • Thread