Results 1 to 4 of 4

Thread: How does this compile???????

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Long Island, New York
    Posts
    169

    Default How does this compile???????

    How does this code fragment compile?

    Notice the word "and" in the string declaration

    Code:
            Procedure OnConstrain 
                Boolean bShowNonInvent bNew bEdit bDelete bAll
                Date dStart dStop
                String sInit sStart and sStop
                Get Value of oInit to sInit
                Get Value of oStartDate to dStart
                Get Value of oStopDate to dStop
                If (trim(sInit)<>'') Constrain Invdaudt.Init eq sInit
                If (dStart<>'') Constrain Invdaudt.Date ge dStart
                If (dStop<>'') Constrain Invdaudt.Date le dStop
                .
                .
                .
            End_Procedure
    Last edited by erikzcai; 26-Feb-2014 at 04:56 PM. Reason: Typo

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •