Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default inmate problem

    I have a database that keeps track of inmates. When an inmate escapes, i
    have a way to lookup the name of the guard who was supposed to be guarding
    the escapee. The problem is that when the inmate escapes, his name gets
    deleted from the database, so I have no way to tie his name a guard. Is
    there anyway to retreieve the last 7 inmate names so I can punish or fire
    the guard(s).
    Extremely Urgent.


    Tammy B. Guest

  2. Similar Questions and Discussions

    1. contribute problem - access denied file may not existpermission problem
      Recieving the following error message - "access denied file may not exist , or there could be a permission problem" this happened this morning ,...
    2. Problem playing Quicktime thru .DCR embedded in HTML - pathreferencing problem?
      Greetings earthlings and Director heads. Here's the problem: created an HTML file containing shockwave (dcr) movie that calls quicktime movies in...
    3. Uploading problem = weird warning (was: access denied problem.....)
      Hi, I had a problem where my upload form was not working on our production server but was working on two other servers, after checking the...
    4. #21611 [Opn]: Problem with version_compare() (Was: Problem with pear cli and release numbers)
      ID: 21611 Updated by: et@php.net -Summary: Problem with pear cli and release numbers Reported By: jan at horde...
    5. Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
      HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I...
  3. #2

    Default Re: inmate problem

    Why are they deleted, surely they should be flagged as Escaped (or flagged
    as 'deleted') to keep any joins etc valid.

    So your delete procedure should set a flag in db rather than actually delete
    the record, you will then need to change your display code to ensure records
    flagged as deleteed are not normally displayed.

    Then maybe after 6 months or so assuming he has evaded re-capture and thus
    achived ' got out of jail free' status the record could be purged then.

    "Tammy B." <Tb@stinkylips.com> wrote in message
    news:e45DrS2TDHA.2264@TK2MSFTNGP11.phx.gbl...
    > I have a database that keeps track of inmates. When an inmate escapes, i
    > have a way to lookup the name of the guard who was supposed to be guarding
    > the escapee. The problem is that when the inmate escapes, his name gets
    > deleted from the database, so I have no way to tie his name a guard. Is
    > there anyway to retreieve the last 7 inmate names so I can punish or fire
    > the guard(s).
    > Extremely Urgent.
    >
    >

    only_me Guest

  4. #3

    Default Re: inmate problem

    On our Intranet, we flag an employee as Active (if they still work here) or
    Inactive (if they have resigned or been terminated). That way, their
    records are still in the database after they leave, so that other items
    associated with them don't get affected. This is pretty much want you want
    to do. Add a field denoting whether or not they have escaped, or some
    similar thing.

    And I don't think you should necessarily fire the guard. It's not always his
    fault. I'm no expert, but I saw Shawshank.


    "Tammy B." <Tb@stinkylips.com> wrote in message
    news:e45DrS2TDHA.2264@TK2MSFTNGP11.phx.gbl...
    > I have a database that keeps track of inmates. When an inmate escapes, i
    > have a way to lookup the name of the guard who was supposed to be guarding
    > the escapee. The problem is that when the inmate escapes, his name gets
    > deleted from the database, so I have no way to tie his name a guard. Is
    > there anyway to retreieve the last 7 inmate names so I can punish or fire
    > the guard(s).
    > Extremely Urgent.
    >
    >

    middletree Guest

  5. #4

    Default Re: inmate problem

    perhaps you could get the inmates to complete an online questionnaire
    attributing blame for their escape, before they crawl along their secret
    tunnel/negotiate razor wire fence/make rendezvous with hijacked helicopter
    (delete as applicable)

    :)

    Jason

    "middletree" <middletree@htomail.com> wrote in message
    news:ebMhBw5TDHA.2308@TK2MSFTNGP12.phx.gbl...
    > On our Intranet, we flag an employee as Active (if they still work here)
    or
    > Inactive (if they have resigned or been terminated). That way, their
    > records are still in the database after they leave, so that other items
    > associated with them don't get affected. This is pretty much want you
    want
    > to do. Add a field denoting whether or not they have escaped, or some
    > similar thing.
    >
    > And I don't think you should necessarily fire the guard. It's not always
    his
    > fault. I'm no expert, but I saw Shawshank.
    >
    >
    > "Tammy B." <Tb@stinkylips.com> wrote in message
    > news:e45DrS2TDHA.2264@TK2MSFTNGP11.phx.gbl...
    > > I have a database that keeps track of inmates. When an inmate escapes,
    i
    > > have a way to lookup the name of the guard who was supposed to be
    guarding
    > > the escapee. The problem is that when the inmate escapes, his name gets
    > > deleted from the database, so I have no way to tie his name a guard. Is
    > > there anyway to retreieve the last 7 inmate names so I can punish or
    fire
    > > the guard(s).
    > > Extremely Urgent.
    > >
    > >
    >
    >

    jason kennedy Guest

  6. #5

    Default Re: inmate problem

    Since they get deleted from the DB when they escape, maybe the inmates
    wrote it :)

    Not only do they get to run the asylem, they get to design the
    computer system too! :)

    Just kidding, Tammy! Relax,...I just couldn't pass that up.

    --

    Phillip Windell [CCNA, MVP, MCP]
    [email]pwindell@wandtv.com[/email]
    WAND-TV (ABC Affiliate)
    [url]www.wandtv.com[/url]

    "jason kennedy" <jason@pinhut.com> wrote in message
    news:#yM1Tf6TDHA.2460@TK2MSFTNGP10.phx.gbl...
    > perhaps you could get the inmates to complete an online
    questionnaire
    > attributing blame for their escape, before they crawl along their
    secret
    > tunnel/negotiate razor wire fence/make rendezvous with hijacked
    helicopter
    > (delete as applicable)
    >
    > :)
    >
    > Jason
    >
    > "middletree" <middletree@htomail.com> wrote in message
    > news:ebMhBw5TDHA.2308@TK2MSFTNGP12.phx.gbl...
    > > On our Intranet, we flag an employee as Active (if they still work
    here)
    > or
    > > Inactive (if they have resigned or been terminated). That way,
    their
    > > records are still in the database after they leave, so that other
    items
    > > associated with them don't get affected. This is pretty much want
    you
    > want
    > > to do. Add a field denoting whether or not they have escaped, or
    some
    > > similar thing.
    > >
    > > And I don't think you should necessarily fire the guard. It's not
    always
    > his
    > > fault. I'm no expert, but I saw Shawshank.
    > >
    > >
    > > "Tammy B." <Tb@stinkylips.com> wrote in message
    > > news:e45DrS2TDHA.2264@TK2MSFTNGP11.phx.gbl...
    > > > I have a database that keeps track of inmates. When an inmate
    escapes,
    > i
    > > > have a way to lookup the name of the guard who was supposed to
    be
    > guarding
    > > > the escapee. The problem is that when the inmate escapes, his
    name gets
    > > > deleted from the database, so I have no way to tie his name a
    guard. Is
    > > > there anyway to retreieve the last 7 inmate names so I can
    punish or
    > fire
    > > > the guard(s).
    > > > Extremely Urgent.
    > > >
    > > >
    > >
    > >
    >
    >

    Phillip Windell Guest

  7. #6

    Default Re: inmate problem

    I guess they figured out how to encapsulate themselves and "tunnel
    through a firewall" :)

    "John Beschler" <giles@geewhiz.com> wrote in message
    news:021e01c35201$632db290$a101280a@phx.gbl...
    > Seems to me if you have that many inmates escaping,
    > perhaps the data integrity is NOT your biggest problem! :)
    >
    > (Sorry, I couldn't resist.)
    >
    >
    > >-----Original Message-----
    > >Why are they deleted, surely they should be flagged as
    > Escaped (or flagged
    > >as 'deleted') to keep any joins etc valid.
    > >
    > >So your delete procedure should set a flag in db rather
    > than actually delete
    > >the record, you will then need to change your display
    > code to ensure records
    > >flagged as deleteed are not normally displayed.
    > >
    > >Then maybe after 6 months or so assuming he has evaded re-
    > capture and thus
    > >achived ' got out of jail free' status the record could
    > be purged then.
    > >
    > >"Tammy B." <Tb@stinkylips.com> wrote in message
    > >news:e45DrS2TDHA.2264@TK2MSFTNGP11.phx.gbl...
    > >> I have a database that keeps track of inmates. When an
    > inmate escapes, i
    > >> have a way to lookup the name of the guard who was
    > supposed to be guarding
    > >> the escapee. The problem is that when the inmate
    > escapes, his name gets
    > >> deleted from the database, so I have no way to tie his
    > name a guard. Is
    > >> there anyway to retreieve the last 7 inmate names so I
    > can punish or fire
    > >> the guard(s).
    > >> Extremely Urgent.
    > >>
    > >>
    > >
    > >
    > >.
    > >

    Phillip Windell 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