Hi Jim
thanks for the reply, sadly the connection string should not containt the database name, just the path. with the database name in the path it generates an error with the path name.
I am elsewhere reading the file to test the value of the field, originally as read-only, though changed that to the same connection string as posted before incase the read-only part somehow had stuck! It had not, but left the code as it make no real difference to me.
I took the connection string info from
Paradox Connection String Samples - ConnectionStrings.com which shows that the v7.x driver is read only but the one I'm using should be good for read and write...
The other code segment uses a plain "= false" test that works, never come accress "== false" in Access (running 2007), can you explain that to me?
If I try to put == the syntax checker turns the line red?
Just as an update, looking at other connection strings, from
ADO Connection String Samples where there is a ODBC string ...
Code:
cnn.Open "Driver={Microsoft Paradox Driver (*.db )};" & _
"DriverID=538;" & _
"Fil=Paradox 5.X;" & _
"DefaultDir=" & Me.txtDatbasePath & ";" & _
"Dbq=" & Me.txtDatbasePath & ";" & _
"CollatingSequence=ASCII"
the error then moves to the "rst.Update" statement, rather then the "rst!Field1 = True" statement, a bit further down the code, no further fowards :-(
thanks anyway, any other ideas most welcome