Hi there..
This is vb6 forum, so I assume you are using VB6.. so, to access a control in your form (and a property of the control) you use . and not ! (You use ! to access a field in a recordset).
You copy this from acces??? you have to use "me" instead of "form", and that could be also removed, because with only the name of the control it will work.
REading further, what is "CUSTOMER MAINTENANCE"???
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|