Hello everybody,
I have a small database law clerks use to track their weekly tasks. The first form "Login" has two comboboxes, one cboFullName that references a table with EmpID, FullName, Region, and Password and cboPassword that verifies the employee's password.
When the employee presses a button this form minimizes and they are brought to the next form which is "Task List" that is linked to a table "tasks." From here they can press another button "New Task" which brings them to the form "Task Details" where they can put in any relevant information about a task. They then press another button which saves this entry as a record which they view using the "Task List" form because it is split and allows easy editing. I have a text box on the "Task List" form which I use to display the name of whoever is logged in and restrict the records that they can view.
I would like to be able to autopopulate two combo boxes on the "Task Details" form based on the user who is logged on.
Example:
John Smith logs into database at Login Form
John Smith clicks New Task at "Task List" Form
John Smith is brought to the "Task Details" form, where his name and region are already selected for him in their relevant combo boxes.
John Smith saves the current record, and it is displayed in his "Task List"
How would I go about making this happen? I might not have explained perfectly so please ask for clarification if you need it.
I have a small database law clerks use to track their weekly tasks. The first form "Login" has two comboboxes, one cboFullName that references a table with EmpID, FullName, Region, and Password and cboPassword that verifies the employee's password.
When the employee presses a button this form minimizes and they are brought to the next form which is "Task List" that is linked to a table "tasks." From here they can press another button "New Task" which brings them to the form "Task Details" where they can put in any relevant information about a task. They then press another button which saves this entry as a record which they view using the "Task List" form because it is split and allows easy editing. I have a text box on the "Task List" form which I use to display the name of whoever is logged in and restrict the records that they can view.
I would like to be able to autopopulate two combo boxes on the "Task Details" form based on the user who is logged on.
Example:
John Smith logs into database at Login Form
John Smith clicks New Task at "Task List" Form
John Smith is brought to the "Task Details" form, where his name and region are already selected for him in their relevant combo boxes.
John Smith saves the current record, and it is displayed in his "Task List"
How would I go about making this happen? I might not have explained perfectly so please ask for clarification if you need it.