baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from MF on 2/10 2004, 21:24 +00:00

    Re: table display and listfields


      Here is the code.

      <html><head><title>baseportal - ASAP Database</title>
      </head><body bgcolor=ffffff>
      <br><ul>

      <perl>


      if($name_in ne "")
      {
      get "Name==!$name_in", "users";

        if($Password ne "" && $Password eq $password_in)
        {
          do_all "listfields=8", "", "name_in", "password_in", ;
        } else
        {
          out "<b>Access denied!</b>";
          $name_in="";
        }

      }

      if($name_in eq "")
      {

      out <<EOF;
      <h2>Sign in</h2>Please sign in:
      <form action="/cgi-bin/baseportal.pl?htx=$htx" method="post" enctype="multipart/form-data">
      <input type=hidden name="htx=" value="$htx">
      <table>
      <tr><td>Name:</td><td><input type="text" name="name_in="></td></tr>
      <tr><td>Password:</td><td><input type="password" name="password_in="></td></tr>
      <tr><td></td><td><input type=submit value="Sign in"></td></tr>
      </table></form>
      EOF
      }

      </perl>

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from MF on 2/9 2004, 12:48 -05:00

    table display and listfields


      My table had more than 5 columns that needed to be displayed, so I used the "listfield" command to show all of them. This was fine until I added more columns (and changed the listfield number).

      Now the table is two colums, one the ACTION, the other <<leer>>.

      What does this mean and how do I get rid of it?
     Post a reply

    Message from Christoph Bergmann on 2/10 2004, 00:28 +01:00
    EMail: info@baseportal.de

    Re: table display and listfields


      Probably a little typo or sth. Please post the code of your <do action=all ..>
     Post a reply

    Message from MF on 2/10 2004, 21:24 +00:00

    Re: table display and listfields


      Here is the code.

      <html><head><title>baseportal - ASAP Database</title>
      </head><body bgcolor=ffffff>
      <br><ul>

      <perl>


      if($name_in ne "")
      {
      get "Name==!$name_in", "users";

        if($Password ne "" && $Password eq $password_in)
        {
          do_all "listfields=8", "", "name_in", "password_in", ;
        } else
        {
          out "<b>Access denied!</b>";
          $name_in="";
        }

      }

      if($name_in eq "")
      {

      out <<EOF;
      <h2>Sign in</h2>Please sign in:
      <form action="/cgi-bin/baseportal.pl?htx=$htx" method="post" enctype="multipart/form-data">
      <input type=hidden name="htx=" value="$htx">
      <table>
      <tr><td>Name:</td><td><input type="text" name="name_in="></td></tr>
      <tr><td>Password:</td><td><input type="password" name="password_in="></td></tr>
      <tr><td></td><td><input type=submit value="Sign in"></td></tr>
      </table></form>
      EOF
      }

      </perl>

     Post a reply


    Message from Christoph Bergmann on 2/12 2004, 01:16 +01:00
    EMail: info@baseportal.com

    Re: table display and listfields


      Replace

      do_all "listfields=8", "", "name_in", "password_in", ;


      with

      do_all "listfields=#8", "", "name_in", "password_in";

      this should work ;-)
     Post a reply

    Message from ED on 2/16 2004, 14:00 +00:00

    Re: table display and listfields


      After I added columns, I had to go into the PAGE/SETTINGS/OUTPUT section and recheck the new column, seemed to work. By default they are unchecked.
      ED
     Post a reply
     
 Messages from 2700 to 2850: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com