Hi guys,
I'm driving myself slowly round the twist here. All I want to do is open a recordset so I can loop through and reset some of the fields.
But I get a type mismatch error on the set RS line (last one below)
maybe the set dbs isn't working ? Am I doing something wrong ?
Sub setval()
Dim dbs As Database
Dim RS As Recordset
Dim prevvalue As Variant
Set dbs = CurrentDb
Set RS = dbs.OpenRecordset("patflows1"
This is the start of my code.
Any help gratefully received.
Jane
I'm driving myself slowly round the twist here. All I want to do is open a recordset so I can loop through and reset some of the fields.
But I get a type mismatch error on the set RS line (last one below)
maybe the set dbs isn't working ? Am I doing something wrong ?
Sub setval()
Dim dbs As Database
Dim RS As Recordset
Dim prevvalue As Variant
Set dbs = CurrentDb
Set RS = dbs.OpenRecordset("patflows1"
This is the start of my code.
Any help gratefully received.
Jane