Results 1 to 4 of 4
  1. #1
    torpid is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    10

    IDCard Scanner substring

    Hi guys,


    I'm attempting to build a small simple access database, where a student swipes their ID card and it registers that they have signed in to school. Unfortunately the ID number the card gives has tags in it, for example, at the start and end of the ID number, the card has a '?' to delimit the characters. My question is, how can I put some code in to ignore the first question mark and on the last question mark, ignore the character, and then press 'enter' to be ready for the next student.
    Thanks for any help

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    How about Replace([YourControl],"?","")

  3. #3
    torpid is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    10
    Hey RG, thank you. I figured it out with that help. All done. Thanks
    Last edited by torpid; 05-29-2011 at 11:38 PM.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Great! Thanks for posting back with your success.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Barcode scanner for small project
    By miziri in forum Programming
    Replies: 7
    Last Post: 05-20-2011, 01:50 AM
  2. Replies: 1
    Last Post: 12-30-2008, 08:58 PM
  3. Filtering using a Substring Help
    By r_walk76 in forum Forms
    Replies: 2
    Last Post: 01-11-2006, 07:13 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums