A family of Microsoft relational database management systems designed for ease of use.
You can add another database as "Reference" to your database, which will expose Forms and Reports (in addition to VBA code in modules), and classes from this "r_database", but while you can refer to these classes (forms and reports) in you code of your "f_database", you won't be able to create any object defined in r while in f.
It is like DAO.Recordset. You just can't :
Dim x As NEW Dao.Recordset
neither
Dim x As Dao.Recordset : Set x = NEW Dao.Recordset
It is rooted in COM. Access-VBA only allows you to define "Public-Not Creatable" in addition to "Private", class instances.
So, f cannot create an r object.
But like CurrentDb can create a DAO.Recordset for you, in the same manner, r can creates object, for you, and then, you are able to use it in f.
So, you will need a method, in a standard module, of r, which creates and return the required object, like:
==== code in r_database ====
Public Function MakeMeSomeClassInRObject( ) AS SomeClassInR
Set MakeSomeClassInR = new SomeClassInR
End Function
=======================
And NOW, in f, you can use code like:
==== code in f_database ====
Dim toto AS r_database.SomeClassInR
Set toto = r_database.MakeMeSomeCallInRObject( )
======================
And what you do with the object, define in r, but used in f, is up to you. Note that like CurrentDb.OpenRecordset, the public function that creates the object for you can accept argument to deliver a FULLY INITIALIZED object. In fact, it is a way to be sure that your code always works with a fully intialized object (or with your object set to Nothing) rahter than having to deal with object 'in the progress' of being usable.
Now, for form and report used as sub form/ sub report, I think that this will imply to add the object to an existing form/report, open in design view, by your code (like wizards do), and sincerely, I am not sure if that worths the trouble... not sure at all. But if you really want to explore the possibility, ... you can. And good luck.