Popeye, I'm glad it now works.
However I'm confused about the recordsource thingy- My main form where I use that code is actually unbound. The sample I uploaded just above may have a recordsource, but the subforms aren't linked. Heck, I didn't even bother to make relationships between the fields!
I'm thinking it's something else that is affecting the need for recordsource.
If you want to leave it as (as the old saying goes; if it ain't broken, don't fix it), I'm glad it's working now.
However I'm confused about the recordsource thingy- My main form where I use that code is actually unbound. The sample I uploaded just above may have a recordsource, but the subforms aren't linked. Heck, I didn't even bother to make relationships between the fields!
I'm thinking it's something else that is affecting the need for recordsource.
If you want to leave it as (as the old saying goes; if it ain't broken, don't fix it), I'm glad it's working now.