Here is the delay code:
Dim delayhold
delayhold = Globs.gintRecallAttemptsAfter * 0.2499
sqlstring(8) = "(((InUse) Is Null) AND (((Now())-([Attempt1TS])) Is
Null Or ((Now())-([Attempt1TS]))>=" & delayhold & " AND [Attempt2TS] Is Null)
Or (((InUse) Is Null) AND ((Now())-([Attempt2TS])) Is Null and
((Now())-([Attempt1TS]))>=" & delayhold & " Or ((Now())-([Attempt2TS]))>=" &
delayhold & " AND [Attempt3TS] is null) OR (((InUse) Is Null) AND
((Now())-([Attempt3TS])) Is Null AND ((Now())-([Attempt1TS]))>=" & delayhold
& " AND ((Now())-([Attempt2TS]))>=" & delayhold & " Or
((Now())-([Attempt3TS]))>=" & delayhold & ")))"
I have added 4 (x represents 1-4 on the attempts) sets of
AttemptXCallBackDate and AttemptXCallBackTime and can't get the record with a
CallBack Date and Time field to override the above code.
So your delayhold is in units of 0.2499 days? You're aware that a date/time
field is store in units of days, right? Could you perhaps use the DateDiff()
function rather than Now()-[Attempt2TS]?
I'm just not sure I understand the logic here.