Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
nigel  
#1 Posted : Wednesday, February 6, 2019 10:39:53 PM(UTC)
nigel

Rank: Advanced Member

Groups: Registered
Joined: 1/20/2017(UTC)
Posts: 59
United Kingdom
Location: sussex

Thanks: 1 times
Is there an example, or can you supply the code, to finding a specific record in persistent data and updating certain values.
eg 2 records with unique identifiers 1 and 2 and another field called name. I then need to find the record with ui 2 and update the name value to "abc".
something like. Select record where ui = 2 and replace name with "abc".
I appreciate with an sql database this is easily possible but I need to do this with persistent data on the client.
Thanks
Nigel
bbv  
#2 Posted : Thursday, February 7, 2019 1:44:53 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 498

Was thanked: 88 time(s) in 88 post(s)
MobileTogether comes with zillions of samples, tutorials, documentation, many demonstrating exactly what you want

Without seeing your structure, this will be something like this:

Update Node(s): $DBDATA/DB/RowSet/Row[ @ID = 1 ]/@Name
with Result of: 'abc'
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.