473,396 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Card Reader interfacing an Access Database

I have an ID Innovation card reader that I am trying to connect to my
Access database. The first problem is that when I swipe the card
through the reader, it reads the id but it adds digits to the social
security number, thus the database doesn't recognize the id since it
wasn't put in the database with the additional digits.

Here is what it puts on the screen in the database::
;XXXXXXXXX=0229? The x's stand for the social security number - it
adds the semi colon at the beginning and the =0229? at the end. Why is
it doing this and how can I get it to just enter the social security
number or personal id?

Also, when we swipe the card, the folks would like a welcome screen to
pop up that says Welcome blah, blah Joe. I would need to have a query
set up to first seach for the id and then can I use a macro to push
the welcome message to the individual? I don't have any experience
writing vb.

The manual that came with the card reader doesn't help, the files that
I downloaded have information on them but I don't know what I don't
know here. Any help will be appreciated.
Cherry
Nov 12 '05 #1
3 9997
Ello, Sherry.
1. data format (;XXXXXXXXX=0229) you receive from the card reader is how they
programmed the card reader. You, as a interface programmer, need to extract the
right data from the data you received.
2. Since you mentioned VB, you can use 'mscom' controll to receive the same
data. Then, use 'mid(string,start,end)' function to extract the data you want.
3. Use this new string to interact with access database
4. Pop up screen is also simple to generate. Look in the key word 'show' in
help. show is to show the form to the screen.

Let me know if you need more information.

Phillip Kim
"Cherry" <cd******@purdue.edu> wrote in message
news:ba**************************@posting.google.c om...
I have an ID Innovation card reader that I am trying to connect to my
Access database. The first problem is that when I swipe the card
through the reader, it reads the id but it adds digits to the social
security number, thus the database doesn't recognize the id since it
wasn't put in the database with the additional digits.

Here is what it puts on the screen in the database::
;XXXXXXXXX=0229? The x's stand for the social security number - it
adds the semi colon at the beginning and the =0229? at the end. Why is
it doing this and how can I get it to just enter the social security
number or personal id?

Also, when we swipe the card, the folks would like a welcome screen to
pop up that says Welcome blah, blah Joe. I would need to have a query
set up to first seach for the id and then can I use a macro to push
the welcome message to the individual? I don't have any experience
writing vb.

The manual that came with the card reader doesn't help, the files that
I downloaded have information on them but I don't know what I don't
know here. Any help will be appreciated.
Cherry

Nov 12 '05 #2
C D
Phillip,

You say that I need to extract the data using string function to pull
out just the numbers that I need.
Where do I put this string? on got focus on the bound control?
The message that I want to pop up once they are logged on I believe will
need something like an if then set up but I don't know how to do that. I
don't know what the mscom control is that you refer to. I have done
years of basic stuff with Access but this is beyond my skill sets.
Thanks for your help. At least now I know it isn't doing anything wrong.
CL

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
Hello, Sherry.
1. Do you want to VB as front end application and Access as back end database?
2. If this is the case, you need to learn the basics of VB. About a week will do
the job.
3. Try to look in 'creating a form', 'show form', 'hide form', 'text box',
'label', 'command', 'mscomm','string funcition (Left, Right, Mid, Trim)',
'activeX data control'...
4. Since Access does not have serial communication control, you need to use VB
(mscomm control) instead.
5. By the way, how did you receive data from card reader?
6. Assign string to global variable so that you can use it to retrive data from
access table.
7. Create a form with one label and a command button.
8. When card reader send you a data, use mscomm and string function to extract
data, then use this data (social security) to retrive information from access
table and display to the form.
I hope this helps little.

Phillip Kim

"C D" <cd@yahoo.com> wrote in message
news:3f*********************@news.frii.net...
Phillip,

You say that I need to extract the data using string function to pull
out just the numbers that I need.
Where do I put this string? on got focus on the bound control?
The message that I want to pop up once they are logged on I believe will
need something like an if then set up but I don't know how to do that. I
don't know what the mscom control is that you refer to. I have done
years of basic stuff with Access but this is beyond my skill sets.
Thanks for your help. At least now I know it isn't doing anything wrong.
CL

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Billy Jacobs | last post by:
I have the following scenario. 1. I have a client-server application. 2. The server is running a service application. 3. The client sends and receives information to the service application...
3
by: Tricky-Ft | last post by:
Hi, i work in a security company, and i've to make a software which allows user to control access of people to a military restricted area . the database etc isn't a problem for me but i would...
4
by: Lumpierbritches | last post by:
Thank you for all your help and assistance, it's greatly appreciated. Is there a way in Access, any version to capture the mag stripe information and place in appropriate textboxes? i.e. Lastname,...
3
by: Frank | last post by:
I'm trying to access my database of records via a mag stripe reader. I've created a querry that prompts me to enter a number. I thought that I might just swipe the mag stripe and the appropriate...
4
by: Jerry Camel | last post by:
I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works great, except for the fact that no matter what field...
12
by: Jerry Camel | last post by:
Not sure if this is a good place to post this... I'm writing and ASP.net app using vb .net. I need to interact with a credit card reader. I have one that sits inline with the keyboard. Works...
0
by: Simon Verona | last post by:
I'm starting to look to develop an interface to a smart card reader (to read/write the credit card style cards with a chip installed). I want this to be device independent so looking at the...
1
by: etalon25 | last post by:
Hi! I have a card reader hooked to a usb drive, and I need help on how to create a windows form with texboxes that would get the data from a card when it gets swiped in the card reader. Right now it...
1
by: Robin Jain | last post by:
Hii I am using VB.Net 2005 I have some query which are as follow 1--How to find out that in which usb port my magnetic card reader is Connected ???? 2--How to get usb port number when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.