spalmateer
Registered User.
- Local time
- Today, 14:38
- Joined
- Dec 5, 2000
- Messages
- 46
Hello,
I having a really hard time trying to get a form/linked-form to work together. My main form (frmCustInf) has customer information fields with an autonumber customer number field. On this form I have a command button which brings up another form (frmModelSerialNum)which has model/serial number information and a customer number field with the number format. I have created a link between these two forms through customer number using the command button wizard. The record source for form frmCustInf is a parameter query named qryCustInfAddress which allows the user to enter an address and it pulls up the specific record. The record source for the form frmModelSerialNum is the table tblModelSerialNum. My table tblCustInf (which the query is based off) and the table tblModelSerialNum have a one to one relationship. I set it up to have a one to one relationship because the customer will have only one set of model/serial numbers and sometimes this information will not be entered when the customer information is entered.
Currently what happens is after I enter customer information then press the command button to go to frmModelSerialNum the customer numbers do not transfer over.
Therefore anything entered into the form doesn't go into the table.
I believe the problem is that when autonumber creates a customer number in the main form- it's not creating a customer number in the modelserialnum form. How do I solve this problem? Could there be a problem with the relationships? Should I run the second form off the same query as the first form? Thanks for any information!
Scott
I having a really hard time trying to get a form/linked-form to work together. My main form (frmCustInf) has customer information fields with an autonumber customer number field. On this form I have a command button which brings up another form (frmModelSerialNum)which has model/serial number information and a customer number field with the number format. I have created a link between these two forms through customer number using the command button wizard. The record source for form frmCustInf is a parameter query named qryCustInfAddress which allows the user to enter an address and it pulls up the specific record. The record source for the form frmModelSerialNum is the table tblModelSerialNum. My table tblCustInf (which the query is based off) and the table tblModelSerialNum have a one to one relationship. I set it up to have a one to one relationship because the customer will have only one set of model/serial numbers and sometimes this information will not be entered when the customer information is entered.
Currently what happens is after I enter customer information then press the command button to go to frmModelSerialNum the customer numbers do not transfer over.
Therefore anything entered into the form doesn't go into the table.
I believe the problem is that when autonumber creates a customer number in the main form- it's not creating a customer number in the modelserialnum form. How do I solve this problem? Could there be a problem with the relationships? Should I run the second form off the same query as the first form? Thanks for any information!
Scott