What is wrong in my code?

wouldn't that display the no. of steps of the current time when i want to see the steps which i had previously saved

You missed:

1 Like

how to do that ?

Did you check TinyDB blocks?
image

1 Like

yes, i checked it.... so what should i put in the tag block space

The tag you want to get value from.
I believe you have already loaded tags in ListView.

1 Like

yes

so should i put listview1.elements here in tag blockspace

No, wait till user selects a tag which will be returned in ListView1.Selection.

1 Like

when i put listview1.selection

Data not found comes

Have you selected any tag from listview before clicking button?

1 Like

yes, when i click, nothing comes, it just turns grey but when i click save record button, the latest date steps are shown

What if you move the selected part under ListView1.AfterPicking event?
image
Now first click the button and then select an item from listview.

1 Like

image
there is no option for after picking

It's not a set value block, it's a procedure (just like Button.Click).

oh ohk i will do that

You know about event, function and property. Right? :roll_eyes:

1 Like

yes i know that... it is compiling :joy:

it is showing data not found @Nishyanth_Kumar @vknow360

Pls reply ASAP

I'm not an expert in TinyDB, so you'll have to wait for the Power Users to respond...

ohk i will wait then :frowning: