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 / Forms Programming / May 2005

Tip: Looking for answers? Try searching our database.

Forms - Add pictures

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jake Abella - 11 May 2005 23:44 GMT
i've design a payroll program and one of my tables - employees, need a
pictures for each employees. what should i do to save pictures to the
tables during runtime? what controls should i use? and what's the code?
thanks a lot for your help...
anonymous@discussions.microsoft.com - 12 May 2005 00:14 GMT
hi,
the control to use would be an immage control on the
form. you can use an immage control on a report too.
I do not advise that you save pic to your tables. this
causes file blote. instead you should put your employee
images in a special directory and then put the file path
to the image in your table. to change images on the form,
you change the image controls picture property to the new
file path. i use this with DLookup.
Imagecontrol1.picture = Dlookup("[filepath]", "emptable",
    "[empID] = '"&[forms}![empform]![empID]&"'")
forgive. not sure about the dlookup syntax. it looks ok
but i'm quoting from memory.
       
>-----Original Message-----
>i've design a payroll program and one of my tables - employees, need a
>pictures for each employees. what should i do to save pictures to the
>tables during runtime? what controls should i use? and what's the code?
>thanks a lot for your help...
 
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



©2008 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.