baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Randy M. on 12/13 2003, 01:58 +00:00

    compare dates(if)...anyone know how to use this


      ---- baseportal documentation--- (in single quotes)

      'If you want to compare a date in the database with the current date, this can be achieved by using the command:

            if($Date lt date ("now", "internal")) { ... }

      A date can only be compared by using text comparison.'



      Question: this is the "lt" ? in the code above ?right?

      -------baseportal documentation continues--

      'The comparison can also be made using a while... loop in perl. Since loop converts the $Date in the right format automatically, the hash %_raw must be used in order to enable a comparison.'


                  <loop code=perl>
      if($_raw(date) lt date ("now", "internal"))
      {
                  ...
                  }

                  </loop>'

      Question: can you explain this with and example page?

      also i don't see a hash % character in the above code.

      Thanks




       
       

    Your reply:

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

    Post a new message


 All messages from this thread: To the list 

    Message from lynx on 12/13 2003, 23:57 +00:00
    EMail: kbeethoven71@hotmail.com

    all records dont show when i use a relation field


      why cant i see all my records and some i can some i cant. im using a relation field as a related info in the same database
     Post a reply

    Message from Christoph Bergmann on 12/17 2003, 17:48 +01:00
    EMail: info@baseportal.com

    Re: need help with relation field


      I'm not sure whats the problem - I tried the links above and it all looks good to me... What is wrong?
     Post a reply
     
 Messages from 3000 to 3150: 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