Firstly, I must say thanks for the sample databases. I am using code from one of them to display project images in a database. However, I am getting the run-time error "2450" - Microsoft Access can't find the form "frmPictureExample" referred to in a macro expression or visual basic code. When I click debug, the error appears to be on this code:
Private Sub Form_Load()
OrigHght = Forms!frmPictureExample!picsubform![imgPicture].Height
OrigWdth = Forms!frmPictureExample!picsubform![imgPicture].Width
End Sub
which is located on the subform "frmPictureExample" which is within the main form "frmEditProjects"
I tried moving that code and place it on the Load event on the main form but I get a 'No current record' error.
Help please!
Private Sub Form_Load()
OrigHght = Forms!frmPictureExample!picsubform![imgPicture].Height
OrigWdth = Forms!frmPictureExample!picsubform![imgPicture].Width
End Sub
which is located on the subform "frmPictureExample" which is within the main form "frmEditProjects"
I tried moving that code and place it on the Load event on the main form but I get a 'No current record' error.
Help please!