M MartijnAn Registered User. Local time Today, 15:15 Joined Sep 30, 2004 Messages 51 Jul 19, 2005 #1 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.
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.
KenHigg Registered User Local time Today, 18:15 Joined Jun 9, 2004 Messages 13,327 Jul 19, 2005 #2 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 )
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 )
M MartijnAn Registered User. Local time Today, 15:15 Joined Sep 30, 2004 Messages 51 Jul 19, 2005 #3 Not quite... How would you write this in code (suppose you have 3 fields x,y,z)
KenHigg Registered User Local time Today, 18:15 Joined Jun 9, 2004 Messages 13,327 Jul 19, 2005 #4 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
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