• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

test please delete

Collapse
This is a sticky topic.
X
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by HeliCraig View Post
    Nearly as bad as using the W word.
    Hmmm, good point. Maybe I should have *'d it out
    Where are we going? And what’s with this hand basket?

    Comment


      Originally posted by voodooflux View Post
      Nice shade of blusher that.
      Can I have it back when you are finished?

      Comment


        Originally posted by voodooflux View Post
        Ahem, any bonus points for two in a row?

        Comment


          Originally posted by voodooflux View Post


          SPACE INVADERS


          ...........................................................................................
          .............
          ...........................................................................................
          .............
          ...........................................................................................
          .............
          ...........................................................................................
          .............
          ...........................................................................................
          .............
          .............

          ...........................................................................................

          .............
          .............
          .............
          Very pretty
          Best Forum Advisor 2014
          Work in the public sector? You can read my FAQ here
          Click here to get 15% off your first year's IPSE membership

          Comment


            Originally posted by HeliCraig View Post
            Oh FFS... I give up.

            We have a piece of code which can receive a nasty reply from SQL (deadlock), and it turns out the first thing which the error handler tries to do is close the recordset. Recordset not been opened yet, so the error handler fails. Leave connection object to DB open for eternity. Nice.

            OfficeIdiots suggestion: Put an "on error resume next" statement in the error handler.


            And now you can see why the code was tulipe in the first place. FFS.
            How about:

            If recordset open THEN close recordset?

            Or some such. Looks like it's not an Oracle database, so I don't care.
            Best Forum Advisor 2014
            Work in the public sector? You can read my FAQ here
            Click here to get 15% off your first year's IPSE membership

            Comment


              On error del *.*

              Works for me...

              Comment


                Originally posted by HeliCraig View Post
                Can I have it back when you are finished?
                Yeah, it clashes with my eyeliner anyway.
                Where are we going? And what’s with this hand basket?

                Comment


                  Originally posted by TheFaQQer View Post
                  How about:

                  If recordset open THEN close recordset?

                  Or some such. Looks like it's not an Oracle database, so I don't care.
                  Really? What a clever idea. Who'd have thought of an If statement. Whatever next.

                  My god, he is such a numpty idiot. How? Just how?

                  (Oh, and you're right Faqqer, its MS SQL).

                  I did take it a step further and suggest that while this would fix the sympton, perhaps he should go and hassle the DBA's to find out why we are getting so many deadlock victim situations when none of our scripts do too much heavy work!! He looked at me gone out. Then did his usual "yes sir, yip, k mate, would look into that aspect today afternoon yesterday please." statement - so I know that'll be fixed then!

                  Comment


                    Originally posted by zeitghost View Post
                    On error del *.*

                    Works for me...
                    On error kill OfficeIdiot. That would be an improvement.

                    Originally posted by voodooflux View Post
                    Yeah, it clashes with my eyeliner anyway.
                    Which in turn clashes with your stockings.

                    Comment


                      Originally posted by HeliCraig View Post
                      OfficeIdiots suggestion: Put an "on error resume next" statement in the error handler.
                      He's been hassling me this morning as well with a problem. It was either going to be with:

                      a) my code
                      b) his data

                      Guess which it was.

                      (Clue: it wasn't 'a').
                      Where are we going? And what’s with this hand basket?

                      Comment

                      Working...
                      X