I have two tables: Customer Info and Notes
Customer Info: Customer number (Unique Index), Customer Name, Etc
Notes: NoteID (Key), Note Date, Notes
I established a one to many relationship, and then created a form based off of the Customer info table, and use it to auto populate fields from the table based off a combo box using customer number. This had over 40,000 records.
Then I added a subform based on Notes, but changed the Source object to: Table.Notes so that I would be able to see any notes and add to the notes table as a datasheet for a customer selected from the combo box.
My problem is that I can no longer enter or select a customer number in the combo box. The number of records of the original form have shrunk to the number of notes. I have to create a new record in the main form order to select a different customer, which isn't what I want to do since that would create a new line in the customer info table which is not what I want to do.
Where did I go wrong?
Edit: I found that if I try to select a customer from the drop down menu the following shows on the bottom of the screen: Records in the Table notes would have no records on the one side. Does that mean that my one to many relationship was made in the wrong direction?
Customer Info: Customer number (Unique Index), Customer Name, Etc
Notes: NoteID (Key), Note Date, Notes
I established a one to many relationship, and then created a form based off of the Customer info table, and use it to auto populate fields from the table based off a combo box using customer number. This had over 40,000 records.
Then I added a subform based on Notes, but changed the Source object to: Table.Notes so that I would be able to see any notes and add to the notes table as a datasheet for a customer selected from the combo box.
My problem is that I can no longer enter or select a customer number in the combo box. The number of records of the original form have shrunk to the number of notes. I have to create a new record in the main form order to select a different customer, which isn't what I want to do since that would create a new line in the customer info table which is not what I want to do.
Where did I go wrong?
Edit: I found that if I try to select a customer from the drop down menu the following shows on the bottom of the screen: Records in the Table notes would have no records on the one side. Does that mean that my one to many relationship was made in the wrong direction?
Last edited: