K
Kedd123
Good Morning,
I am trying to find an easy way to place a file path into a text field on a
form. An image control will use this linked file path to display the image. I
have tried using the File Dialog Box in VB code, but I get the following
error:
"Compile Error User-Defined type not defined"
Any suggestions? I am using Access 2003. Below is the code I tried to use
(from "Help").
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With
I am trying to find an easy way to place a file path into a text field on a
form. An image control will use this linked file path to display the image. I
have tried using the File Dialog Box in VB code, but I get the following
error:
"Compile Error User-Defined type not defined"
Any suggestions? I am using Access 2003. Below is the code I tried to use
(from "Help").
Dim dlgOpen As FileDialog
Set dlgOpen = Application.FileDialog( _
FileDialogType:=msoFileDialogOpen)
With dlgOpen
.AllowMultiSelect = True
.Show
End With