Can a barcode search open the found record in edit mode?

76 views
Skip to first unread message

Scott H

unread,
Jul 13, 2026, 1:25:47 AM (10 days ago) Jul 13
to mementodatabase
I use Memento for stocktake once a year. Perhaps things have changed? I'm sure it used to open the record after a search in to edit mode? I use the iOS app. Seems like I have to do more 'clicks' now to edit records. Cheers.

Er Mo

unread,
Jul 13, 2026, 3:11:03 PM (9 days ago) Jul 13
to mementodatabase
Hallo
In der Android Version kann in der Bibliothek eingestellt werden was basieren soll wenn man auf einen Eintrag klickt ( Öffnen oder Bearbeiten ) .

Hello
In the Android version, you can set in the library what should happen when you click on an entry (Open or Edit).

Ernst

David Gilmore

unread,
Jul 14, 2026, 11:00:13 AM (8 days ago) Jul 14
to mementodatabase
I have noticed this as well with other searching types. For whatever reason, I think it was designed that way. It would be nice not to have that additonal click to get to the Edit screen.

Unfortunately, the developer does not always monitor this forum, A new feature suggestion like this needs to be sent to him directly (sup...@mementodatabase.com).

Scott H

unread,
Jul 15, 2026, 2:17:11 AM (8 days ago) Jul 15
to mementodatabase
Thanks for the reply. Yes, I've found there are a few differences between Android and iOS. I'm using iOS. I'm trying to save some clicks. I don't think you can open into edit using iOS. And I couldn't make a script to do it either. See if you can make this quicker;

I need to scan the barcodes of all our wine barrels (1,300) to compare against our wine software. I download the barrel data, then import into Memento.

My work flow per barrel is; [tap the barcode search button], [tap search], -scan the barrel and the record is found - [tap the record to view the card], [tap edit], [tap 'correct'], [tap 'found'], [tap save], [tap back]

Eight clicks per barrel. Would be great if the barcode search button opened the camera straight away, rather than require a second tap, and also to open in edit from card view. If it could be in edit at this point, I could also write a script to update the two fields I want. 99% of the barrels are correct. The very act of successfully scanning the barcode verifies the barrel exists. I would love to be able to update the record from a successful scan.

Anyway, I wasted quite a bit of time with Claude trying to come up with a solution but gave up in the end and just spent a lot of time tapping my phone!

Cheers,
Scott

Mmm

unread,
Jul 15, 2026, 6:16:14 AM (7 days ago) Jul 15
to mementodatabase
У меня нет возможности проверять работоспособность скриптов в iOS.

Простой вариант решения:
1. Дополнительная контрольная библиотека со скриптами для поиска записи в базе. Результат поиска сохраняется в поле 'status'.
2. На складе создаете новую запись в контрольной библиотеке с помощью сканера.
3. Если в базе найдена одна запись, то она автоматически открывается (на Андроид работает).
4. Выполните сверку с карточкой бочки в базе и переходите к сканированию следующей бочки в контрольной библиотеке.
5. Контрольная библиотека может быть сохранена, как список проверенных бочек на складе (акт сверки). 

В случае, если метод show() не работает в iOS, то можно усложнить скрипт и вместо открытия записи в базе открывать окно dialog() с основной информацией о бочке и чекбоксами 'correct', 'found'.
Требуется доработка.

Контейнер с шаблонами тестовых библиотек в каталоге шаблонов:

среда, 15 июля 2026 г. в 09:17:11 UTC+3, sk0...@gmail.com:
IC__15072026.jpg

Mmm

unread,
Jul 15, 2026, 6:30:12 AM (7 days ago) Jul 15
to mementodatabase
Пропустил...
Добавьте в функцию openBarcode(ob) строку:

barrel.set('found', true);

перед строкой:

barrel.show();

среда, 15 июля 2026 г. в 13:16:14 UTC+3, Mmm:

David Gilmore

unread,
Jul 15, 2026, 10:33:57 AM (7 days ago) Jul 15
to mementodatabase
Another possibility: Even though you cannot open an entry in Edit mode, you can update said entry using a script. So you could write code for that routine that you are doing, and then initiate it with a single button press. So there would only be one click now.

Mmm

unread,
Jul 15, 2026, 12:02:56 PM (7 days ago) Jul 15
to mementodatabase
Автор упоминал, что сравнивает карточку бочки с карточкой в базе.
Результат отмечает в поле 'correct'.

Мой вариант предполагает 4 нажатия:
– сканировать (создание записи по скану),
– сохранить (автоматически откроется карточка записи, поле 'found' выбрано скриптом),
– после проверки карточки установить 'correct' (разрешить прямое редактирование поля в карточке записи);
– нажать назад.

среда, 15 июля 2026 г. в 17:33:57 UTC+3, aa6...@gmail.com:

Mmm

unread,
Jul 15, 2026, 3:00:53 PM (7 days ago) Jul 15
to mementodatabase
Вариант без дополнительной библиотеки с использованием скрипта действия.

Нажатия:
– запуск скрипта действие в библиотеке,
– сканирование штрихкода бочки (аргумент скрипта),
– подтверждение (если найдена одна запись, то карточка автоматически откроется, поле 'found' будет выбрано скриптом),
– после проверки карточки установить 'correct' (разрешить прямое редактирование поля в карточке записи);
– нажать назад.
 
Если записи не найдены – всплывающее сообщение.

Если найдено более одной записи:
– в каждой записи выбираются поля 'found' и 'duplicate', 
– всплывающее сообщение, записи не открываются,
– записи-дубликаты можно определить с помощью фильтра по полю 'duplicate'.

Дополнительный скрипт действие в библиотеке 'Reset results' сбрасывает значения полей 'correct', 'found', 'duplicate' для всех записей библиотеки. По умолчанию скрипт выключен.

В отличии от решения с контрольной библиотекой способ не позволяет отслеживать какие бочки проверены (отсканированы).

Шаблон библиотеки с примером в каталоге шаблонов:
среда, 15 июля 2026 г. в 19:02:56 UTC+3, Mmm:
Reply all
Reply to author
Forward
0 new messages