|
-
December 17th, 1999, 09:30 AM
#1
Jet-dbf write problem
I have a problem with writing to dbf file. I have written app to inport some data from one application to an other application. I have written it, test it and debugged on my comp and no problem. Then I have used the code on an other computer and here is what I have gotten a an error on the target.addnew line:
Error 2037. Object or database is read only.
Here is how I open the database:
Set wrkJet = CreateWorkspace("", "admin", "", dbUseJet)
Set dbSourceTarget = wrkJet.OpenDatabase(targetPath, True, False, "dBASE III")
Set target = dbSourceTarget.OpenRecordset("EVENTS.dbf", dbOpenDynaset, 0, dbOptimistic)
Error on : target.addnew
,but as I said it works on mi comp.
If anyone has any suggestions then please send a reply.
Thanks….
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
|