Gossamer Forum
Home : Products : DBMan : Discussions :

Re: [zeshan] html_modify?

Quote Reply
Re: [zeshan] html_modify? In reply to
The trick would be telling dbman which set of records need to be modified. If you have a single field such as "Validated" from the validation MOD, then maybe not to hard.
I would assume this function would be for admin only, as if it is not then you need then it get even more tricky.

This is why; all the subs that search/add/delete/modify records use the $in('something') which is passed to dbman through a URL. When you modify a record, that record occupys the $in(). Thus you would need to supply some additional unique $in() such as $in('list_unvalid_on_sucess') then use an if statement in modify sucess to active a NEW sub. The new sub would look like the html_modify_form sub, except it can't use the $in values, so you would need to hard code it to tell it what records to display, which might require a run back through the sub query. So you see, I think it would be quite a hack.

How about this; for admin only, call the html_modify_form (checkboxes and short form of records) into one frame in a browser and then send the modify_sucess to a second frame? Further I don't see any reason why you would need to refresh the html_modify_form frame as long as you can keep track of which records you already modified. Maybe refresh every now and then, (50-100 per day, give me some coffee) and at least once at the end to make sure you got-um-all.

Good luck.
Subject Author Views Date
Thread html_modify? zeshan 3069 Apr 22, 2003, 1:13 PM
Post Re: [zeshan] html_modify?
joematt 2935 Apr 23, 2003, 11:28 AM
Thread Re: [zeshan] html_modify?
LoisC 2928 Apr 24, 2003, 11:24 AM
Post Re: [LoisC] html_modify?
Watts 2917 Apr 24, 2003, 5:08 PM