Solved

Primary and Foreign Key differences between mdb and adp

Posted on 2004-10-04
1
281 Views
Last Modified: 2013-12-05
We're new to Access and have sussed out that you use an auto number as a primary key and Long Integer for the foreign key but what are the equivalents in Access project?
0
Comment
Question by:Prestigeres
1 Comment
 
LVL 18

Accepted Solution

by:
Data-Man earned 500 total points
ID: 12216929
create a field of type int and set it to Identity = yes.

int in Sql server is the same as a long int.

don't use big int in sql server, there is no equivelent in Access.

Mike
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now