Multiple Fields

MartijnAn

Registered User.
Local time
Today, 15:15
Joined
Sep 30, 2004
Messages
51
Hi All,

I have multiple fields on a form, does anyone know how I can make them unvisible without writing 30 times .visible = false.. Someone told me I could use the tag property.

Thanks in advance.
 
You could set the tags to say "True" or 'False', then loop through them setting them on/off where appropriate with the onCurrent event...

Make sense?

(I think this is SJ's trick :) )
 
Not quite...

How would you write this in code (suppose you have 3 fields x,y,z)
 
Hum... I don't know the best code off the top of my head to loop through the controls in a form... Maybe someone else will jump in an bail me out :)
 

Users who are viewing this thread

Back
Top Bottom