creating an unique ID number
I am finishing a database that someone else started over a year ago - and I have a primary key that is assigned to student IDs BUT also need to have an unique club member ID added for each person/record.
How do I get a number to automatically add to new records and not be in conflict with the student ID number that is the primary key. Yet the unique club member ID number must always correspond to the student ID number.
Solutions to the Problem creating an unique ID number
The student ID number is unique - it replaces using social security numbers. So the club member ID is a different number than the student ID number but once the club member ID is assigned it needs to always be linked to the same student ID number. And
yes I wondered why they needed another unique identifier but not for me to question but make it work if possible.
Sorry, but I would go back to "them" and ask them if they want you to design this database or do they want to do it.
I have a few mantras when it comes to designing databases for others.
One of those mantras is: USERS DONOT
DICTATE TABLE DESIGN! People usually assign the task of designing a database to someone based on their knowledge of the process.
So why would they tell you how to do your job? If they already have a unique identifier that is assigned to each student,
there is NO need for any other identifier.
Its superfluous and dangerous.
If they can explain to you why it makes sense to use different numbers, then what you do is have a club membership table with a foreign key of StudentID.
Hope this helps, Scott<> P.S.
Please post a response to let us know whether our answer helped or not.
Microsoft Access MVP 2010 Blog: http://scottgem.spaces.live.com/blog Author: Microsoft Office Access 2007 VBA Technical Editor for: Special Edition Using Microsoft
Access 2007 and Access 2007 Forms, Reports and Queries
Don't Download Malware
Where are you getting the download?
There are malicious people who download valid copies of a popular download, modify the file with malicious software, and then upload the file with the same name. Make sure you are downloading from the developer's web page or a reputable company.
Cancel or deny any automatic download
Some sites may automatically try start a download or give the appearance that something needs to be installed or updated before the site or video can be seen. Never accept or install anything from any site unless you know what is downloading.
Avoid advertisements on download pages
To help make money and pay for the bandwidth costs of supplying free the software, the final download page may have ads. Watch out for anything that looks like advertisements on the download page. Many advertisers try to trick viewers into clicking an ad with phrases like "Download Now", "Start Download", or "Continue" and that ad may open a separate download.
Recommended Method to Repair the Problem: creating an unique ID number:
How to Fix creating an unique ID number with SmartPCFixer?
1. Click the button to download Error Fixer . Install it on your system. Run it, and it will scan your computer. The junk files will be shown in the list.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been fixed. You can also use other functions in this software. Like dll downloading, junk file cleaning and print spooler error repair.
Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.188.8.131.5286,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.184.108.40.2060,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.220.127.116.119,Method to Update & Download ASUS K41VD Intel INF Update Driver v.18.104.22.1685,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Fast Solution to Problem: Converting percentages into whole numbers,How Can You Fix - Cumulative Security Update for Internet Explorer 8 for Windows 7 (KB2722913) and Windows 7 Service Pack 1 (KB976932) not able to be installed?,Solution to Error: Creating an invitation,Credit Card Information Tech Support,Creating a series of "Buttons" to switch between sheets [Anwsered],Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly