Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2006
    Posts
    7

    Unanswered: can someone guide me?

    This is what i got as an answer on trying to create a warning that one has entered a dupicate..rather than using indexing...


    if dcount("fieldNameInTable", "nameOfTable", "fieldNameInTable = " & me.NameOfTextbox) > 0 then
    msgbox "Dupes not allowed", vbexclamation, "FIX IT!"
    me.NameOfTextbox.setfocus

    I dunno how to enter this..i get to expression builder..and get stuck..

    what do i get stuck on...
    me.NameofTextbox

    I dunno what i'm supposed to enter...

  2. #2
    Join Date
    Dec 2006
    Posts
    7
    Forgot To Add That Was Told To Put It In _lostfocus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •