ADO Object

Author Message
mtusween

  • Total Posts : 7
  • Scores: 0
  • Reward points : 0
  • Joined: 11/19/2007
  • Status: offline
ADO Object Tuesday, March 04, 2008 6:08 AM (permalink)
0
Hello,
I'm trying to determine if a field in an ADO object is an AutoNumber.  I've been looking at the Field Object and I can't tell which one would actually tell me what it is.  I was looking at the Attribute Property but the output is criptic and the w3schools site isn't very descriptive with the values equal.  If you someone could please help me it would be greatly appreciated.
Thank you,
Chris Swenor
 
#1
    ebgreen

    • Total Posts : 8219
    • Scores: 98
    • Reward points : 0
    • Joined: 7/12/2005
    • Status: offline
    RE: ADO Object Tuesday, March 04, 2008 6:15 AM (permalink)
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      mtusween

      • Total Posts : 7
      • Scores: 0
      • Reward points : 0
      • Joined: 11/19/2007
      • Status: offline
      RE: ADO Object Tuesday, March 04, 2008 8:06 AM (permalink)
      0
      I wish it did, but it's actually less info than what w3cschools gives.

      When I pull the attribute from the autonumber field it gives me 90.  Which isn't on that list.

      Maybe there is a better way to figure this out?

      Thanks,
      Chris
       
      #3
        ebgreen

        • Total Posts : 8219
        • Scores: 98
        • Reward points : 0
        • Joined: 7/12/2005
        • Status: offline
        RE: ADO Object Wednesday, March 05, 2008 2:53 AM (permalink)
        0
        Well first, the property can be any number on the list or a sum of the numbers on the list. Second, what do you get from a non-autonumber field?
        "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
        Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
        http://www.visualbasicscript.com/m_47117/tm.htm
         
        #4

          Online Bookmarks Sharing: Share/Bookmark

          Jump to:

          Current active users

          There are 0 members and 1 guests.

          Icon Legend and Permission

          • New Messages
          • No New Messages
          • Hot Topic w/ New Messages
          • Hot Topic w/o New Messages
          • Locked w/ New Messages
          • Locked w/o New Messages
          • Read Message
          • Post New Thread
          • Reply to message
          • Post New Poll
          • Submit Vote
          • Post reward post
          • Delete my own posts
          • Delete my own threads
          • Rate post

          2000-2012 ASPPlayground.NET Forum Version 3.9