Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / September 2007

Tip: Looking for answers? Try searching our database.

Subtitituing Yes/No value with jpeg in Access 2K3

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sokan33 - 13 Sep 2007 19:24 GMT
How can I substitute a Yes/No value with a jpeg image of a checkmark or X
respectively?  Thanks!
jmonty - 13 Sep 2007 20:00 GMT
Let's say the Yes/No field is called chkPicture
Set the Visible property for chkPicture to No.
Make the OLE (picture) object Visible = Yes.
In the On Change event of the Yes/No field add the logic to see if it is
Yes/True.

If Me.chkPicture = True then

  Me.olePicture = "C:\MyPicture.jpg" 'or whatever field or variable that
contains the file name
End If

> How can I substitute a Yes/No value with a jpeg image of a checkmark or X
> respectively?  Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.