Takoe delo:
Est' fajl db.mdb v nem
tablica lib_subject
v nej
pole data format Data/Time i vida 04/28/2004 9:31:26 AM
Zadacha:
Vivesti vse zapisi gde mesac' = 5 (t.e. Maj)
delajy tak
- Код: Выделить всё
Conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & curdir
sSQL = "SELECT * FROM lib_subject Where datepart(mm, DATE) = 05"
RS2.Open sSQL, Conn
I poluchajy oshibky vida
No value given for one or more required parameters. v stroke
RS2.Open sSQL, Conn
NArod, pomogite a???