|
-
Aug 3rd, 2000, 11:32 AM
#1
Thread Starter
Junior Member
I get the following error message when I try to run the AddNew method of a DAO recordset:
Object or Database is read only.
The database is accessed over ODBC to a SQL 7.0 server.
The same code works fine with a ODBC connection to a SQL 6.5 server.
What can I try?
-
Aug 4th, 2000, 04:19 AM
#2
Addicted Member
- Did you open the recordset using the right properties (snapshot/dynaset/...)?
- Check whether the database itself IS read-only
- Any password protection on the DB?
-
Aug 4th, 2000, 04:54 AM
#3
Thread Starter
Junior Member
Hi and thanks for your answer.
The recordset is an DAO recordset of dynaset type. The database is not opened as read only.
The strange thing is that I can delete or insert records using SQL pass-through (or using ISQL) but I keep getting that error message when I try to use the AddNew method.
Could it possibly be that SQL Server 7.0 does not support DAO? Or does it?
-
Aug 7th, 2000, 06:17 AM
#4
Addicted Member
This one possibility from ttniep might indeed be the case:
The Recordset object was either created from multiple tables without a JOIN statement or the query was too complex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|