L
lcc66604
Microsoft Access 2010
Form with subform; following SQL in subform form-properties
SELECT Table_Notecards.*, Table_Main.Elemental_, Table_Main.ELM_ID AS ELM_ID_Table_Main FROM Table_Main LEFT JOIN Table_Notecards ON Table_Main.ELM_ID= Table_Notecards.ELM_ID;
When I start a record in the main form the subform does nothing.
If I click into the first field and start to type in the “Element” field exactly the same data that is in the Main form I get:
The object doesn’t contain the Automation object ‘Table_Notecards.’
You tried to run a Visual Basic procedure to set a property or method for an object. However, the component doesn’t make the property or method available for Automation operations.
Check the component’s documentation for information on the properties andmethods it makes available for Automation operations.
-----
I click OK and resume typing. Then the ‘Element ID” box in the subformpopulates with the same value that is in the ‘Element ID” in the mainform.
Could someone explain how to make this less clunky so that when I enter thesubform it will automatically populate the “Element” and “Element ID” fields from the data in the corresponding fields in the main field.
Regards,
Leslie Charles
Form with subform; following SQL in subform form-properties
SELECT Table_Notecards.*, Table_Main.Elemental_, Table_Main.ELM_ID AS ELM_ID_Table_Main FROM Table_Main LEFT JOIN Table_Notecards ON Table_Main.ELM_ID= Table_Notecards.ELM_ID;
When I start a record in the main form the subform does nothing.
If I click into the first field and start to type in the “Element” field exactly the same data that is in the Main form I get:
The object doesn’t contain the Automation object ‘Table_Notecards.’
You tried to run a Visual Basic procedure to set a property or method for an object. However, the component doesn’t make the property or method available for Automation operations.
Check the component’s documentation for information on the properties andmethods it makes available for Automation operations.
-----
I click OK and resume typing. Then the ‘Element ID” box in the subformpopulates with the same value that is in the ‘Element ID” in the mainform.
Could someone explain how to make this less clunky so that when I enter thesubform it will automatically populate the “Element” and “Element ID” fields from the data in the corresponding fields in the main field.
Regards,
Leslie Charles