K
Kamy_s
I have a form, and the form have a tab control with two pages.
the page has few fields (drop down list, date field and a text) fro
one of the table.
I would like to initialize those fields when the form is open.
form (form1)
tab control (tab_control)
Pages (Page1 and Page2)
Page1 fields (field1)
Page2 fields (field2 and field3)
How I can do that ? In which event Form_Open or Form_Current and how ?
Tried the below code
Private Sub Form_Current()
'Initiliaze variables on the form.
form1.field1.Value = ""
form1.field2.Value = ""
form1.field3.Value = ""
End Sub
Please advise.
Thanks in advance
the page has few fields (drop down list, date field and a text) fro
one of the table.
I would like to initialize those fields when the form is open.
form (form1)
tab control (tab_control)
Pages (Page1 and Page2)
Page1 fields (field1)
Page2 fields (field2 and field3)
How I can do that ? In which event Form_Open or Form_Current and how ?
Tried the below code
Private Sub Form_Current()
'Initiliaze variables on the form.
form1.field1.Value = ""
form1.field2.Value = ""
form1.field3.Value = ""
End Sub
Please advise.
Thanks in advance