Gossamer Forum
Home : Products : DBMan : Installation :

modifying multiple records?

Quote Reply
modifying multiple records?
Is it possible to modify multiple records at a time?

Thanks!
Quote Reply
Re: modifying multiple records? In reply to
No without changing some code.

Take a look at the code for Links. It has a multiple modify feature.



------------------
JPD
Quote Reply
Re: modifying multiple records? In reply to
With some careful cutting and pasting, you can copy the routines from Links over to DBMan without much trouble..

Cheers,

Alex
Quote Reply
Re: modifying multiple records? In reply to
Did anyone succeed in transferring the multiple modify routine to DBMan?

I would really appreciate a "how to" on this subject.

It would be a very powerful improvement to the bookingsystem I,- with a lot of help from this Forum, am building.



[This message has been edited by poulR (edited March 25, 1999).]
Quote Reply
Re: modifying multiple records? In reply to
I'm finally getting back to this and I almost have it working. As suggested, I copied some code from Links, specifically,

sub html_record_form_mult
sub html_modify_mult_results
sub html_modify_mult_form

into html.pl and

sub modify_mult_record into db.cgi

I can specify that I want to modify multiple records in the search dialog, and the records appear in the results page with check boxes next to them.

But when I click Modify, I go back to the login page. I tried disabling authentication, but still no luck.

Any ideas?
Quote Reply
Re: modifying multiple records? In reply to
You would also need to copy sub modify_mult_record from db.cgi and add a line to db.cgi

elsif ($in{'modify_mult_record'}) { if ($per_mod) { &modify_mult_record; } else { &html_unauth; }}

Put this line in sub main in db.cgi, with the other "elsif" statements.



------------------
JPD