Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Duplicate yes

Status
Not open for further replies.

sal21

Programmer
Apr 26, 2004
425
IT
I Just have a tablet in access database.
I need to set the index of field named TS with:
Duplicate yes
Via vb6 naturally

My ADO con Is named CON and Just Is opened
 
Not enough information.

Wild guess:
Code:
str = "Update SomeTable Set TS = 'Duplicate yes'"
CON.Execute str

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson
 
Index has boolean 'Unique' property, that can be set to True or False. In the bottom of referenced page you can find VB examples of working with Index object.

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top