Hi,
I'm creating a db for customers and each customer can have many service orders.
In the customer form I have two buttons, one to create a new service order and one to open existing service orders.
Both buttons work as they are supposed to although I am doing this with custid, so both the customer and serviceorder tables have a field called custid and when the button is clicked to show existing service orders it matches both custid's and shows the corresponding records. However it onlt works at the moment with me manually entering the custid in the field in the serviceorder table. When a new service order is created I need the custid to be entered in both tables.
I hope this makes some sense, any help is grately appreciated!!
I'm creating a db for customers and each customer can have many service orders.
In the customer form I have two buttons, one to create a new service order and one to open existing service orders.
Both buttons work as they are supposed to although I am doing this with custid, so both the customer and serviceorder tables have a field called custid and when the button is clicked to show existing service orders it matches both custid's and shows the corresponding records. However it onlt works at the moment with me manually entering the custid in the field in the serviceorder table. When a new service order is created I need the custid to be entered in both tables.
I hope this makes some sense, any help is grately appreciated!!