Forums
This topic is locked
default check the checkbox
24 Nov 2006 12:12:34 YC ong posted:
Hello,I am newbie in programming. Hope someone can help.
I create a form that the login user can upload a department's procedure. User can check the checkbox for the concern departments. I would like to auto check the checkbox of the login user's department before the user fill in the form.
I do not know how to set default check for the login user's department.
Any idea? Please help... Urgent...My project due date is around the corner.
Thanks,
Yuki
Replies
Replied 24 Nov 2006 16:58:36
24 Nov 2006 16:58:36 Vince Baker replied:
you need to create a recordset to get the department for the user.
Create your recordset and then filter it on the user details to get the department.
Then, click on the checkbox, and click on the dynamic flash in the properties inspector window and select the department field from the recordset displayed in the list.
You must ensure that the values of the checkboxes match the options available in the department field.
Hope that is pointing you in the right direction.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Create your recordset and then filter it on the user details to get the department.
Then, click on the checkbox, and click on the dynamic flash in the properties inspector window and select the department field from the recordset displayed in the list.
You must ensure that the values of the checkboxes match the options available in the department field.
Hope that is pointing you in the right direction.
Regards
Vince Baker
<strong>DMX Zone Manager</strong>
[VBScript | ASP | HTML | CSS | SQL | Oracle | AS400 | ERP Logic | Hosting]
Replied 25 Nov 2006 17:12:45
25 Nov 2006 17:12:45 YC ong replied:
Hi Vince,
Thanks for your advice. I solved my problem (",).
Regards,
Yuki
Thanks for your advice. I solved my problem (",).
Regards,
Yuki