A
A.J.M. van Rijthoven
I have a form (net) with a subform(foto) with the field fotolocatie
The data in this field contains the directory and name of a
photograph, linked to the database.
On this subform is also a button so that I can print out the
photograph.
When the button is clicked, it opens a new form. The title of this
form is data that is taken from the mainform(net). That's no problem
But the data for loading the picture must be taken from the
fotolocatie-field on the subform.
Me.fotoafbeelding.Picture = Forms!frmfoto.fotolocatie
MSAccess gives an error that it can't find the subform.
What is the solution for this problem??
The data in this field contains the directory and name of a
photograph, linked to the database.
On this subform is also a button so that I can print out the
photograph.
When the button is clicked, it opens a new form. The title of this
form is data that is taken from the mainform(net). That's no problem
But the data for loading the picture must be taken from the
fotolocatie-field on the subform.
Me.fotoafbeelding.Picture = Forms!frmfoto.fotolocatie
MSAccess gives an error that it can't find the subform.
What is the solution for this problem??