Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: Modify

Quote Reply
Re: Modify In reply to
You might at least be able to figure out what the problem is, even if you can't fix it. Smile

In sub html_modify_success, the line that prints out the record is

&html_record(&get_record($in{$db_key}));

So you need to be sure that the variable $db_key is defined and that the variable $in{$db_key} is defined.

I would add a debugging line to the subroutine

Code:

print qq|--$db_key--<BR>--$in{$db_key}--|;
See what happens. You should get


--the name of your key field--
--the key value of the record you just modified--


See which one is missing.



JPD
Subject Author Views Date
Thread Modify mattc 6369 May 22, 2000, 11:51 AM
Thread Re: Modify
JPDeni 6244 May 22, 2000, 1:09 PM
Thread Re: Modify
mattc 6235 May 22, 2000, 1:17 PM
Thread Re: Modify
JPDeni 6234 May 22, 2000, 2:12 PM
Thread Re: Modify
mattc 6224 May 22, 2000, 2:24 PM
Thread Re: Modify
JPDeni 6238 May 22, 2000, 2:34 PM
Thread Re: Modify
mattc 6256 May 22, 2000, 2:58 PM
Thread Re: Modify
Chris Croome 6211 May 23, 2000, 3:45 AM
Post Re: Modify
mattc 6191 May 23, 2000, 12:31 PM