I have a form linked with a subform such as:
main form: (table A with ID: primary key)
ID :1545
CustomerID (auto-number) 500
and some other fields
subform (table B, primary key: CustomerID and ViolationNO)(CustomerID in both tables A & B linked)
ViolationsNO Score CustomerID
1 5 500
2 5 500
......and so on up to the violation id 27.
26 2 500
27 3 500
In the subform each CustomerID always has 27 records (from 1 - 27 violations). So I used subform with continuous form and enter 27 times to add up to 27 records. It's working fine with that. However, I would like to do something like adding a button named "Adding Violations" . When click on this button, it's automatic adding 27 records from 1-27 with the same CustomerID. or any other easiest way. Is it possible? Please help, I'm very appreciated. Thanks
main form: (table A with ID: primary key)
ID :1545
CustomerID (auto-number) 500
and some other fields
subform (table B, primary key: CustomerID and ViolationNO)(CustomerID in both tables A & B linked)
ViolationsNO Score CustomerID
1 5 500
2 5 500
......and so on up to the violation id 27.
26 2 500
27 3 500
In the subform each CustomerID always has 27 records (from 1 - 27 violations). So I used subform with continuous form and enter 27 times to add up to 27 records. It's working fine with that. However, I would like to do something like adding a button named "Adding Violations" . When click on this button, it's automatic adding 27 records from 1-27 with the same CustomerID. or any other easiest way. Is it possible? Please help, I'm very appreciated. Thanks