Hi
I used this code to change the special effect of the controls.
After this, the form is saved.
[code=vb]
Dim ctl As Control
For Each ctl In Me.Controls
If TypeOf ctl Is ComboBox Then
ctl.SpecialEffe ct = 0
ctl.BorderColor = RGB(255, 128, 140)
End If
Next ctl
DoCmd.Save acForm, "Form1"
[/code]
When i close the form and re-open it ,all the changes are not there.
Why does it do that when i save the form as well from code itself ?
Thanks
Qi
I used this code to change the special effect of the controls.
After this, the form is saved.
[code=vb]
Dim ctl As Control
For Each ctl In Me.Controls
If TypeOf ctl Is ComboBox Then
ctl.SpecialEffe ct = 0
ctl.BorderColor = RGB(255, 128, 140)
End If
Next ctl
DoCmd.Save acForm, "Form1"
[/code]
When i close the form and re-open it ,all the changes are not there.
Why does it do that when i save the form as well from code itself ?
Thanks
Qi
Comment