List of employees with images

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ROBBIN
    New Member
    • Jan 2013
    • 2

    #1

    List of employees with images

    I want create an employee information report that shows all details and photo of each employee. The data was stored in MS Access database and the path for the photo. I am using VB 6 and VB Data Report for reporting. I can view the employees details on the report even the image path but i have failed to load the photo for each employee. please help. The following codes are only able to load only one image throughout the list but i want each record with its image.my codes are as follows:

    Code:
    DataEnvironment1.listofemployees
    rptemployees.Refresh
    rptemployees.Show
    Unload DataEnvironment1
    
    Dim pPic As RptImage
    Set pPic = rptrptemployees.Sections("Section1").Controls("image1")
            Sum = Me.lblpath
                Set pPic.Picture = LoadPicture(Sum)
                rptemployees.Refresh
    Last edited by PsychoCoder; Jan 23 '13, 09:49 PM. Reason: Code tags added with <CODE/> button
Working...