Gossamer Forum
Home : Products : DBMan : Customization :

Problem with modify option

Quote Reply
Problem with modify option
When a record is looked up for modification and just 1 match comes then the data in the form to be modified is displayed in the input boxes, but when there are more than 1 match and a check box comes, after you select the record to modify and press modify record, the form comes up blank, there is nothing in it,
Can anyone please tell me what is wrong,
Thank you
Quote Reply
Re: Problem with modify option In reply to
Then it seems like it's something with your .cfg file.

Are you sure you have your $db_key set correctly?



------------------
JPD
Quote Reply
Re: Problem with modify option In reply to
I can only think of one possibility for this to happen. (Doesn't mean there aren't others, but this is all I can think of. Smile )

Look for the following lines in your html_modify_record_form subroutine:

my (%rec) = &get_record($in{'modify'});

&html_record_form (%rec);

If either of them is missing or severely altered, you won't get your form filled in with the record.


------------------
JPD
Quote Reply
Re: Problem with modify option In reply to
The html_modify_record_form has no problems in it, If I use the default.db which came with DBMAN and the data definition , it works with no problem, but when I put my data file and its definition, it starts giving the problem.
Thanks JPDeni for your help.