Gossamer Forum
Home : Products : DBMan : Discussions :

Display Record

Quote Reply
Display Record
From a view operation, I display a list of records selected. I want to have a Display More button on each line, the button is there. But when the button is pressed, nothing happens!

Here is the code I have for the form:

sub html_record {
# --------------------------------------------------------
# How a record will be displayed. This is used primarily in
# returning search results and how it is formatted. The record to
# be displayed will be in the %rec hash.

my (%rec) = @_; # Load any defaults to put in the VALUE field.

## warren was here ($db_auto_generate and print &build_html_record(%rec) and return);
## commented out by web to stop the auto generation of the forms.


$submit_button = "Display More";

print qq|

<TABLE WIDTH="100%" CELLPADDING=1 CELLSPACING=1 BORDER=0>


<TR>
<td width=7%>$rec{'propid'}</td>
<td width=10%>$rec{'location'}</td>
<td width=15%>$rec{'area'}</td>
<td width=40%>$rec{'text'}</td>
<td width=10%>$rec{'price'}</td>
<td width=18%><input type=hidden name="$db_key" value="$rec{'refno'}">
<INPUT TYPE="SUBMIT" NAME="html_add_success" VALUE="$submit_button"></td>

</TR>

</TABLE>

|;
}


And assistance would be appreciated.

Thank you in advance.

Subject Author Views Date
Thread Display Record wb_samui 3487 Mar 25, 2001, 10:14 PM
Thread Re: Display Record
LoisC 3418 Mar 25, 2001, 11:32 PM
Thread Re: Display Record
wb_samui 3429 Mar 26, 2001, 5:41 PM
Thread Re: Display Record
LoisC 3401 Mar 26, 2001, 10:46 PM
Post Re: Display Record
wb_samui 3380 Mar 29, 2001, 2:30 AM