[AS] Close database not working for me
M Young
m.young at mac.com
Sat Dec 11 22:21:28 CST 2004
AppleScript
Create()
tell application "Valentina Carbon"
close database "Macintosh HD:Customers"
end tell
------------------------------------------------------------------------
----
on Create()
tell application "Valentina Carbon"
activate
set theDB to make new database with data file "Macintosh HD:Customers"
set Customer to make new base object with properties
{name:"Customer"} at end of theDB
end tell
end Create
*************************************************************
Event Log
tell application "Valentina Carbon"
activate
current application
activate
make new database with data file "Macintosh HD:Customers"
database "Customers"
make new base object with properties {name:"Customer"} at end of
database "Customers"
base object "Customer" of database "Customers"
close database "Macintosh HD:Customers"
"Valentina Carbon got an error: database \"Macintosh HD:Customers\"
doesn't understand the close message."
*************************************************************
Database "Customers" is created in the correct location, however close
database fails. What am I doing wrong?
Michael
Valentina 1.10
OS X 10.3.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1232 bytes
Desc: not available
Url : http://lists.macserve.net/pipermail/valentina-studio/attachments/20041211/b16999cb/attachment.bin
More information about the Valentina-studio
mailing list