Thanks Larry and Greg, but I'm still stuck!

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

Guest

Its that pesky JPEG thing I'm still trying to achieve. What am I still missing.

I’ve tried following Greg’s instructions to another person’s question – to
have a different JPEG file appear as a small photo on the form for each
record.

I have made a text field called Path. For each record I have entered the
full path, i.e. C:\JPEGfiles\Alison.jpg

On the form I have included a textbox bound to the Path field, and hidden it
via the Properties dialog.

On the form I have also set an unbound image control and called it
“Thumbnailâ€.

On the form’s CurrentEvent property I have entered:

Me!Thumbnail.picture = Me!Path

However I get the following error message.
Microsoft Office Access can’t find the macro “Me!Thumbnailâ€
The Macro or its macro group doen’s exist of the nacro is new but hasn’t
been saved
Note that when you enter the macrogroupname.macroname syntax in an argument,
you must specify the name the macro’s macro group was last saved under.

I refuse to give up!!
Helen
 
Hi,
Have you tried:
Me.Thumbnail.picture = Me!Path

It's always best to differentiate between controls on the form and
fields that the controls are bound to (the form's recordset).

So, if you have a field in the underlying recordset called Path,
call the textbox txtPath.
Access will name them the same by default.
 
Back
Top