EricLynnWright
asked on
MS Access error on subform
I have a subform with the name of "frmSub"
From a button on main form, I have the following code error out:
Me.frmSub.SourceObject = "<<table name>>"
I tried this exact code in a smaller, sample DB and worked fine. Moving it over to another one I get an error.
ERROR: The setting you entered isn't valid for this property
From a button on main form, I have the following code error out:
Me.frmSub.SourceObject = "<<table name>>"
I tried this exact code in a smaller, sample DB and worked fine. Moving it over to another one I get an error.
ERROR: The setting you entered isn't valid for this property
Me.frmSub.Form.RecordSourc e = "SELECT * FROM YourTable"
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks.
Thanks for the grade. Good luck with your project. -Jim