Capturing "File is damaged..."

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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....
    2. 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...
    3. 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...
    4. 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...
    5. 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:...
  3. #2

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139