onclick vs got focus..

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi to all.... I have a question.... Access 2000 - I have an employees form
(frmEmployee) in my database. Each record shows me the information about that
person. Now, I'm trying to insert a picture of the person in his record. So
far so good? I have a field that has the picpath in my Employee table
(tbEmployee). On the Onclick event I have it showed the picture (so when I
move to the next record I still have the previous picture and when I click
once there, it loads and shows me the picture for the new record). On the
DblClick I have a procedure that opens a window so I can select the path for
my picture.....

It's working great, but here is the problem... sometimes when I try to doble
click on the picpath box it starts trying to load the picture that has there
instead of opening the window where I can select the picture from and it
crashes.. did anyone understand what I meant??? jajaja.. god bless my
english.. jajaa

so, I don't know what to do.... is it possible to do the gotfocus event
instead of the onclick??? what's the difference??? is there any other way
that I should do it???
any ideas???? anything that you can add or comment on this, it would be very
useful!

thank you for your help in advance. have a great day!
 
don't bother... I just put what I had in my Onclick procedure on their name
field, so when I click once on their name it shows me his picure...

thank you anyways.
 
Back
Top