Professional Web Applications Themes

Set a datetime field to Null - ASP Database

Hi I created a record set at client side and added a coulmn as date time DBRS = CreateObject("ADODB.RecordSet") DBRS.Fields.Append "Updation_Date",adDateTime How can I set a this field as nullable ? Thanks Baiju...

  1. #1

    Default Set a datetime field to Null

    Hi

    I created a record set at client side and added a coulmn as date time

    DBRS = CreateObject("ADODB.RecordSet")
    DBRS.Fields.Append "Updation_Date",adDateTime

    How can I set a this field as nullable ?


    Thanks
    Baiju


    Baiju K U Guest

  2. #2

    Default Set a datetime field to Null

    Hi

    I created a record set at client side and added a coulmn as date time

    DBRS = CreateObject("ADODB.RecordSet")
    DBRS.Fields.Append "Updation_Date",adDateTime

    How can I set a this field as nullable ?


    Thanks
    Baiju


    Baiju K U Guest

  3. #3

    Default Re: Set a datetime field to Null

    [url]www.aspfaq.com/5003[/url]

    Ray at home

    "Baiju K U" <baijuindus-systems.com> wrote in message
    news:u9Az%23cukDHA.3732tk2msftngp13.phx.gbl...
    > Hi
    >
    > I created a record set at client side and added a coulmn as date time
    >
    > DBRS = CreateObject("ADODB.RecordSet")
    > DBRS.Fields.Append "Updation_Date",adDateTime
    >
    > How can I set a this field as nullable ?
    >
    >
    > Thanks
    > Baiju
    >
    >

    Ray at Guest

  4. #4

    Default Re: Set a datetime field to Null

    Baiju K U wrote:
    > Hi
    >
    > I created a record set at client side and added a coulmn as date time
    >
    > DBRS = CreateObject("ADODB.RecordSet")
    > DBRS.Fields.Append "Updation_Date",adDateTime
    >
    > How can I set a this field as nullable ?
    >
    Use the attrib argument of the Append method:
    [url]http://msdn.microsoft.com/library/en-us/ado270/htm/mdamth01_2.asp[/url]

    --
    HTH,
    Bob Barrows - ASP MVP
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows Guest

Similar Threads

  1. Problem with an extra .0 added to Datetime field
    By andrewdixon in forum Coldfusion Database Access
    Replies: 5
    Last Post: September 29th, 09:12 AM
  2. NULL To DateTime field through sp
    By cp_anil@rediff in forum Macromedia ColdFusion
    Replies: 1
    Last Post: April 15th, 09:10 AM
  3. Replies: 1
    Last Post: December 6th, 01:55 AM
  4. get week from date/datetime field
    By Pohoda in forum Informix
    Replies: 3
    Last Post: October 2nd, 02:19 PM
  5. dateTime = Null problem
    By Jake in forum ASP.NET General
    Replies: 1
    Last Post: July 18th, 04:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139