15c89 Adding auto-numbered Primary Key to imported tables.
Sign Up |  Live StatsLive Stats    Articles 37,468| Comments 178,612| Members 19,494, Newest Kartarsingh| Online 356
Home Contact
 (Forgotten?): 
    10 years of Excellence
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Adding auto-numbered Primary Key to imported tables.

Adding auto-numbered Primary Key to imported tables.

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 0 USD (0%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
How do I Increment an auto numbered field with value > 1 Bob Information Technology 1 28-Jul-2006 08:35 AM
Linking tables when there is a multiple-field primary key rg Information Technology 6 28-Jul-2006 08:12 AM
Adding new tables after splitting the database Bobk Information Technology 2 18-Nov-2005 14:00 PM
Linking tables and adding fields Adam Armstrong Information Technology 1 12-Nov-2005 22:40 PM
Adding formulas to tables gjoneshtfc@volcanomail.com Information Technology 1 04-Nov-2005 15:19 PM


Tags
adding, autonumbered, primary, key, imported, tables
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:11 AM
vikenk@aol.com's Avatar vikenk@aol.com
Guest
 
Posts: n/a
   
   
Adding auto-numbered Primary Key to imported tables.

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
Hello,

I'm working on a project with a friend. He has an old dBase III
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10281-adding-auto-numbered-primary-key-imported.html
database he wants to convert to Access. It's mostly names and addresses
for a mailing list for a newsletter. Importing the table was no
problem. My problem is that I'd like to assign an Auto-Numbered Primary
Key to the table, but Access 2003 won't let me.

How can I import the data and provide an auto-numbered Primary Key as
well? Access won't let me use an auto-numbered key.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281

I've tried to create a new table with a primary key then tried to
import the data into the table, hoping that it would automatically auto
number it, but it only imports the table as a whole, not just the data
within the table.

For some background: I've created databases before (mostly mailing
lists with sorting filters, etc) and my knowledge of Access falls
somewhere between beginner and intermediate (closer to intermediate),
but I have no SQL or VBScript knowledge.

Any ideas?

--
Viken K.
http://www.vikenk.com



Do you agree or disagree with the writer above? Why not share your immediate thoughts with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:11 AM
Jeff C's Avatar Jeff C
Guest
 
Posts: n/a
   
   
RE: Adding auto-numbered Primary Key to imported tables.

Once you have imported your table go to design view, add field [ID] data type
auto number. Save the table. Then select that field again in design mode
and make it a primary key, then save the table.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
--
Jeff C
Live Well .. Be Happy In All You Do


"vikenk@aol.com" wrote:

> Hello,
>
> I'm working on a project with a friend. He has an old dBase III
> database he wants to convert to Access. It's mostly names and addresses
> for a mailing list for a newsletter. Importing the table was no
> problem. My problem is that I'd like to assign an Auto-Numbered Primary
> Key to the table, but Access 2003 won't let me.
>
> How can I import the data and provide an auto-numbered Primary Key as
> well? Access won't let me use an auto-numbered key.
>
> I've tried to create a new table with a primary key then tried to
> import the data into the table, hoping that it would automatically auto
> number it, but it only imports the table as a whole, not just the data
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
> within the table.
>
> For some background: I've created databases before (mostly mailing
> lists with sorting filters, etc) and my knowledge of Access falls
> somewhere between beginner and intermediate (closer to intermediate),
> but I have no SQL or VBScript knowledge.
>
> Any ideas?
>
> --
> Viken K.
> http://www.vikenk.com
>
>

Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:11 AM
vikenk@aol.com's Avatar vikenk@aol.com
Guest
 
Posts: n/a
   
   
Re: Adding auto-numbered Primary Key to imported tables.


Jeff C wrote:
> Once you have imported your table go to design view, add field [ID] data type
> auto number. Save the table. Then select that field again in design mode
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
> and make it a primary key, then save the table.


Jeff,

Thank you very much. It worked like a charm! :>) Still though, I
wonder why Access didn't allow me to do it before...

--
Viken K.
http://www.vikenk.com

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:12 AM
Jeff C's Avatar Jeff C
Guest
 
Posts: n/a
   
   
Re: Adding auto-numbered Primary Key to imported tables.

  Donate Today!  
Creating an autonumber field is unique. When you create an autonumber field
it automatically numbers each record as soon as you save it. Making the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
field a primary key is yet another action requiriing the program to verify
the uniqueness if each record. Access just requires the step by step process.


--
Jeff C
Live Well .. Be Happy In All You Do


"vikenk@aol.com" wrote:

>
> Jeff C wrote:
> > Once you have imported your table go to design view, add field [ID] data type
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10281
> > auto number. Save the table. Then select that field again in design mode
> > and make it a primary key, then save the table.

>
> Jeff,
>
> Thank you very much. It worked like a charm! :>) Still though, I
> wonder why Access didn't allow me to do it before...
>
> --
> Viken K.
> http://www.vikenk.com
>
>

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
English Sri Guru Granth Sahib Ji Translations
By sikh15
Today 04:47 AM
0 Replies, 1 Views
What Really Happened on...
Today 04:18 AM
9 Replies, 118 Views
Free Online Gurbani...
Today 03:56 AM
13 Replies, 4,294 Views
English Sri Guru Granth...
Today 03:51 AM
5 Replies, 131 Views
Edward Snowden: the...
Today 03:34 AM
3 Replies, 102 Views
Difference in Bowing...
Today 03:31 AM
10 Replies, 216 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:23 AM
407 Replies, 9,380 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 17:57 PM
255 Replies, 6,013 Views
What Is Difference...
Yesterday 09:18 AM
6 Replies, 173 Views
First There is Water by...
By Ishna
Yesterday 05:03 AM
3 Replies, 189 Views
Cooking Without Alcohol
Yesterday 02:12 AM
12 Replies, 188 Views
Learning from Baba...
Yesterday 01:38 AM
0 Replies, 309 Views
Eckhart Tolle
17-Jun-2013 18:08 PM
2 Replies, 118 Views
Thought of the Moment!
17-Jun-2013 16:35 PM
115 Replies, 6,076 Views
New Quantum Dot...
17-Jun-2013 09:38 AM
0 Replies, 61 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 04:49 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.37575 seconds with 32 queries
0