G
Guest
Hello,
I am to use an sql string to create a recordset.
If I use this one I get all teh right articles
strsql = ""
strsql = "SELECT * " _
& "FROM table " _
& "WHERE table.Article =" & Article
But if I use this one, it doesn't work
strsql = ""
strsql = "SELECT * " _
& "FROM table " _
& "WHERE table.date =" & Vdate
I made the following chagnes.
dim vdate as date. doesn't make a difference
Can you someone tell me why it works with the article number but not with a
date?
I am to use an sql string to create a recordset.
If I use this one I get all teh right articles
strsql = ""
strsql = "SELECT * " _
& "FROM table " _
& "WHERE table.Article =" & Article
But if I use this one, it doesn't work
strsql = ""
strsql = "SELECT * " _
& "FROM table " _
& "WHERE table.date =" & Vdate
I made the following chagnes.
dim vdate as date. doesn't make a difference
< in stead of = no recordsin stead of = It shows all records in the table
Can you someone tell me why it works with the article number but not with a
date?