russellmunday
Technical User
can someone tell me where i'm going wrong with this
Dim sdate As Date
sdate = Date.Today.AddMonths(1).ToString
Dim ssql As String
ssql = "select * from information where expirydate <'" & sdate & "'"
i want the records that are about to run out to be returned.
Thanks
Dim sdate As Date
sdate = Date.Today.AddMonths(1).ToString
Dim ssql As String
ssql = "select * from information where expirydate <'" & sdate & "'"
i want the records that are about to run out to be returned.
Thanks