Article View: comp.sys.mac
Article #41636help with writing 4th Dimension procedures
From: Steven D. Litvintchouk
Date: Thu, 27 Apr 1989 15:35
Date: Thu, 27 Apr 1989 15:35
35 lines
1740 bytes
1740 bytes
I've encountered a problem with using the 4th Dimension scripting
language to write procedures that delete records. I wrote a layout
procedure that I want to attach to a "delete" button on the layout.
The procedure is to delete the record currently displayed in
the layout (and afterwards it'll display some interesting user
messages).
But I haven't even been able to get deletion of the selected record to
work properly. When the layout procedure executes the DELETE RECORD
command, the record is deleted. But immediately afterward, either 4th
Dimension crashes (displaying a "4th Dimension has unexpectedly quit"
alert box); or else the Mac itself locks up and must be rebooted.
Has anyone seen anything like this? More generally, are there any good
references/tutorials in Mac magazines/books on writing 4th Dimension
procedures?
The docs that came with 4th Dimension don't show any examples of
layout procedures that involve record deletions. I also bought a book
on 4th Dimension (by Tim Knight), but that doesn't cover examples of
record deletions either.
Please reply directly to me as I am not a regular subscriber of this
newsgroup. Any help will be most appreciated!
Steven Litvintchouk
MITRE Corporation
Burlington Road
Bedford, MA 01730
(617)271-7753
ARPA: sdl@mbunix.mitre.org
UUCP: ...{att,decvax,genrad,ll-xn,philabs,utzoo}!linus!sdl
Technical Details
Message-ID:
<51620@linus.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!prls!philabs!linus!sdlShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!prls!philabs!linus!sdl From: sdl@linus.UUCP (Steven D. Litvintchouk) Newsgroups: comp.sys.mac Subject: help with writing 4th Dimension procedures Message-ID: <51620@linus.UUCP> Date: 27 Apr 89 15:35:48 GMT Organization: The MITRE Corp., Bedford, MA Lines: 35