I am in desperate need of some assistance with some VBA code I am working on. Here's what I'm trying to do:
I have two forms- [Details] is the main form and [Quarterly Data] is another form that pops up when you click a command button within the [Details] form. I have an auto ID number [Detail_ID] that is set up in the [Details] form when creating a new record. I have a [Quarter_ID] field in the [Quarterly Data] form that I'm trying to link to that [Detail_ID] number from the [Details] form when generating a new record.
The problem is when I generate a new record in the [Details] form, what's the code to get the [Quarterly Data] form to generate a new record also using the same ID number??? It's hard when they are in two separate forms....
I have two forms- [Details] is the main form and [Quarterly Data] is another form that pops up when you click a command button within the [Details] form. I have an auto ID number [Detail_ID] that is set up in the [Details] form when creating a new record. I have a [Quarter_ID] field in the [Quarterly Data] form that I'm trying to link to that [Detail_ID] number from the [Details] form when generating a new record.
The problem is when I generate a new record in the [Details] form, what's the code to get the [Quarterly Data] form to generate a new record also using the same ID number??? It's hard when they are in two separate forms....
Comment