placing picture in form

  • Thread starter Thread starter foxie foxster
  • Start date Start date
F

foxie foxster

in my menu:
a picture "petanque.bmp" and in properties you set

d:\test:\petanque.bmp
but when the mdb file is placed in c:\test and the picture "petanque.bmp"
too then it doesn't work

so i wrote in properties:

left(CurrentName,len(CurrentName))&petanque.bmp

but that doesn't work.....

who can do better????
thx and greetings
 
in my menu:
a picture "petanque.bmp" and in properties you set

d:\test:\petanque.bmp
but when the mdb file is placed in c:\test and the picture "petanque.bmp"
too then it doesn't work

so i wrote in properties:

left(CurrentName,len(CurrentName))&petanque.bmp

Your expression is just a little too simplified. Try

Left$(CurrentDB.Name,InStrRev(CurrentDB.Name,"\",Len(CurrentDB.Name))) &
"petanque.bmp"

Larry Linson
Microsoft Access MVP
 
Back
Top