Normal Topic Mass Update Radio Button (Read 431 times)
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Mass Update Radio Button
Oct 28th, 2005 at 5:26am
Print Post Print Post  
Is it possible to change - by mass update - which button in a radio button group is "selected."

Let's say I have 4 radio buttons:  Unknown (which is the default), Red, Green and Yellow

I want to retrieve a group of records and change the status of the button group from "unknown" to "Green"

When I try a mass up date with something like Green = 1 (or Green = True or Green = Yes), it doesn't change the state of the radio button.  Instead it changes the label of the button from Green to 1 (or True or Yes).  This condition only lasts while the file is open.  The next time I access the database, the correct label appears again.

Thanks for any help.
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Mass Update Radio Button
Reply #1 - Oct 28th, 2005 at 11:52am
Print Post Print Post  
Code
Select All
RadioButtonGroupName = RadioButtonName
 


So if your group is called MyColors, and your buttons are Unknown, Red, Green, and Blue. If you want to set the group to be Green on every record, your mass update will read:
Code
Select All
MyColors = Green
 

  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Mass Update Radio Button
Reply #2 - Oct 28th, 2005 at 2:20pm
Print Post Print Post  
Mark -

THAT'S TOO EASY!!!!  I'm embarrassed again!

roflol

Thanks much!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged