ducati996guy
Posts: 46
|
| Posted: 06/24/2004, 8:01 PM |
|
Does anyone have any tips on how to get all controls from a record form? I want to run a loop which checks all controls and if they are of the type text, and null, set the value to be "Not Set" or some other value.
I can do it by manually creating an array of control names and then looping through them to set a value if they are empty, but this is a slow manual way of doing it. Does anyone know how to reference all of the controls on a form. If they know how to check the type that would be even better.
ON an unrelated subject, how is everyone going with the beta version of the new release ? Anyone got any horror stories ? I want to use it but am in the middle of an important project so am a little apprehensive about installing.
Many Thanks
David
_________________
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein (1879-1955)
www.CustomerCommunity.com.au
|
 |
 |
peterr
Posts: 5971
|
| Posted: 06/25/2004, 3:16 AM |
|
Yep. See http://forums.codecharge.com/search.php?s_keyword=loop+...m[]=6&s_period=
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
ducati996guy
Posts: 46
|
| Posted: 06/27/2004, 6:51 PM |
|
Thanks Peter, I did search but only for "get control"
Regards
David
_________________
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein (1879-1955)
www.CustomerCommunity.com.au
|
 |
 |
|