How to access an independent form in access2base

Hi guys

I have a form in my odb file called PAYMENTS. That has a subform called ASSIGNED_INVOICES.
There’s also a third form which is independend from payments (NOT a subform) called UNASSIGNED_INVOICES.

How can I access UNASSIGNED_INVOICES programatically?

I cannot find it in the controls of the PAYMENTS form.
I cannot find it in the allforms collection.

If PAYMENTS and UNASSIGNED_INVOICES are both forms stored in a Base document, they should both be retrievable via the AllForms() collection if the invocation of AllForms() is done from a macro stored in the Base document as well.

JPL

Hi JPL. Thanks for all your support. This comes back to a question that you answered before. A2B of yours doesn’t current support more than one main form in writer when you have the one form in base. But it causes me no issue to have a master form in write and then use subforms in write. I dont know why I couldn’t get it to work before. But now I have: PAYMENTS in base and writer and then UNASSIGNED_INVOICES is a subform as opposed to be an independent form in writer. That works fine :slight_smile: