E
efandango
I want to be able to link a continuous form to another continous form/subform
(but not contained withing the master form). Access will not allow me to do
this, but I was wondering if there was a manual/pseudo way of doing this?
I have managed to link/synch the two forms, but when I try to create a new
record by using any of the fields on the ‘sub form’, I get this pop-up error
message:
The object doesn't contain the Automation object
'tbl_Road_Restrictions_Detail.
You tried to run a Visual Basic procedure to set a property for and object.
However, the component doesn't make the property or method available for
Automation operations.
But when I say OK to the error box, it still allows me to fill in the fields
and create the record. I want to fix this problem, but don’t know how. (I’m
not even sure what the error means)
The two tables are below and are [Linked by Road_Restriction_ID]. Can
someone give me some idea(s) on how to resolve this?
Table Structures
tbl_Road_Restrictions
Road_Restriction_ID AutoNumber
Road_Name_From Text
Road_Name_To Text
Restriction Text
Run_No Number
Direction_From Text
Direction_To Text
Junction_ID Number
tbl_Road_Restrictions_Detail
Road_Restriction_Detail_ID AutoNumber
Road_Restriction_ID Number
Run_Direction Text
Run_waypoint Text
Postcode Text
Run_No Number
Form Structures
frm_Road_Restrictions
Link Master Fields: [Run_No]
LinkChild Fields: [Run_No]
Record Source: tbl_Road_Restrictions
frm_Road_Restrictions_Detail
Link Master Fields:
Forms![frm_Runs]![frm_Road_Restrictions].Form![Road_Restriction_ID]
LinkChild Fields: [Road_Restriction_ID]
Record Source:
SELECT tbl_Road_Restrictions_Detail.Road_Restriction_Detail_ID,
tbl_Road_Restrictions_Detail.Road_Restriction_ID,
tbl_Road_Restrictions_Detail.Run_Direction,
tbl_Road_Restrictions_Detail.Run_waypoint FROM tbl_Road_Restrictions INNER
JOIN tbl_Road_Restrictions_Detail ON
tbl_Road_Restrictions.Road_Restriction_ID=tbl_Road_Restrictions_Detail.Road_Restriction_ID;
The two tables are below (Linked by Road_Restriction_ID).
Can someone give me some idea(s) on how to achieve this?
The object doesn't contain the Automation object
'tbl_Road_Restrictions_Detail.
You tried to run a Visual Basic procedure to set a property for and object.
However, the component doesn't make the property or method available for
Automation operations.
(but not contained withing the master form). Access will not allow me to do
this, but I was wondering if there was a manual/pseudo way of doing this?
I have managed to link/synch the two forms, but when I try to create a new
record by using any of the fields on the ‘sub form’, I get this pop-up error
message:
The object doesn't contain the Automation object
'tbl_Road_Restrictions_Detail.
You tried to run a Visual Basic procedure to set a property for and object.
However, the component doesn't make the property or method available for
Automation operations.
But when I say OK to the error box, it still allows me to fill in the fields
and create the record. I want to fix this problem, but don’t know how. (I’m
not even sure what the error means)
The two tables are below and are [Linked by Road_Restriction_ID]. Can
someone give me some idea(s) on how to resolve this?
Table Structures
tbl_Road_Restrictions
Road_Restriction_ID AutoNumber
Road_Name_From Text
Road_Name_To Text
Restriction Text
Run_No Number
Direction_From Text
Direction_To Text
Junction_ID Number
tbl_Road_Restrictions_Detail
Road_Restriction_Detail_ID AutoNumber
Road_Restriction_ID Number
Run_Direction Text
Run_waypoint Text
Postcode Text
Run_No Number
Form Structures
frm_Road_Restrictions
Link Master Fields: [Run_No]
LinkChild Fields: [Run_No]
Record Source: tbl_Road_Restrictions
frm_Road_Restrictions_Detail
Link Master Fields:
Forms![frm_Runs]![frm_Road_Restrictions].Form![Road_Restriction_ID]
LinkChild Fields: [Road_Restriction_ID]
Record Source:
SELECT tbl_Road_Restrictions_Detail.Road_Restriction_Detail_ID,
tbl_Road_Restrictions_Detail.Road_Restriction_ID,
tbl_Road_Restrictions_Detail.Run_Direction,
tbl_Road_Restrictions_Detail.Run_waypoint FROM tbl_Road_Restrictions INNER
JOIN tbl_Road_Restrictions_Detail ON
tbl_Road_Restrictions.Road_Restriction_ID=tbl_Road_Restrictions_Detail.Road_Restriction_ID;
The two tables are below (Linked by Road_Restriction_ID).
Can someone give me some idea(s) on how to achieve this?
The object doesn't contain the Automation object
'tbl_Road_Restrictions_Detail.
You tried to run a Visual Basic procedure to set a property for and object.
However, the component doesn't make the property or method available for
Automation operations.