Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  Buy Now
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  HXTT XML v2.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 Ltd. of Beijing 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 © 1999-2017 Heng Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap