Ask a Question related to FileMaker, Design and Development.
-
Howard Schlossberg #1
Re: Capturing "File is damaged..."
Although it is defined as error code 805, there is no way to block the
message dialog from popping up, even when the Set Error Capture step is
set properly. You can trap for errors in your script immediately after
the Open[] step where this error is generated. The user will still get
the default dialog, but at least your script will know it by checking
for error 805.
Bill Jaynes wrote:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> Hello,
> I would like to build an opening script that suppresses Filemaker's
> "File is damaged and cannot be opened. Use the Recover command..." and
> allows me to display a custom message. I imagine the syntax is something
> like..
> If (Status current error = ........) show message.
> Not sure about how to word that.
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California
Associate Member, FileMaker Solutions Alliance
Howard Schlossberg Guest
-
Save As, then "File is damaged. Error code 1"
Are you saving files to a file server? I am experiencing a similar problem but I find if I save to my desktop or hard drive the problem goes away.... -
HELP PLEASE!! My 'Shockwave Flash Object' is listed as"DAMAGED"!!
Hi everyone! I really hope that someone on these Forums will be able to help me; I know that I'm not alone with this awful Shockwave probllem... -
Why is the "capturing" phase so named?
I believe I've got a reasonable understanding of the Flex event flow but I don't understand why the capturing phase is so named. Perhaps it is so... -
Capturing a failed login within "windows authentication"
Is there an event or "something" that happens when I can Log a message (or whatever) when a logon attempt fails when unsing "Windows... -
How to make the "search text" feature work with non "txt" file
On Fri, 27 Jun 2003 07:19:23 -0700, "Juergen" <anhorn@bktel.com> wrote: See MVP Doug Knox' comments and fix here:... -
Bill Jaynes #2
Re: Capturing "File is damaged..."
I have tried a couple of things:
Set Error Capture ON
Open (damaged file)
If Status Current Error = 805
Show Message
End If
This brings up the dialog as you say. I hoped to be able to cancel out of it
and have my message show. If I cancel out of the Recover dialog the script
ends without the message. If, however, I specify If not(Status (current
error)) = 805, my dialog shows. I checked how the Status function works; it
needs a number result but wants only to be boolean. I think I'm close; any
ideas?
All the best,
Bill
"Howard Schlossberg" <howard@antispahm.fmprosolutions.com> wrote in message
news:vgtu2r8k35ja46@corp.supernews.com...> Although it is defined as error code 805, there is no way to block the
> message dialog from popping up, even when the Set Error Capture step is
> set properly. You can trap for errors in your script immediately after
> the Open[] step where this error is generated. The user will still get
> the default dialog, but at least your script will know it by checking
> for error 805.
>
Bill Jaynes Guest



Reply With Quote

