lyndonrobertson
Registered User.
- Local time
- Yesterday, 17:08
- Joined
- Aug 30, 2012
- Messages
- 20
I have got a database together where I have a selection of 15 cars. I have it programmed off a table at the moment where one com-box displays the manufacturer you select the manufacturer and it brings up 1 or 2 models.
my next aim is when you pick the model i want a picture to come up of the car next to the com-box
I have inserted a image-box and have tried to program it with several different bits of vba code off the net but i cant get it to work
I do have the links in text format in the same table as the cars table.
the code I have in there at the moment which doesn't work is
Private Sub cmdExplore_Click()
On Error GoTo Err_cmdExplore_Click
Dim stAppName As String
stAppName = "V:\ur-t-52\Product Integration & Methods\PI_folders\M. James\Benchmarking\Benchmarking Database\Photos"
Call Shell(stAppName, 1)
Exit_cmdExplore_Click:
Exit Sub
Err_cmdExplore_Click:
MsgBox Err.Description
Resume Exit_cmdExplore_Click
End Sub
Please be aware I am a newbie at this so be patient
thank you in advance
my next aim is when you pick the model i want a picture to come up of the car next to the com-box
I have inserted a image-box and have tried to program it with several different bits of vba code off the net but i cant get it to work

I do have the links in text format in the same table as the cars table.
the code I have in there at the moment which doesn't work is
Private Sub cmdExplore_Click()
On Error GoTo Err_cmdExplore_Click
Dim stAppName As String
stAppName = "V:\ur-t-52\Product Integration & Methods\PI_folders\M. James\Benchmarking\Benchmarking Database\Photos"
Call Shell(stAppName, 1)
Exit_cmdExplore_Click:
Exit Sub
Err_cmdExplore_Click:
MsgBox Err.Description
Resume Exit_cmdExplore_Click
End Sub
Please be aware I am a newbie at this so be patient

thank you in advance