I've been doing it the other way and just figured this one out (hence my email yesterday). Pretty cool!
So, speaking of un-checks...got any suggestions? I'll be trying to set up some of those later this afternoon. Thanks. j > -----Original Message----- > From: Simon Boddy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 8:53 AM > To: Multiple recipients of list witango-talk > Subject: RE: Witango-Talk: updating multiple records > > > Hi Rick, > > There is no need to loop to achieve this. You should give all > your checkboxes the same name, say myBoxes, then set the > value attribute of each checkbox to the database id of the > corresponding record. You can then use <@arg myBoxes > type="array"> to retrieve an array of database ids of checked boxes. > > So just drag on an update action. In the top pane drag on > your id column, select the 'is in' operator, then type <@arg > myBoxes type="array">. In the update with values pane, just > set your flag column. Use <@numaffected> in the results to > satisy your curiosity that all records are being updated. > > The fun starts when you want to process un-checks. > > Good luck. Simon > -- > _______________________________________________ > Get your free email from http://www.graffiti.net > > Powered by Outblaze > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: send a plain text/US ASCII email to > [EMAIL PROTECTED] > with unsubscribe witango-talk in the message body > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
