The PuritanBoard  

Go Back   The PuritanBoard > General Forums > Computers & Technology

Computers & Technology Bible software, computer support questions and other helpful technology matters

» Online Users: 78
11 members and 67 guests
21st Century Calvinist, Athaleyah, bookslover, CalvinandHodges, Christusregnat, DMcFadden, Mayflower, reformedcop
Most users ever online was 856, 07-06-2007 at 12:19 AM.
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-28-2008, 07:36 AM
Puritanboard Professor
 
Join Date: Dec 2002
Location: Framingham, MA
Posts: 5,134
Thanks: 218
Thanked 147 Times in 102 Posts
Any MS Access Users Out There?

I created a database and imported two Excel spreadsheets to create two tables. I'd like to make one of the common fields the primary key so I can query information from both tables. I opened up one of the tables in Design View, selected the field, then clicked on the key icon to add the primary key to that field. When I try and close the table, it comes up with an error window that says "Index or primary key can't contain a Null value". Anybody know what null value its talking about?
__________________
Bob Howes
Framingham, MA

A reoccurring thought:

Rev 22:20 He which testifieth these things saith, Surely I come quickly. Amen. Even so, come, Lord Jesus.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-28-2008, 10:19 AM
turmeric's Avatar
Megster
 
Join Date: Jan 2004
Location: Portland,OR
Posts: 7,196
Blog Entries: 1
Thanks: 535
Thanked 313 Times in 283 Posts
What's the common field?

Haven't used access for a couple terms. Here is something that may help.
__________________
The man who is disposed to think of his sin as a great calamity, rather than as a heinous crime, is not likely either to reverence God or to respect His law. - John Kennedy, 1873
Meg
Blog
Member, Intown Presbyterian Church,PCA, Portland, OR

Click to get: Board Rules -- Signature Requirements -- Suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to turmeric For This Useful Post:
blhowes (07-18-2008)
  #3 (permalink)  
Old 07-18-2008, 08:27 AM
Puritanboard Professor
 
Join Date: Dec 2002
Location: Framingham, MA
Posts: 5,134
Thanks: 218
Thanked 147 Times in 102 Posts
Quote:
Originally Posted by turmeric View Post
What's the common field?

Haven't used access for a couple terms. Here is something that may help.
Meg,
Thanks for your response. I don't know how, but I didn't see your response way back when.

I appreciate your help, especially the link. Understanding how to make fields null values is the next thing I'd like to learn, as it will be helpful here at work.

I figured out what I need to do to make a field common between two tables. In design view, you click on the common field in one table and drag it to the corresponding field in the 2nd table. It automatically draws a line between the two fields.

Thanks again for your help,

Bob
__________________
Bob Howes
Framingham, MA

A reoccurring thought:

Rev 22:20 He which testifieth these things saith, Surely I come quickly. Amen. Even so, come, Lord Jesus.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-18-2008, 09:14 AM
wallingj's Avatar
Puritanboard Freshman
 
Join Date: Feb 2008
Location: Troy IL
Posts: 98
Thanks: 16
Thanked 15 Times in 11 Posts
The field you want to make a primary key must contain data; it cannot be empty. You need to analyze the spreadsheet and see if that column has a cell that is blank, if so you need to put some data in all the blank cells. Hitting the space key is a form of data. A null is that lack of any data.
__________________
James N. Walling
Center Grove Presbyterian Church (PCA)
IL

κύριος ησος Χριστς
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Powered by vBadvanced CMPS v3.0.1

All times are GMT -4. The time now is 01:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 PuritanBoard.com
Hosted by WebsiteMaven - helping ministries with web hosting advice, reviews, and design.
Westminster Abbey © Confessional Presbyterian Presses - used with permission.
Add Our Custom Button to your Google Toolbar

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64