473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How do you create 2 key fields?

Hi,

Never used databases before. Just started about 30 mins ago. I'm following
this walkthrough in order to create a database, but on one table I am
supposed to to have 2 key fields. But it doesn't seem to allow me to do
this. It's Acess 2000. Any suggestions? Thanks.
Nov 12 '05 #1
4 3818
"Interesting Ian" <sp**@doubtthouthestarsartfire.com> wrote in message
news:tF***************@newsfep4-winn.server.ntli.net...
Hi,

Never used databases before. Just started about 30 mins ago. I'm following this walkthrough in order to create a database, but on one table I am
supposed to to have 2 key fields. But it doesn't seem to allow me to do
this. It's Acess 2000. Any suggestions? Thanks.


Do you mean a primary key made up of 2 fields? In table design highlight two
fields by ctrl-clicking to the left hand side of them. Then click the key
icon on the toolbar. Viola! 'Tis done.

Mike
Nov 12 '05 #2
"Interesting Ian" <sp**@doubtthouthestarsartfire.com> wrote in message
news:tF***************@newsfep4-winn.server.ntli.net...
Hi,

Never used databases before. Just started about 30 mins ago. I'm following this walkthrough in order to create a database, but on one table I am
supposed to to have 2 key fields. But it doesn't seem to allow me to do
this. It's Acess 2000. Any suggestions? Thanks.


While in table design view, select one of the two fields and then hold the
control key down while selecting the second one. Now both fields are
highlighted and you can press the "Key" button in the toolbar to create a
composite Primary Key consisting of both fields.
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 12 '05 #3

"Rick Brandt" <ri*********@hotmail.com> wrote in message
news:bo*************@ID-98015.news.uni-berlin.de...
"Interesting Ian" <sp**@doubtthouthestarsartfire.com> wrote in message
news:tF***************@newsfep4-winn.server.ntli.net...
Hi,

Never used databases before. Just started about 30 mins ago. I'm

following
this walkthrough in order to create a database, but on one table I am
supposed to to have 2 key fields. But it doesn't seem to allow me to do
this. It's Acess 2000. Any suggestions? Thanks.


While in table design view, select one of the two fields and then hold the
control key down while selecting the second one. Now both fields are
highlighted and you can press the "Key" button in the toolbar to create a
composite Primary Key consisting of both fields.

Hi, thanks :-)
Nov 12 '05 #4
"Interesting Ian" <sp**@doubtthouthestarsartfire.com> wrote in message
news:e9*****************@newsfep4-winn.server.ntli.net...

Pssst...think of a better on line name. Posting a question about a multi
field key really isn't THAT interesting <g>
Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Nick | last post by:
Loop to create an array from a dynamic form. I'm having trouble with an application, and I'll try to explain it as clearly as possible: 1. I have a form with two fields, say Apples and...
4
by: Melissa | last post by:
I have a frontend file named CustomerApp and backend file named CustomerData. CustomerApp is at C:\Customer Database and CustomerData is at S:\Customer Database. Could someone help me with the code...
4
by: John T. Howard | last post by:
Can you issue commands from VB.Net to create and delete databases? I would like to create, delete, and copy MSAccess tables and/or databases from code. Can this be done? Can you show, or point...
2
by: angie | last post by:
I need to figure out how to create a user interface to search a query, but here's the bad part...I need to account for criteria on at least 7 of the fields. Here's what I'm thinking I need to do:...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
1
by: Dave | last post by:
I have multiple forms that will create an object. Basically a energy efficiency measure object. The measure object will have a couple of required properties set but after that it can have 10-20...
3
by: creative1 | last post by:
Here is how you create a complex data report that involves parent and child commands and you can update information at runtime. Its pretty straight forward to work with simple queries; however,...
0
by: ramuygl | last post by:
want to create store procedure that. want to send the table name as argument and retrive the data of that argument. and want to store data in temperary table using the insert query. HERE I AM...
15
by: lxyone | last post by:
Using a flat file containing table names, fields, values whats the best way of creating html pages? I want control over the html pages ie 1. layout 2. what data to show 3. what controls to...
3
by: DeanL | last post by:
Hi guys, Does anyone know of a way to create multiple tables using information stored in one table? I have a table with 4 columns (TableName, ColumnName, DataType, DataSize) and wanted to know...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.