Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  Buy Now
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

how to insert an empty date
Phil Ehrlich
2014-09-18 12:46:57.0
Hello, I am using the DBF driver with lockType=VFP, and trying to update fields to blank but I am running into problems. I am seeing .NULL. in some of the fields when I open the table in the Visual FoxPro editor. For character fields I can execute UPDATE table SET character_field = ' ' (update to a single space) and that fixes it, but how can I set a datetime column to blank? If i say UPDATE table SET date_field=null then I see .NULL.. If I say UPDATE table SET date_field=' ' (single space), then the value shows up as 01/01/70 12:00:00 AM in the Visual FoxPro editor. Using the OleDB driver I was able to say UPDATE table SET date_field = '//' but HXTT says that is an invalid date format.
Re:how to insert an empty date
HXTT Support
2014-09-22 20:29:04.0
Please download the latest package, which has supported it.

For character type, set '' or null will show blank or .NULL. for your VFP talbe.

For date type, you can use '' to set blank value.

Search Key   Search by Last 50 Questions


Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap