×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

I have an Access Database which I u

I have an Access Database which I u

I have an Access Database which I u

(OP)
I have an Access Database (2000) which I use to track process equipment.  I have photos (400px x 300px) linked to a form in an "image control".   I would like to be able to click the photo and then zoom in on the photo in order to view in greater detail.  I was thinking of using a macro to run a photo editor but not quite sure how to specify the path to the photo file in the command line for the runapp macro.  Can anyone provide the syntax or another way to do this.

The photos are stored on a network drive in a sub directory and are named the same as the equipment number.  here is the code I use to link the photos to the form:

Private Sub Form_Current()
On Error GoTo Err_Command97_Click

tankPic.Picture = "L:\Eng\Process Safety\TankPhoto\" & EquiptNo.Value & ".jpg"
Exit_Command97_Click:
    Exit Sub

Err_Command97_Click:
tankPic.Picture = "L:\Eng\Process Safety\TankPhoto\NT.jpg"
    Resume Exit_Command97_Click

End Sub


Thanks ElderX

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources