If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
forms in access
I am setting up a database of individuals- I have set up a form to do this
and I want to know how to prevent if more than one form is completed for the same individual in error- possible to set up a dialog box to warn me of a duplicate record? |
#2
|
|||
|
|||
forms in access
Check this link if the sample answer your question
http://www.databasedev.co.uk/duplicates.html -- \\// Live Long and Prosper \\// BS"D "prav_123" wrote: I am setting up a database of individuals- I have set up a form to do this and I want to know how to prevent if more than one form is completed for the same individual in error- possible to set up a dialog box to warn me of a duplicate record? |
#3
|
|||
|
|||
forms in access
Thank you for sending me code details (student job outcome results)to prevent
duplication- this is basically what I really need.HoweverI do not have the equivalent of a student number- I was hoping to use date of birth and surname as parameters;this would not be foolproof but it would serve my needs- how do you introduce more than one parameter in the code and how isthe code linked to the forms/table - I am a real novice.Please help.Thanks.I have tried to substitute student number with date of birth but it has not worked. "prav_123" wrote: I am setting up a database of individuals- I have set up a form to do this and I want to know how to prevent if more than one form is completed for the same individual in error- possible to set up a dialog box to warn me of a duplicate record? |
#4
|
|||
|
|||
forms in access
If that the criteria you have in the sample
stLinkCriteria = "[strStudentNumber]=" & "'" & SID & "'" To match it to your needs, try something like stLinkCriteria = "[SurName]='" & Me.[SurName] & "' And [DateOfBirthField]=#" & Me.[DateOfBirth] & "#" But you must consider the fact that there might be more the one surname that was born in the same date. -- \\// Live Long and Prosper \\// BS"D "prav_123" wrote: Thank you for sending me code details (student job outcome results)to prevent duplication- this is basically what I really need.HoweverI do not have the equivalent of a student number- I was hoping to use date of birth and surname as parameters;this would not be foolproof but it would serve my needs- how do you introduce more than one parameter in the code and how isthe code linked to the forms/table - I am a real novice.Please help.Thanks.I have tried to substitute student number with date of birth but it has not worked. "prav_123" wrote: I am setting up a database of individuals- I have set up a form to do this and I want to know how to prevent if more than one form is completed for the same individual in error- possible to set up a dialog box to warn me of a duplicate record? |
#5
|
|||
|
|||
forms in access
On Sun, 5 Mar 2006 10:08:21 -0800, prav_123
wrote: I was hoping to use date of birth and surname as parameters Just hope you never have twins enrol. John W. Vinson[MVP] |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Why is a French Spellchecker a "required" update for English speak | French Spellcheck Required? | General Discussion | 23 | April 26th, 2005 01:17 AM |
What is the difference between 2002 and 2003? | Red Sonya | General Discussion | 2 | March 1st, 2005 05:10 AM |
is Access 2003 any better than XP? | Gorb | General Discussion | 4 | November 11th, 2004 09:44 PM |
is Access 2003 any better than XP? | Gorb | Using Forms | 2 | November 11th, 2004 09:20 AM |