Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.0
  HXTT Cobol v4.0
  HXTT DBF v7.0
  Buy Now
  HXTT Excel v6.0
  HXTT Paradox v7.0
  HXTT PDF v1.1
  HXTT Text(CSV) v7.0
  HXTT Word v1.0
  HXTT XML v3.0
Offshore Outsourcing
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
Heng Xing Tian Tai Lab of Xi'an 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


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap