home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,747 of 10,840   
   Raoul Watson to Jason Keats   
   Re: detecting unique primarykey in ADODC   
   30 Apr 09 02:38:00   
   
   From: WatsonR@IntelligenCIA.com   
      
   Jason Keats wrote:   
   >>    
   >             Debug.Print "ISAUTOINCREMENT: " &   
   > .Fields(vField).Properties("ISAUTOINCREMENT").Value   
      
   Too bad there is no   
             .Properties("ISUNIQUE")   
    >>    
      
   Thanks Jason.. I learned a couple of new things about properties today..   
      
   I always handle PK's myself..   
      
   Fortunately, I found a field in the DB in which I apparently encoded   
   manually a version number. Like I said it has been over 10 years but   
   apparently I have a consistent habit of always placing a version field.   
   So regardless of what DB of whatever program I have written, I can   
   always count on this field being there. The version also allows me to   
   manage additional fields if I added them later on.   
      
   Thanks again for taking the time, I appreciate it bud..   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca