Stang70Fastback
Registered User.
- Local time
- Today, 10:40
- Joined
- Dec 24, 2012
- Messages
- 132
Hey guys, I've got a simple question.
I have two forms - both of which are subforms on another form. Each of them is linked to a different table. The master field/child fields are linked to the main form, and those fields do not have controls on the subform as that is unnecessary for me.
On one form, if I'm using VBA and type "Me.", Intellisense gives me the option to select the fields from the underlying table.
On the other form, if I type the same "Me.", Intellisense does not give me that option. If I manually refer to one of the table's underlying fields that is not a control, then the code fails as it cannot find what I am referencing.
I am confused because both of these forms are fundamentally the same, but only one of them seems to allow me to reference the fields in the underlying table. What am I missing?
I've had this issue in other forms I've worked on in the past but it never became a problem before. Sometimes I can use Me. and then refer to any field in the RecordSource, but other times I can't, and I have to create a hidden control with that field as its source in order to refer to it.
I have two forms - both of which are subforms on another form. Each of them is linked to a different table. The master field/child fields are linked to the main form, and those fields do not have controls on the subform as that is unnecessary for me.
On one form, if I'm using VBA and type "Me.", Intellisense gives me the option to select the fields from the underlying table.
On the other form, if I type the same "Me.", Intellisense does not give me that option. If I manually refer to one of the table's underlying fields that is not a control, then the code fails as it cannot find what I am referencing.
I am confused because both of these forms are fundamentally the same, but only one of them seems to allow me to reference the fields in the underlying table. What am I missing?
I've had this issue in other forms I've worked on in the past but it never became a problem before. Sometimes I can use Me. and then refer to any field in the RecordSource, but other times I can't, and I have to create a hidden control with that field as its source in order to refer to it.
Last edited: