Conting days

Yohn

Member
Hy!
I need help about how to count days. I need to print a list of some records, but on each activity I have a date. now my job is to when I insert some date in fil in in my frame it needs to list all jobs from that day and next 10 day forward.
Anybody knows solution.
thx.
 

TomBascom

Curmudgeon
Code:
define variable dt1 as date no-undo.
define variable dt2 as date no-undo.

update dt1 dt2.

display dt1 - dt2.

display dt1 + 10.

for each invoice no-lock where invoiceDate > = dt1 and invoiceDate < ( dt1 + 10 ):

  display invoiceNum invoiceDate.

end.
 
Top