Hi,
Thanks for the help. I have tried the same and made a function in a module. Then I am using this SQL statement:
SELECT [AttTable].Name, [AttTable].EDate, [AttTable].LogInTime, [AttTable].LogOutTime, getNStime([LogInTime],[LogOutTime]) AS NS, *
FROM [AttTable];
But when I run this...