kermitforney
Technical User
Trying to get this to run correctly in VB.NET (code behind ASP.Net). Something is off with the Syntax and I am not sure what it is. Any suggestions??
Code:
intDateDiff = Me!txtToDate - Me!txtFromDate
If intDateDiff > 84 Or (intDateDiff Mod 7) <> 0 Then
MsgBox "The difference between the From and To dates must be no greater than 12 weeks."