Mike Hughes
10-28-2007, 04:57 AM
I have a small DB which contains 2 tables and two forms. The tables are CaseStatus and Table1. The forms are frmCourtOrders and frmSearch. The user enters new cases on the frmCourtOrders. I want to give the user the ability to search that form on the field Docket Number, So I put a search button on the form which opens the frmSearch which would allow them to enter the docket number they are searching for.
Here is where the problem is. I don’t know how to write code. What I want the frmSearch form to do is to allow the worker to enter the Docket Number they are looking for and when they hit enter after adding the Docket Number the system would search the CaseStatus table for that docket number, close the frmSearch and open the frmCourtOrders displaying the correct record for that docket number. Can someone show me how to do this by putting in the code for me? I have attached the DB. I’m working in Access 2003
Here is where the problem is. I don’t know how to write code. What I want the frmSearch form to do is to allow the worker to enter the Docket Number they are looking for and when they hit enter after adding the Docket Number the system would search the CaseStatus table for that docket number, close the frmSearch and open the frmCourtOrders displaying the correct record for that docket number. Can someone show me how to do this by putting in the code for me? I have attached the DB. I’m working in Access 2003