Using code with more than one control (1 Viewer)

jardiamj

Registered User.
Local time
Today, 01:48
Joined
Apr 15, 2009
Messages
59
Hello Adam!
My mistake!, for the objects you have to use set. So it should be like this:

Code:
set strImageFrame = Me.Controls(ImgFrame)
set strImagePath = Me.Controls(ImgPath)
set strErrorMsg = Me.Controls(ErrMsg)
Some times I forget this kind of things.
It should solve the error. Have a nice day. Cheers!
 

Users who are viewing this thread

Top Bottom