Results 1 to 6 of 6

Thread: [RESOLVED]Create a Primary Key

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Nov 2004
    Posts
    1,414

    Resolved [RESOLVED]Create a Primary Key

    hi to all:

    This code create a ID field:

    Code:
    Set fld = tdf.CreateField("ID, dbLong)
    fld.Attributes = dbAutoIncrField
    tdf.Fields.Append fld
    and i would like create a primary key too in this field...
    Can anyone tell me the way to do this?

    Thanks
    Last edited by sacramento; Dec 12th, 2008 at 02:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width