|
-
August 29th, 2001, 04:37 PM
#1
Can you designate a field as a KEY . . .
with any of the tools in VB 6.0? I've played with the Data View & VisData, but cannot seem to designate a field as KEY. How? Or do you have to do this with Access app?
Also, how do you get Database Diagrams to show up using Data View? I get Table & Views, but not Database Diagrams. (?)
Would sure appreciate any comments or s****.
Thanks,
John
-
August 31st, 2001, 01:27 AM
#2
Re: Can you designate a field as a KEY . . .
you need to use the tabledef object and reference an existing index or create a new one - then
Set AuIdx = MyTd.CreateIndex("AuthorID")
AuIdx.Primary = True
AuIdx.Unique = True
there are examples in Books On Line in help
-
August 31st, 2001, 09:33 AM
#3
Re: Can you designate a field as a KEY . . .
Thanks for your excellent response. In developing DB apps, do you think the Enterprise edition is necessary or worth the extra $?
Thanks in advance for your opinion.
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|