# QR code to update database

**URL:** <https://forum.adalo.com/t/qr-code-to-update-database/5749>\
**Category:** Get Help\
**Created:** [November 8, 2020, 10:13pm UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749 "2020-11-08T22:13:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Weflow](https://avatars.discourse-cdn.com/v4/letter/w/ebca7d/32.png) [@Weflow](https://forum.adalo.com/u/Weflow)\
**Post date:** [November 8, 2020, 10:13pm UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/1 "2020-11-08T22:13:30Z")

</div>

Hola!

Could someone please explain how I can get the QR scanner to update/create/delete a record?

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 9, 2020, 9:51am UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/2 "2020-11-09T09:51:54Z")

</div>

Hi @Weflow,

Welcome to the forums!

There is an option “Actions when a QR Code is Scanned” for this component. You can add an action, and get the data from QR Code Scanner (there are 2 available properties, Data and Encoded Data).  
Here is the screenshot:

 ![Screenshot 2020-11-09 at 12.51.05](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/1/11aa53ba7041924dff22348f57fb70785a09f553.png)

---

<div class="post-metadata">

**Author:** ![Weflow](https://avatars.discourse-cdn.com/v4/letter/w/ebca7d/32.png) [@Weflow](https://forum.adalo.com/u/Weflow)\
**Post date:** [November 10, 2020, 1:16pm UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/3 "2020-11-10T13:16:35Z")

</div>

Thank you for replying @Victor 😃

The only option I get is to create a new record. What I want to achieve is a scanner for a rental management system, where the items are being added to an order. Do you know if this is possible to do?

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 11, 2020, 9:26am UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/4 "2020-11-11T09:26:59Z")

</div>

Hi @Weflow,

From my point of view that is possible, I don’t see any roadblocks here.

Available actions on the page depend on the data which is available. For example, if you set up a list of some items on a previous screen, add a button to the list, and add an action linking to the scanner screen - you’ll be able to _update_ the selected item with scanner.

From data access perspective scanner doesn’t change anything - it is just yet another method to input data into the collections.

Hope this helps 🙂

Best regards, Victor.

---

<div class="post-metadata">

**Author:** ![erik.lindquist](https://avatars.discourse-cdn.com/v4/letter/e/ebca7d/32.png) [@erik.lindquist](https://forum.adalo.com/u/erik.lindquist)\
**Post date:** [November 18, 2020, 8:31pm UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/5 "2020-11-18T20:31:09Z")

</div>

Dumb question. But I installed the QR Scanner and it does not actually trigger the camera to scan a QR code. What exactly does it do???

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 19, 2020, 10:59am UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/6 "2020-11-19T10:59:31Z")

</div>

Hi @erik.lindquist,

QR Code Scanner works only in native apps, not PWA.

If you tested it in a Native app and it doesn’t work - then probably it’s a good idea to submit a support ticket here [Submit a Support Ticket](https://info.adalo.com/submit-a-support-ticket) with a problem description, phone model and OS version.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [November 29, 2020, 10:59am UTC](https://forum.adalo.com/t/qr-code-to-update-database/5749/7 "2020-11-29T10:59:33Z")

</div>

Closed on November 29, 2020, 10:59am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
