khicon73
MIS
- Jan 10, 2008
- 36
Hello all, please help...I'm very appreciated.
I have a main form listing all customer information
Example:
Main Form: "frm_Customer"
CustomerID = 08-00145 (txtCustomerID)
Customer LasName = Doe (txtLastName)
Customer FirstName = John (txtFirstName)
and some other fields....
and a button named "cmdContact". When click on "cmdContact", another screen open with new form named "frmContact" . This form is a continuous form linked "Customer ID" from Main Form.
If this form has 2 records in there then it will show:
CustomerID = 08-00145 (txtCustomerID)
Contact ID= 1 (txtContactID)
Date =12/1/2008 (txtEntryDate)
and some other fields...
CustomerID = 08-00145 (txtCustomerID)
Contact ID= 2 (txtContactID)
Date =12/3/2008 (txtEntryDate)
and some other fields....
From this, you can add a new record with
CustomerID = 08-00145 (automatic get this ID from Main form, main form is still open)
The rest users need to fill in datas...
So how can I get the CustomerID from main form if adding new records, please help...thanks alots
I have a main form listing all customer information
Example:
Main Form: "frm_Customer"
CustomerID = 08-00145 (txtCustomerID)
Customer LasName = Doe (txtLastName)
Customer FirstName = John (txtFirstName)
and some other fields....
and a button named "cmdContact". When click on "cmdContact", another screen open with new form named "frmContact" . This form is a continuous form linked "Customer ID" from Main Form.
If this form has 2 records in there then it will show:
CustomerID = 08-00145 (txtCustomerID)
Contact ID= 1 (txtContactID)
Date =12/1/2008 (txtEntryDate)
and some other fields...
CustomerID = 08-00145 (txtCustomerID)
Contact ID= 2 (txtContactID)
Date =12/3/2008 (txtEntryDate)
and some other fields....
From this, you can add a new record with
CustomerID = 08-00145 (automatic get this ID from Main form, main form is still open)
The rest users need to fill in datas...
So how can I get the CustomerID from main form if adding new records, please help...thanks alots