Search results

  1. C

    Preventing duplicate entry in names in MS Access

    Hi Bob and Rainlover I have used the code which was posted earlier... and it did work perfectly well. However i wanted to take to next stage where the database after giving a message of duplicate entry I want the access to give me notification as: "Do you want to edit the duplicate entry or...
  2. C

    Preventing duplicate entry in names in MS Access

    Hi Bob , Paul and Rainlover Sorry have been studying which code can be used to solve this hence did not reply. Please see the code which i have used but it doesnt work.. :-( I know it may look a bit haywire but i read books and have tried getting this as i am coding nearly after a decade...
  3. C

    Preventing duplicate entry in names in MS Access

    Hi Bob for the above query i figured it out n its working fine... but then it does not allow me to view/edit if duplicate entry exits. Example If the entry is duplicate then View / Edit / Add new button should show and it should do that operation... Can you help me with this??? Is that...
  4. C

    Preventing duplicate entry in names in MS Access

    Hi Bob Now i am running into a silly error.. it does not involve coding, however I am sure I am making some mistake. Ok my question is when i enter data in form and save and then go to next form some fields such as age/occupation which i selected for the first customer is visible and if i...
  5. C

    Preventing duplicate entry in names in MS Access

    Dear Bob thanks a ton.... You are a true genius.. Wow.. the code that you suggested it did work... yeppieee... it working fine.... Thank you thank you thank you.. cant thank you enough.... :-) Other team members thank you for your suggestions as well.. However Bob's coding worked...
  6. C

    Preventing duplicate entry in names in MS Access

    Hi Paul Its getting complicated for me.. Not sure what I am suppose to do next.. sorry to bother u so much but unable to find solution... Grateful if you could help me in solving this..
  7. C

    Preventing duplicate entry in names in MS Access

    Hi Paul I cannot thank you enough for guiding me in this...:-) very grateful to you... I used Dcount and coding as suggested, however I am still facing errors as given below It gives an error as "you cancelled the previous operation" Would you be able to let me know why this occurs... Many...
  8. C

    Preventing duplicate entry in names in MS Access

    Hi Paul My code is as follows: Private Sub Ctl_Lname_BeforeUpdate(Cancel As Integer) Dim LName As Variant LName = DLookup("[txtLName]", "[txtLName]= '" & Me![LName] & "'" & " And " & "[txtFName] = " & Me![FName]) If Not IsNull(LName) Then Beep MsgBox "This name already exists in the...
  9. C

    Preventing duplicate entry in names in MS Access

    Hi Bob I have added the files for your reference. Do let me know how to proceed.. Please help me with coding while entering first name and last name.. basically it should prompt the user that the name is already existing, hence the user has 3 choices - to check if the data is same or not...
  10. C

    Preventing duplicate entry in names in MS Access

    Hi Team I am facing a problem - I want to stop duplicate entries from being entered on form. I have read through the thread , however I am totally confused as it seemed to be v high level complex queries. I am looking at: Preventing duplicate entries to be entered It should show an error...
Back
Top Bottom