G
Guest
I think what I want to do with my database is getting too complicated for me.
Any help or suggestions are appreciated.
I have a database with two tables, one is ComplianceActivitiesTracking, the
other is CorrectiveActionPlanTracking. I am trying to create a form that
will show only compliance activities that have a check mark in field
CorrectiveActionPlanRequired, but show a subform to data enter into the
CorrectiveActionPlan fields.
I created the main form based on a query of the ComplianceActivitiesTracking
table showing the following fields:
ActivityTrackingNumber (primary key/autonumber)
StartDate
ActivityOwner
CorrectiveActionPlanRequired (criteria:Is Not Null)
ActivityTitle
Description
StatusofActivity
The subform record source is the CorrectiveActionPlanTracking table, and
includes the following fields:
CAPID (primary key)
ActivityTrackingNumber (foreign key?-set up as the many side of one to many
rel)
Finding
RecommendationID
Recommendation
CorrectiveActionPlan
I want the main form fields to be view only, but users need to be able to
data enter corrective action plans. Things seem to be working, except that
new records in the subform can't be entered. Existing records show and can
be edited, but new records can't be entered. The new record button is greyed
out.
What am I doing wrong? Should I not use a query as a record source for the
main form? Thanks for your help!
Any help or suggestions are appreciated.
I have a database with two tables, one is ComplianceActivitiesTracking, the
other is CorrectiveActionPlanTracking. I am trying to create a form that
will show only compliance activities that have a check mark in field
CorrectiveActionPlanRequired, but show a subform to data enter into the
CorrectiveActionPlan fields.
I created the main form based on a query of the ComplianceActivitiesTracking
table showing the following fields:
ActivityTrackingNumber (primary key/autonumber)
StartDate
ActivityOwner
CorrectiveActionPlanRequired (criteria:Is Not Null)
ActivityTitle
Description
StatusofActivity
The subform record source is the CorrectiveActionPlanTracking table, and
includes the following fields:
CAPID (primary key)
ActivityTrackingNumber (foreign key?-set up as the many side of one to many
rel)
Finding
RecommendationID
Recommendation
CorrectiveActionPlan
I want the main form fields to be view only, but users need to be able to
data enter corrective action plans. Things seem to be working, except that
new records in the subform can't be entered. Existing records show and can
be edited, but new records can't be entered. The new record button is greyed
out.
What am I doing wrong? Should I not use a query as a record source for the
main form? Thanks for your help!