First of all if all the textboxes are the same class you can use the setall()command like so Setall("Enabled", .t., "Textbox")
or you can loop through the controls using the controlcount of the form or pageframe that they are on. This does require alot more thought and code.
Cheers
Rich D