Topic: [SOLVED] cript to calculate days difference between two dates
Hello,
I searched forum and all I can find is solution with two DateTimePickers, What I need is script to select max date from table1 > field date, select min date from table1 > field date and calculate days difference > max date - min date and get result as integer. I know how to do that using calculated field but I need script because I want to show that result in Form1.Edit1 on OnShow.
Thanks in advance,
Vladimir