Kinlene
asked on
Access Coding Question, Barcode Base 32 Compression
I am an intermediate MS Access 2007 user. I have dusted off an old project that I was working on and have run into some trouble with the "Mid" function. In the attached database I have an input box (txtinput) located in "frmPersonnalinformation" that decompresses a base 32 compression string into Social Security Number (SSN), and Electronic Identifier (EDI) using the "BtoB module" and it also formats several dates using the "DtoD module". The same string also has the first name, last name, and middle initial that is uncompressed. When I run the code (Mid) to parse out the text, nothing appears, and It should, based on the fact that I can get it to work in the query "qrypersonnalinformation". This database's basic function, allows employees to use their current ID card to sign in for accountability utilizing an existing PDF417 barcode. Their is more data in the string of text, however, I am working on just one part at a time. Any assistance you could provide will be greatly appreciated. Any other recommendations you could see to streamline my process would also be greatly appreciated.
Database1.accdb
Example-Strings-1-.txt
Database1.accdb
Example-Strings-1-.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In your example variables was not declared. Me.SSN means SSN field in current form. SSN means variable, which can be used later, but it was not used.
Sorry for Dim, it was beginning of other idea (write records directly to table and use your variables, but if you have form, it is not nessary). Delete these declarations.
Sorry for Dim, it was beginning of other idea (write records directly to table and use your variables, but if you have form, it is not nessary). Delete these declarations.
ASKER
Thanks
ASKER