Just a guess - change your variable Recordset name to something else
(Rst??). Recordset is a reserved word and when you use reserved words,
strange things happen.

Signature
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
resource@pcdatasheet.com
www.pcdatasheet.com
> I'm attempting to assign an image path to an image control, as below:
>
[quoted text clipped - 8 lines]
> Thanks for your help!
> Joe
Joe Holzhauer - 19 Aug 2005 04:35 GMT
Oh-sorry. I did that for clarity. The real recordset is recImages:
imgImage.Picture = recImages!ImagePath
Any other ideas?
Thanks!
> Just a guess - change your variable Recordset name to something else
> (Rst??). Recordset is a reserved word and when you use reserved words,
[quoted text clipped - 12 lines]
>> Thanks for your help!
>> Joe
Dirk Goldgar - 19 Aug 2005 06:19 GMT
> Oh-sorry. I did that for clarity. The real recordset is recImages:
>
> imgImage.Picture = recImages!ImagePath
Code almost identical to that works for me. Are you sure it's this line
that causes the error?

Signature
Dirk Goldgar, MS Access MVP
www.datagnostics.com
(please reply to the newsgroup)