Hi Chris,
Is the form opened/loaded at the time?
I believe the Forms collection only returns forms that are currently open...
If you are actually working in this form, then you can scrap the qualifiers (Forms!DailyDiary)..
e.g SerperablePortion.SetFocus
A good thing to get used to in Access VBA is the Ctrl+J keys, this will bring up your intellisense
which will allow you to see what objects/values you have access to..
If SeperablePortion does not appear in your intellisense, then something strange is going on!
And of course, always check for typos, we've all been had by them..
If your still having probs after checking all this, please let us know..
Regards,
Rob
|