Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 16th, 2003, 12:27 PM
Registered User
 
Join Date: Jun 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default DBF Database

Hi,
I'm trying to update DBF tables

db_con.ConnectionString = "Provider=Microsoft.jet.OLEDB.4.0;Data Source=c:\Alpha5;Extended Properties=DBASE III;"
db_con.Mode = adModeReadWrite
db_con.Open

Db_Command.ActiveConnection = db_con

Db_Command.CommandText = "Update Order_Detail set Date_time='" & Format(Date, "dd/mm/yyyy") & "' Where .....

Db_Command.Execute


But keep getting error 'Needs to be updatable Query' on the execute

Phil





Similar Threads
Thread Thread Starter Forum Replies Last Post
connect clipper dbf prakashdgl C# 0 March 7th, 2007 07:35 AM
Errors exporting to .dbf airsci Access 4 June 6th, 2006 01:31 PM
SQL to DBF gokul_blr SQL Server DTS 3 May 16th, 2006 01:04 AM
Reading DBF Files SerranoG Access VBA 5 May 11th, 2005 07:33 PM
Webservice opening dbf JuneCleaver ADO.NET 2 January 14th, 2004 06:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.