>I've created a form for prompting different error messages. The form contains a Textbox for different error messages which I want to put for the user.
>
>How should I run the form and then put the Value of the Error Messages with my choice? Is it possible? For example err..
>
>errform.txtErrmsg.value = "Record not found."
Hi Gan,
Joseph and Kenneth already have good suggestions about using textbox and labels. I have another suggestion too :)
I would suggest using messagebox(). Because unlike additional forms, messagebox() doesn't cause the form's some events (ie: activate event) fire on return :) Reentrant firing events might be other invitation to errors in some cases (ie: lostfocus of activecontrol fires, your form kicks in, gotfocus of control fires on return, or valid event causes another error in between). To my experience, calling messagebox() is harmless compared to calling a new form :)
Cetin