Hi,
I'm a beginner using 2007 and I've just got to the bottom of this weird problem. However, it will be a big inconvenience if I can't get the database working like the old one was so would appreciate suggestions.
On the old version of this database I was able to make references in the VBA like this:
Forms![formname].[controlname]
but in the new one it gives me a compile error "qualifier must be collection" if I do this and highlights ![formname]. After a lot of head scratching I've found that I need to do this instead:
Forms.[form_formname].[controlname]
I have no clue what has caused the difference, and there is extensive coding in the old database that was working just fine.
Any advice gratefully received.
Chin Chin.
I'm a beginner using 2007 and I've just got to the bottom of this weird problem. However, it will be a big inconvenience if I can't get the database working like the old one was so would appreciate suggestions.
On the old version of this database I was able to make references in the VBA like this:
Forms![formname].[controlname]
but in the new one it gives me a compile error "qualifier must be collection" if I do this and highlights ![formname]. After a lot of head scratching I've found that I need to do this instead:
Forms.[form_formname].[controlname]
I have no clue what has caused the difference, and there is extensive coding in the old database that was working just fine.
Any advice gratefully received.
Chin Chin.