Using VB read FoxPro table
Hello:
I use opendatabase to open a VFP database like this:
Set dbInfo = OpenDatabase("e:\mac\research\term\1104\", False,
False, "FoxPro 3.0;")
Set rsInfo = dbInfo.OpenRecordset("fileinfo", , dbOpenTable)
When I want add a new record by rsInfo.AddNew,
it told me that this database is read-only.
Why? It's in my own PC and no one use it.
Did I do something wrong?
Thanks,
Mac
--
Mac <??>
Graduate Student,
Information Enginerring of TTIT, Taiwan
http://www.*-*-*.com/ ~g8506010/mac-head.gif