Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Access
3rdpartyusrgrp
access
activexcontrol
adp.sqlserver
commandbarsui
conversion
dataaccess.pages
developers.toolkitode
devtoolkits
externaldata
forms
formscoding
gettingstarted
internet
interopoledde
macros
modulescoding
modulesdaovba
modulesdaovba.ado
multiuser
odbcclientsvr
queries
replication
reports
security
setupconfig
tablesdbdesign
  
 
date: Mon, 15 Sep 2008 12:48:02 -0700,    group: microsoft.public.access.gettingstarted        back       


RE: Do not allow duplicate SID   
>>I cannot setup SID as a primary key as the table also has some potential 
students who do not have SID yet.
You could set an index for the table allowing nulls but not duplicates.
-- 
KARL DEWEY
Build a little - Test a little


"Song Su" wrote:

> I have a form that user often carelessly entered duplicate SID (student ID, 
> text type). I cannot setup SID as a primary key as the table also has some 
> potential students who do not have SID yet.
> 
> I want the form to pop up, when duplicate SID entered, a window saying that 
> SID already exist. Click OK to jump to that record, or Cancel to stay in 
> this record, not saved. 
>
date: Mon, 15 Sep 2008 12:48:02 -0700   author:   KARL DEWEY

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us