Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


ADO Object

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,57441
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> ADO Object
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 ADO Object - 3/4/2008 5:08:12 AM   
  mtusween

 

Posts: 7
Score: 0
Joined: 11/19/2007
Status: offline
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
 
 
Post #: 1
 
 RE: ADO Object - 3/4/2008 5:15:21 AM   
  ebgreen


Posts: 4411
Score: 29
Joined: 7/12/2005
Status: offline
See if this helps:

http://www.devguru.com/Technologies/ado/QuickRef/field_attributes.html

_____________________________

"... 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

(in reply to mtusween)
 
 
Post #: 2
 
 RE: ADO Object - 3/4/2008 7:06:47 AM   
  mtusween

 

Posts: 7
Score: 0
Joined: 11/19/2007
Status: offline
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

(in reply to ebgreen)
 
 
Post #: 3
 
 RE: ADO Object - 3/5/2008 1:53:15 AM   
  ebgreen


Posts: 4411
Score: 29
Joined: 7/12/2005
Status: offline
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

(in reply to mtusween)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> ADO Object Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts