Gossamer Forum
Home : Products : DBMan : Installation :

modifying/deleting

Quote Reply
modifying/deleting
Hi,


I'm a novice in dbman (but learning fast !...).

I have a problem in deleting or modifying records,
though I think I'm doing it right.



Hereby parts from html.pl and default.cfg

in html.pl
__________

sub html_record_form {


<TR><TD ALIGN="Right" VALIGN="TOP" WIDTH="150"><$font>ID1:</FONT></TD>
<TD VALIGN="TOP" WIDTH="475"> <INPUT TYPE="TEXT" NAME="ID1" VALUE="$rec{'ID1'}" SIZE="3" MAXLENGTH="3"></TD></TR>


sub html_record {


<TR><TD ALIGN="Right" VALIGN="TOP" WIDTH="20%"><$font_color>ID1:</FONT></TD>
<TD WIDTH="80%"> <$font>$rec{'ID1'}</Font></TD></TR>


in default.cfg
______________

%db_def = (
ID1 => [0, 'numer', 5, 8, 1, '', ''],


$db_key = 'ID1';



What else could be wrong with ID1 or is it something else?
Thanks for responses.

Ace1


Quote Reply
Re: modifying/deleting In reply to
Exactly what is the problem?

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: modifying/deleting In reply to
Hi,

In the mean time modifying seems to have resolved itself.
But while deleting records I get the message : 'no records specified'.

I thaught that has initially something to do with the unique field-identifier.
Or am I looking in the wrong direction ?

Ace1