Hi,
I take data from a server and I put in my table1.
All it's ok.
After that, I want to take data from table1,make some calculus and put data in table2:
SQL0 = "SELECT * from DECEMBRE where Date=#" & d1 & "# and Time=#" & d2 & "#"
Set r0 = db1.OpenRecordset(SQL0, dbOpenDynaset)
v = r0.Fields("field1"
My programme stop here and I have this error:
Run-time error '3021'
No current record.
v=empty
But if I go in table1 I find this record.
Can somebody help me, please?
Regards,
ersatz
I take data from a server and I put in my table1.
All it's ok.
After that, I want to take data from table1,make some calculus and put data in table2:
SQL0 = "SELECT * from DECEMBRE where Date=#" & d1 & "# and Time=#" & d2 & "#"
Set r0 = db1.OpenRecordset(SQL0, dbOpenDynaset)
v = r0.Fields("field1"
My programme stop here and I have this error:
Run-time error '3021'
No current record.
v=empty
But if I go in table1 I find this record.
Can somebody help me, please?
Regards,
ersatz