Jump to content

You know its gonna be a long day when...


Recommended Posts

that database application that everyone hates to use, that was written 10 years ago (by a hack) has a 'problem' that should be easy to fix.

You open the top level BD and VI hierarchy. You see something that made you shudder two years ago when you tried to fix something last time and you just want to run away...

Maybe I should just rewrite it... Yeah... Thats it. A rewrite... How hard can it be to devine the undocumented requirements from this steaming pile of...

Link to comment

Thank you LAVA! The hacker of yore did not know that Uniterated For Loops do not pass References!

The database is queried and sometimes (seldom) returns ZERO elements. A subsequent UPDATE statement was trying to update ZERO records in a loop and there was no shift register for the DB Connection reference. The next function after the loop was querying the DB with a null connection ref.

Now I can relax before going for my echocardiogram today...

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.