I'm trying to create a Command Button that will print the drawing file associated with the current Part Number. Any help with the VBA for this will be a great help.
Thanks, Kopy
What you can do is:
[ol][li]Setup a [blue]blank report[/blue] with an [blue]Image Frame[/blue].[/li]
[li]The [blue]On Open[/blue] event of the report sets the [blue]Picture[/blue] property of the image frame via a [blue]global variable[/blue] previously set to the [blue]drawing file[/blue] path & filename.[/li]
[li]To get the ball rolling in the form you could use the [blue]On Dbl Click[/blue] event of the [blue]Part Number[/blue]. The code in the event would look like:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.