Code Behind .vb file error

Tiriumndryday

New Member
Can anyone tell me why this simplistic piece of code is throwing an "expected expression" error in my .vb file? I can not understand it for the life of me.<BR><BR>Dim theDate AS Date<BR>mnth = CStr(request.form("mnth"))<BR>dy = CStr(request.form("dy"))<BR>yr = CStr(request.form("yr"))<BR><BR>theDate = CDate(mnth & "/" & dy & "/" & yr)<BR>If theDate < Date then<BR><BR><BR>Rob<BR>
 
Back
Top