>First of all, before posting this question I tried using refresh, settodefault properties ...I notice that although I use this properties I had to input all my object name and its value...So What a different to use such a simple (silly) coding?
>
>Jafery
for each loControl in this.controls
if inlist(proper(loControl.BaseClass),"Textbox", "Editbox","Combobox","Checkbox")
??
loControl.ResetToDefault('ControlSource')
loControl.ResetToDefault('value')
endif
next
If it's not broken, fix it until it is.
My Blog