Hi
I have an existing database that has a VBA to select criteria based on a list box. This works quite well, but well I duplicated the database and took away some whistles and bells, the VBA did not work but rather came back with: Compile error: User-defined type not defined - Dim Q as QueryDef.
I am not understanding this as it is duplicated from the original database that is working.
Any Help?