Display error messages in form.

  • Thread starter David Ehrenreich
  • Start date
D

David Ehrenreich

Hello,

I have a problem I think most developers have. When their
is an error, and the user tells you about it they cant
remember enough details about the error. This makes it
very hard when trying to replicate the error .

I made a form and I like it to be called up on error.
That part I can do. The part I can't is how do I have the
error message that would have been displayed appear in a
form feild. This will allow the user to see the error
make a comment about it and continue.
 
M

Media Lint

The way many developers solve this problem is to write a
specific error handling routine that not only handles the
error without crashing the application but also logs the
user name, date, time, piece of code where the error
occurred, specific error number, and possibly other
specifics. If you want the user to comment on the error,
it would also go in the same handler.
 
J

Jim Allensworth

Another way is to log the error in a textfile. All errors that you
want to see just have the application write to an error.txt file in
the same folder as the db. Then you can view them when it is
convenient.

- Jim
 
G

Guest

Hmm.

What I'm looking for is to be able to have the user
comment on the error in a memo feild. That's why I'm
thinking in the direction of the form. That way I could
look in the have stored in the table the date,time, Error
Message, and comment form the user.

Thank you for your help so far.

David Ehrenreich
 
J

Jim Allensworth

Well, just throw up a modal popup form. Get the users input and when
they close it do the writing to the textfile.

- Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top