|
-
Oct 8th, 2000, 11:14 PM
#1
Thread Starter
Junior Member
I'm having a difficult time opening a Foxpro File in DAO which allows updates
Set db = OpenDatabase("C:\BRUNO", False, False, "FoxPro 2.6;")
Set rs = db.OpenRecordset("TEST", dbOpenTable)
This allows me to open the file but not update.
What's wrong.
B. Servello
-
Oct 9th, 2000, 06:49 AM
#2
Junior Member
Maybe..
I don't know much about FoxPro but I know in Access
I have to use something like this.
With RS
.Edit
!The_Field = "What I want to add"
.Update
End With
Try it and if works let me know.
Becuase then I can start to use FoxPro instead of Access withouth any serious changes to my way of coding.
-
Oct 9th, 2000, 06:50 AM
#3
Junior Member
Don't Forget
If you open it be sure to close it!
RS.Close
DB.Close
I don't know if that will work in FoxPro either.
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
|