Hey folks. I've got what I'm sure is a simple syntax error but I can't seem to find similar code to what I want in the forums and finding correct syntax references in MS help files is nearly impossible, so here I am.
I need to pass the value of a field on one form to another. This is my code:
Forms!subfrmRecipientSelect!PackageID = Forms!frmPackageContents!PackageID
I would think this is correct syntax since I also have:
Forms!frmPackageContents!subfrmDocuments_In_Package.Form.Requery
which works just fine. Nevertheless I get the error "Microsoft Access can't find the form..." Apparently no one has posted this error message before because it doesn't come up on a forum search. I know the spelling of the form names are correct. I've tried variations using brackets and quotes, etc. with no success. Can anyone see what I'm doing wrong?
I need to pass the value of a field on one form to another. This is my code:
Forms!subfrmRecipientSelect!PackageID = Forms!frmPackageContents!PackageID
I would think this is correct syntax since I also have:
Forms!frmPackageContents!subfrmDocuments_In_Package.Form.Requery
which works just fine. Nevertheless I get the error "Microsoft Access can't find the form..." Apparently no one has posted this error message before because it doesn't come up on a forum search. I know the spelling of the form names are correct. I've tried variations using brackets and quotes, etc. with no success. Can anyone see what I'm doing wrong?