Memento Database Desktop Beta 1.9.5 - Table view

122 views
Skip to first unread message

admin

unread,
Oct 8, 2020, 9:51:23 PM10/8/20
to mementodatabase
Hello everyone!

A table view with the ability to edit records is now available in the Desktop version.

You will be interested if you are using scripts:
A new event type for the triggers has been added to execute scripts after changing fields in a table - "Updating a field". In addition, this event is executed after change a field directly from the list of entries.   
The global function field() allows receiving the edited field. This function returns a Field object, that has the next properties:
field().title - The name of the edited field.
field().value - Get the value of the edited field.
Also, It is possible to change the value of the edited field:
field().value = 'newValue'

Hope you find this new feature useful.

Best regards, Vasily Egorov

Ernst Moser

unread,
Oct 9, 2020, 2:40:41 PM10/9/20
to mementodatabase
Hallo
Habe die PC Version ( 1.9.5 b)getestet und mir gefählt die " Tabellen ansicht " . Kann man in der " Tabellenansicht " das 3 Fenster ( für Datenbearbeitung ) ausblenten ?

Hello
I tested the PC version (1.9.5 b) and liked the "table view". Can you hide the 3rd window (for data processing) in the "table view"?

Jimmy Josefsson

unread,
Oct 9, 2020, 4:41:12 PM10/9/20
to mementodatabase
Hello

After testing this new trigger, i feel like I'm missing the ability to access the old value of the field.
I think it would be nice if something that returns the value of the field before it was changed could also be implemented.
Maybe field().oldValue?

Bill Crews

unread,
Oct 9, 2020, 6:00:30 PM10/9/20
to Jimmy Josefsson, mementodatabase
Does this have anything the do with Release 1.9.5 or the table view?

In general, a previousValue property might be nice, with null returned for the initial case. However, it might be even nicer to have it as a part of a general Undo, Revert, or entry Versioning facility, though that can be difficult in a multiuser environment.

--
You received this message because you are subscribed to the Google Groups "mementodatabase" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mementodataba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mementodatabase/f70c1c58-7c66-4062-81a0-5d101e840119n%40googlegroups.com.

Amundsf

unread,
Oct 11, 2020, 6:27:26 AM10/11/20
to mementodatabase
Jimmy: I guess you can work around this as I do in another system:
- Use some of the 'opening a entry view/edit card' triggers to fetch the value
- In the other system I then store the value in a variable in the memory - that would be a nice feature also in Memento. I guess you today would need to add a field to save the old value?
- Then you can use the old value in the new trigger 'updating a field'
Reply all
Reply to author
Forward
0 new messages