baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Mac128 on 5/17 2008, 10:56 -08:00
    WWW: baseportal.com/cgi-bin/baseportal.pl?htx=/Mac128/M000

    SPAM


      How to stop the endless Spam that keeps filling up my templates? It just suddenly started happening this month.

      If no way, can the baseportal software accommodate a simple check-box system like my e-mail accounts so that 100's of SPAM entries can be deleted by a click of the mouse?

      Otherwise baseportal is useless. Thanks,

    Your reply:

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

    Post a new message


 All messages from this thread: To the list 
    Message from baseportaluser on 5/26 2008, 03:00 +00:00

    "Get" command and field values with spaces


      Can someone show me how to use the get command to search and count fields with specified values that may include spaces? I have tried the following which doesn't work, but should give you an idea of what I am trying to do.

      <perl>
      $tot=0;
      get "volunteer~=1 & committee==committee/ name", "database";
      $tot=$_amount;
      </perl>

      Any help will be much appreciated.

     Post a reply

    Message from Claus on 5/28 2008, 20:18 +01:00

    Re: "Get" command and field values with spaces


      Hi,

      try it in this way:


      <perl>
      $tot=0;
      get ["volunteer", "~=", "1", "&", "committee", "==", "Tom Dooley",], "database";
      $tot=$_amount;
      </perl>

      hth

      Claus

     Post a reply

    Message from Sander on 5/29 2008, 10:19 +00:00
    WWW: fliegen.snowpage.de

    Re: "Get" command and field values with spaces


      use backslash \ instead of slash /

      while in do action 1 backslash is ok, in perl you need 2 backslashes

      get "volunteer~=1 & committee==committee\\ name", "database";

      claus answer is ok, but you can't use range and sort in this example

     Post a reply

    Message from baseportaluser on 6/19 2008, 17:31 +00:00

    Re: "Get" command and field values with spaces


      Thank you both for your help!
     Post a reply
     
 Messages from 450 to 600: 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