Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. PersonResponsible

PersonResponsible

Scheduled Pinned Locked Moved The Lounge
question
16 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Richard A Dalton

    Today I had occasion to create a property called 'PersonResponsible'. It struck me as such a nice if quaint idea. People being responsible for stuff. Remember that? -Rd

    D Offline
    D Offline
    DaveAuld
    wrote on last edited by
    #4

    Richard A. Dalton wrote:

    People being responsible for stuff. Remember that?

    I remember very well, every day! There aren't many recognised job titles that are recognised under law as having responsibility, let alone where the individual has to be registered. We do stress very well![^] The formal assessment required as part of obtaining the position was the most stressful thing I have ever done in my life to date!

    Dave Find Me On: Web|Facebook|Twitter|LinkedIn CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.

    P 1 Reply Last reply
    0
    • E Ennis Ray Lynch Jr

      personResponsibleId in the database is allowed to be null.

      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #5

      SET IDENTITY_INSERT TableOfTasks ON
      INSERT INTO TableOfTasks(PersonResponsibleID, ...) VALUES(-1, ...)
      SET IDENTITY_INSERT TableOfTasks OFF

      People always find a way to dodge responsibility. EDIT: Now that I think about it, only TableOfTasks.TaskID would be likely to be an identity column. Would be interesting if the person responsible got automatically assigned using some auto-incrementing number. New version below:

      UPDATE TableOfTasks SET PersonResponsibleID = -1 WHERE PersonResponsibleID = @MyID

      There we go. That should dodge responsibility nicely. :rolleyes:

      [Forum Guidelines]

      E 1 Reply Last reply
      0
      • A AspDotNetDev

        SET IDENTITY_INSERT TableOfTasks ON
        INSERT INTO TableOfTasks(PersonResponsibleID, ...) VALUES(-1, ...)
        SET IDENTITY_INSERT TableOfTasks OFF

        People always find a way to dodge responsibility. EDIT: Now that I think about it, only TableOfTasks.TaskID would be likely to be an identity column. Would be interesting if the person responsible got automatically assigned using some auto-incrementing number. New version below:

        UPDATE TableOfTasks SET PersonResponsibleID = -1 WHERE PersonResponsibleID = @MyID

        There we go. That should dodge responsibility nicely. :rolleyes:

        [Forum Guidelines]

        E Offline
        E Offline
        Ennis Ray Lynch Jr
        wrote on last edited by
        #6

        truncate task;

        Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

        A 1 Reply Last reply
        0
        • E Ennis Ray Lynch Jr

          truncate task;

          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

          A Offline
          A Offline
          AspDotNetDev
          wrote on last edited by
          #7

          CREATE TRIGGER SwallowData ON Tasks AFTER INSERT
          BEGIN
          TRUNCATE Tasks
          END

          There we go... a more maintainable solution. :)

          [Forum Guidelines]

          1 Reply Last reply
          0
          • E Ennis Ray Lynch Jr

            personResponsibleId in the database is allowed to be null.

            Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

            S Offline
            S Offline
            Steve Maier
            wrote on last edited by
            #8

            I thought it could only be set to null.

            Steve Maier

            1 Reply Last reply
            0
            • A Anna Jayne Metcalfe

              Sadly, in many organisations you could equally well implement it as a property named "ConvenientScapegoat". :~

              Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #9

              Why Anna, you're getting cynical in your old age...

              Software Zen: delete this;
              Fold With Us![^]

              A A 2 Replies Last reply
              0
              • G Gary R Wheeler

                Why Anna, you're getting cynical in your old age...

                Software Zen: delete this;
                Fold With Us![^]

                A Offline
                A Offline
                AspDotNetDev
                wrote on last edited by
                #10

                Gary R. Wheeler wrote:

                old age

                Well I never! It should be referred to as "maturity". ;)

                [Forum Guidelines]

                L 1 Reply Last reply
                0
                • D DaveAuld

                  Richard A. Dalton wrote:

                  People being responsible for stuff. Remember that?

                  I remember very well, every day! There aren't many recognised job titles that are recognised under law as having responsibility, let alone where the individual has to be registered. We do stress very well![^] The formal assessment required as part of obtaining the position was the most stressful thing I have ever done in my life to date!

                  Dave Find Me On: Web|Facebook|Twitter|LinkedIn CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.

                  P Offline
                  P Offline
                  Peter_in_2780
                  wrote on last edited by
                  #11

                  Me too, sometimes. "Responsible Person" in terms of regulations enacted under some Act of Parliament. I'm a volunteer member of the Rural Fire Service, a State government body. When I put on my Aviation Radio Operator hat, I'm operating under federal legislation that authorises me to use aviation band radio "for firefighting and related purposes". One of the tasks is to check and record, at least every half hour, that every aircraft on my patch is alive and well, along with its occupants. At the end of the day, I scrawl my name and autograph at the bottom of the page where it says "Name of Responsible Person" and "Signature of Responsible Person". Normally, the form winds up in a file somewhere, but if there's any kind of incident at all involving an aircraft, that form is one of the first things the investigators go for, along with our radio logs. There is a well-defined list of things to do when an aircraft is 5, 10, 15 minutes overdue, but routine radio calls come fairly low on the chopper pilot's priority list when he's carrying a bucket with 1500 litres of water through smoke to some fire front he can't see and trying to guess where the other choppers are. So we cut them a few minutes slack. I got the phone call from hell on my second day of ARO duty. "Hi, State Air Desk here. Have you lost one?" I had to do a three day course to get the ARO qualification, and I not only have to redo it to recertify every five years, but I must maintain "currency" - using the skills for real or in a live exercise - every 14 months.

                  Software rusts. Simon Stephenson, ca 1994.

                  L 1 Reply Last reply
                  0
                  • A AspDotNetDev

                    Gary R. Wheeler wrote:

                    old age

                    Well I never! It should be referred to as "maturity". ;)

                    [Forum Guidelines]

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #12

                    aspdotnetdev wrote:

                    Well I never! It should be referred to as "immaturity".

                    FTFY. :-D

                    Join the cool kids - Come fold with us[^]

                    1 Reply Last reply
                    0
                    • P Peter_in_2780

                      Me too, sometimes. "Responsible Person" in terms of regulations enacted under some Act of Parliament. I'm a volunteer member of the Rural Fire Service, a State government body. When I put on my Aviation Radio Operator hat, I'm operating under federal legislation that authorises me to use aviation band radio "for firefighting and related purposes". One of the tasks is to check and record, at least every half hour, that every aircraft on my patch is alive and well, along with its occupants. At the end of the day, I scrawl my name and autograph at the bottom of the page where it says "Name of Responsible Person" and "Signature of Responsible Person". Normally, the form winds up in a file somewhere, but if there's any kind of incident at all involving an aircraft, that form is one of the first things the investigators go for, along with our radio logs. There is a well-defined list of things to do when an aircraft is 5, 10, 15 minutes overdue, but routine radio calls come fairly low on the chopper pilot's priority list when he's carrying a bucket with 1500 litres of water through smoke to some fire front he can't see and trying to guess where the other choppers are. So we cut them a few minutes slack. I got the phone call from hell on my second day of ARO duty. "Hi, State Air Desk here. Have you lost one?" I had to do a three day course to get the ARO qualification, and I not only have to redo it to recertify every five years, but I must maintain "currency" - using the skills for real or in a live exercise - every 14 months.

                      Software rusts. Simon Stephenson, ca 1994.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #13

                      :thumbsup:

                      Join the cool kids - Come fold with us[^]

                      1 Reply Last reply
                      0
                      • R Richard A Dalton

                        Today I had occasion to create a property called 'PersonResponsible'. It struck me as such a nice if quaint idea. People being responsible for stuff. Remember that? -Rd

                        C Offline
                        C Offline
                        Chris Maunder
                        wrote on last edited by
                        #14

                        Richard A. Dalton wrote:

                        People being responsible for stuff. Remember that?

                        Vaguely :|

                        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

                        1 Reply Last reply
                        0
                        • G Gary R Wheeler

                          Why Anna, you're getting cynical in your old age...

                          Software Zen: delete this;
                          Fold With Us![^]

                          A Offline
                          A Offline
                          Anna Jayne Metcalfe
                          wrote on last edited by
                          #15

                          Gary R. Wheeler wrote:

                          Why Anna, you're getting cynical in your old age...

                          I fear I've encountered too many disfunctional organisations. :~ ...but OLD, you kidding? Nah. Just happy. :)

                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                          1 Reply Last reply
                          0
                          • R Richard A Dalton

                            Today I had occasion to create a property called 'PersonResponsible'. It struck me as such a nice if quaint idea. People being responsible for stuff. Remember that? -Rd

                            D Offline
                            D Offline
                            Dan Neely
                            wrote on last edited by
                            #16

                            Richard A. Dalton wrote:

                            People being responsible for stuff. Remember that?

                            :laugh: yeah, and then I discovered I could yoink the spatula out of moms hand and never had to worry about that sort of silly stuff again. :rolleyes:

                            3x12=36 2x12=24 1x12=12 0x12=18

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups