C
Chiki
I had created a form for entering the employees Contract Form with the
employees table as the database.i had created the exact fields in the table &
the form for entering data into the employees table through the form.
I had created the base table named values with the same fields Like
Department,Employee Name, DOJ (Date of Joining) & CED(Contract Expiry date)
On my form i had created 2 comboboxes & 2 textboxes.
The first combo box is to select a department the list.Upon selecting a
department only the employees in that particular dept should appear.
The 1st Text box is to show the Date of Joining of the Employee from the
selection of the second combo box.The Second Text box should calculate the
CED based on the DOJ of the Employee which is 6 months for every employee.
Question 1:How would i get the values into the combox.
From studying many examples,i found that the values can be obtained either
from the table or query from the combo box properties.
Is it correct to get the values from table/Query from the Combo box
properties.
Question 2: How to show/display the Contract Expiry Date based on the
employee name from the table.
Please tell me how to proceed.If i need any macros also do tell me.I want
the code also.
employees table as the database.i had created the exact fields in the table &
the form for entering data into the employees table through the form.
I had created the base table named values with the same fields Like
Department,Employee Name, DOJ (Date of Joining) & CED(Contract Expiry date)
On my form i had created 2 comboboxes & 2 textboxes.
The first combo box is to select a department the list.Upon selecting a
department only the employees in that particular dept should appear.
The 1st Text box is to show the Date of Joining of the Employee from the
selection of the second combo box.The Second Text box should calculate the
CED based on the DOJ of the Employee which is 6 months for every employee.
Question 1:How would i get the values into the combox.
From studying many examples,i found that the values can be obtained either
from the table or query from the combo box properties.
Is it correct to get the values from table/Query from the Combo box
properties.
Question 2: How to show/display the Contract Expiry Date based on the
employee name from the table.
Please tell me how to proceed.If i need any macros also do tell me.I want
the code also.