![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi: I have a database created in A2003 that I'm converting to A2007. It's throwing an error that's driving me crazy because the code has worked perfectly for years in A2003. I have a main form with an unbound subform, and I change the subform's recordsource based on what the user is doing. So there's some standard code that handles that switch. The subform is called "changeSub" ...snip Me!changeSub.SourceObject = "xxx subform" Me!changeSub.LinkMasterFields = "callID" Me!changeSub.LinkChildFields = "callID" It's failing on the 2nd line, with the error "the setting you entered isn't valid for this property." What am I doing wrong? Thanks much. Jan |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi: I have a database created in A2003 that I'm converting to A2007. It's throwing an error that's driving me crazy because the code has worked perfectly for years in A2003. I have a main form with an unbound subform, and I change the subform's recordsource based on what the user is doing. So there's some standard code that handles that switch. The subform is called "changeSub" ...snip Me!changeSub.SourceObject = "xxx subform" Me!changeSub.LinkMasterFields = "callID" Me!changeSub.LinkChildFields = "callID" It's failing on the 2nd line, with the error "the setting you entered isn't valid for this property." What am I doing wrong? Thanks much. Jan |
#5
| |||
| |||
|
|
j... (AT) dontspamme (DOT) com wrote: Hi: I have a database created in A2003 that I'm converting to A2007. *It's throwing an error that's driving me crazy because the code has worked perfectly for years in A2003. I have a main form with an unbound subform, and I change the subform's recordsource based on what the user is doing. *So there's some standard code that handles that switch. *The subform is called "changeSub" ...snip * * Me!changeSub.SourceObject = "xxx subform" * * Me!changeSub.LinkMasterFields = "callID" * * Me!changeSub.LinkChildFields = "callID" It's failing on the 2nd line, with the error "the setting you entered isn't valid for this property." What am I doing wrong? Thanks much. Jan Is it possible the subform name (property sheet) is different than the form name in the database window? |
#6
| |||
| |||
|
|
The thing is, nothing has changed. It worked in A2003, it worked when A2007 ran the A2003 database. But when I actually converted it to A2007, it failed. So I'm thinking it's something that isn't allowed in A2007 that was ok in prior versions. |
#7
| |||
| |||
|
|
j... (AT) dontspamme (DOT) com wrote: The thing is, nothing has changed. *It worked in A2003, it worked when A2007 ran the A2003 database. *But when I actually converted it to A2007, it failed. *So I'm thinking it's something that isn't allowed in A2007 that was ok in prior versions. Try setting both properties to "" prior to changing them to what you want.. |
![]() |
| Thread Tools | |
| Display Modes | |
| |