logo

Errors in Errors

I reminded myself of something that I thought worth passing on. So, here goes.

If you're going to add a $$ReturnGeneralError form to your database, make sure it isn't the cause an error itself. If it is and you cause an error inside an error form the form won't be used and you will see the normal black and white error form.

I learnt yesterday, dangerously close to the start of the event proper (2pm this afternoon). How did it happen? Well, in my case, I had a DBLookup on a subform that was on every form and looked up info based on the user's name. This DBLookup failed when I logged in as a unregistered test user and the system tried to show me the error page. The error happened there too so the only thing it can do is use a normal error page. Solution? Add [FailSilent] to all DBLookup calls. Which I normally do, but had forgotten on this occasion.

Anyway, the countdown begins. Real users will be abusing the system in a couple of hours. Hopefully this will go well. Otherwise I'm in for a stressful day.

Comments

  1. Sounds like everything is well in hand. Enjoy!

    • avatar
    • Doug
    • Wed 5 Oct 2005 06:44 AM

    I agree with Jeff.... sounds like you have it all under control. Good Luck!

  2. Good luck in userland!

    • avatar
    • dad
    • Thu 6 Oct 2005 06:35 PM

    I have to look at codstore to find out what your up2 and then it don't tell me much

    who are you working for?????????

    and is it the same firm your going to Barbaydos for

    and the name (Barbaydos) might imply you can sit at bar by a bay and just dos around NO!!!!!!

    and why is HTML "not allowed"

    dad

    right back to work

    • avatar
    • Steen AA
    • Fri 7 Oct 2005 02:43 AM

    Hi dad

    Don't worry about your Jake. He is a grown up up and can take care of himself. Or else - notes developers from around the world will jump in and fight all opponents off.

    And HTML was allowed. You wrote it yourself and see - now I wrote it.

    BR

    Steen AA

    • avatar
    • Ian M
    • Fri 7 Oct 2005 03:10 AM

    Dear Jake's Dad

    This week I am Jake's (very temporary) boss. I can report that Jake is working hard here in Wonderland and is a real credit to his father. So there....

    • avatar
    • Feri
    • Mon 10 Oct 2005 02:52 AM

    I don't think [FailSilent] is good error handling technique... the same as unhandled exception in Java, which is, of course, BAD BAD habbit

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Wed 5 Oct 2005

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content