Not sure, if you are using SQL server or MSAccess. But let me post this considering SQL server.
Intiate connection object and recordset object. Sql string should be contructed something like
strSql = "Select columnlist,... from ArticleTable where Convert(varchar(10),ArticleDate,121) = convert(varchar(10),getdate(),121)"
rs.Open, strSql, ConnObj
If Not rs.EOF then
your display code
Else
display nothing or say something about that.
End If
Hope that helps.
Cheers!
_________________________
- Vijay G
Strive for Perfection
|