Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 August 5th, 2005, 03:20 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
Default setting date/time fields back to null value


hi,

  I have an Access application ( vb.net .exe ) that needs to
  reset a date/time field in an Access table back to being a null
  value.

  Can anyone please provide me with the syntax for this ?

  eg update mytable set myDateTime = ???

  How to I specify a null value ?

Cheers



 
Old August 8th, 2005, 02:29 AM
Friend of Wrox
 
Join Date: Jul 2005
Posts: 150
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried:

myDateTime = Null

HTH...



Boyd
"Hi Tech Coach"
Access Based Accounting/Business Solutions developer.
http://www.officeprogramming.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
null date time dhoward VB.NET 2002/2003 Basics 1 June 15th, 2007 02:48 PM
date time setting for asp.net web application swati_joshi ASP.NET 1.0 and 1.1 Professional 1 November 8th, 2006 08:59 AM
comparing date/time fields on form validation Lucy Javascript How-To 1 June 20th, 2006 09:22 AM
All fields of datagrid are Null hexOffender VB Databases Basics 0 March 23rd, 2006 02:22 PM
Null Value for Date/Time Field ksegars4 Crystal Reports 2 November 17th, 2004 11:58 AM





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