Advertisement
Guest User

Untitled

a guest
Sep 27th, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DEFINE BUFFER bufCustomer FOR Customer.
  2.  
  3. ETIME (yes).
  4. FOR EACH bufCustomer NO-LOCK:
  5.    FOR EACH order OF customer NO-LOCK
  6. /*      for each order no-lock where order.CustNum = customer.CustNum:*/
  7.         WHERE MONTH(order.orderDate + 1) <> MONTH(order.orderDate):
  8.         disp Customer.Name.
  9. /*        disp order.orderDate.                                 */
  10. /*        disp weekday(order.orderdate) label "Day of the week".*/
  11.     END.
  12. END.
  13. MESSAGE ETIME
  14. VIEW-AS ALERT-BOX.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement