Sorry I am posting again since I am still stuck, but now I am posting it with an example. This might help what I want to accomplish.
ALSO People have suggested me to make two tables and have one-to-many relationship, however the data is allready inputed, and it will be difficult to arrange all the database again.
Please only post if you can help me with exactally what I want to do. Thankyou
HERE GOES THE EXAMPLE:
Lets take for an instant that we are issuing visas to people holding passports. Now lets take for example Mr. John Doe comes and gets a 6 months visa, we enter all of his info. like LastName, FirstName, DateOfBirth, PassportNo., PassportDateOfIssue, and so on the first time.
Now he comes back again to get visa (since his old visa expired) after lets see a year and again we have to input all of his info. again like LastName, FirstName, DateOfBirth and so on.
Now what I want is, as soon as we enter his passport no. and computer see that he exists in the table and all of his previous information gets copied to a new record with the passport no. as well but leaving the some fields empty, so that we can enter a new data on them.
So in this passport number has to be duplicate.
I know I can pull up the old record with a combo box but then I am changing his old record but I want to keep that record as it is without changing anything on it.
And if the applicant is not in the table then we just enter all info. like Enter Last Name then First Name and then so on.
And this is in one table only.
Any help with coding will be appricated.
So I can just get away by just copying the record that will do.
Thank you
Rajput
ALSO People have suggested me to make two tables and have one-to-many relationship, however the data is allready inputed, and it will be difficult to arrange all the database again.
Please only post if you can help me with exactally what I want to do. Thankyou
HERE GOES THE EXAMPLE:
Lets take for an instant that we are issuing visas to people holding passports. Now lets take for example Mr. John Doe comes and gets a 6 months visa, we enter all of his info. like LastName, FirstName, DateOfBirth, PassportNo., PassportDateOfIssue, and so on the first time.
Now he comes back again to get visa (since his old visa expired) after lets see a year and again we have to input all of his info. again like LastName, FirstName, DateOfBirth and so on.
Now what I want is, as soon as we enter his passport no. and computer see that he exists in the table and all of his previous information gets copied to a new record with the passport no. as well but leaving the some fields empty, so that we can enter a new data on them.
So in this passport number has to be duplicate.
I know I can pull up the old record with a combo box but then I am changing his old record but I want to keep that record as it is without changing anything on it.
And if the applicant is not in the table then we just enter all info. like Enter Last Name then First Name and then so on.
And this is in one table only.
Any help with coding will be appricated.
So I can just get away by just copying the record that will do.
Thank you
Rajput