Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

updating a dbase file

Status
Not open for further replies.

49er

Programmer
Aug 24, 2000
38
0
0
US
Can someone give me some insight as to how to edit and then update a dbase file?
The error "Operation is not supported for this type of object" is generated when I try to execute the update statement in the following code:

Code:
strFileName = InputBox("Enter path to streets.dbf", _
"Create Street Label Fields For Internet Apps", "x:\wrkarea\gis\brett")
Set dbCurrent = OpenDatabase(strFileName, False, False, "dbase IV;")
Set rs = dbCurrent.OpenRecordset("streets")
Do Until rs.EOF
rs.Edit
rs.Fields("myabbtype").Value = rs.Fields("st_type").Value
rs.Update
rs.MoveNext
Loop
dbCurrent.Close


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top