Solved

QR code on a report

Posted on 2014-09-25
5
199 Views
Last Modified: 2014-09-27
I have a report which contains 6 fields and I want to create a QR code on the report that has the information from all 6 fields.

How can I do this?

--Steve
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 12

Expert Comment

by:danishani
ID: 40344960
Do you mean concatenated string?

If so you can do something like this in either your query or in an unbound textbox of the report:
[Text1] & [Text2] & [Text3] & [Text4] & [Text5] & [Text6]

Is that what you are after?
0
 

Author Comment

by:SteveL13
ID: 40344973
Actually, the text fields are "stacked" one on top of another.  I want the QR code to look the same.
0
 
LVL 12

Expert Comment

by:danishani
ID: 40344984
I am not sure I understand. So you have the text fields stacked on top of another in your report, and you want them to have in one text field?

Maybe an example would help to give you better assistance.
0
 
LVL 25

Expert Comment

by:Ron Malmstead
ID: 40345028
You can use this executable to generate the code image from command line, using SHELL() in MsAccess.., based on a concatenated string of fields ..with a seperator, for example a comma.

http://code.google.com/p/qrencode-win32/downloads/list


..for example..
qrcode.exe -o test.png -s 5 -l H "John,Doe,800-867-9305,jdoe@gmail.com,12/12/1971"

You will have to know how to code in MsAccess, to both generate the image from shell command, and also insert the image onto the report.
1
 
LVL 50

Accepted Solution

by:
Gustav Brock earned 500 total points
ID: 40345517
All you need is to concatenate with a separator you can replace with a line feed when reading:

strQRToSend = Join(Array([Text1], [Text2], [Text3], [Text4], [Text5], [Text6]), ";")
 
Then to read and display:

strQR = <string received/decoded>

strQRStacked = Join(Split(strQR, ";"), vbCrLf)

/gustav
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question