# DVL to start each new session at the last position that was clicked in the previous one

**URL:** <https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646>\
**Category:** Questions about Thunkable X\
**Created:** [January 25, 2022, 3:32pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646 "2022-01-25T15:32:56Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 8, 2022, 7:31pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/61 "2022-05-08T19:31:09Z")

</div>

> [@similar2similar](#):
>
> I got this in my computer:

This is correct. This means there is only **one single row**. Please do not try to remove it.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 8, 2022, 7:32pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/62 "2022-05-08T19:32:38Z")

</div>

I can get this  
 ![CapturaTempB](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/5/651d22f34a4d80231ce9c108d0af16764e992270.png)  
but I cannot write the N, because it creates a new row

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 8, 2022, 7:34pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/63 "2022-05-08T19:34:00Z")

</div>

Do not change anything in the project. Nor even try to change the contents of the tables.

Run it as is without the slightest change.

Once you remix it just run it without any kind of change otherwise it will be difficult to debug. We have to start both with the same and exact project.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 8, 2022, 7:37pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/64 "2022-05-08T19:37:58Z")

</div>

So what doi I do, do I write the N in the Temp file, with the second row with nothing, ok?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 8, 2022, 7:39pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/65 "2022-05-08T19:39:36Z")

</div>

> [@similar2similar](#):
>
> with the second row with nothing, ok?

Leave it as is. The project is already setup to work out of the box.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 8, 2022, 7:43pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/66 "2022-05-08T19:43:39Z")

</div>

> [@muneer](#):
>
> The project is already setup to work out of the box.

OK

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 8, 2022, 7:46pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/67 "2022-05-08T19:46:00Z")

</div>

![Capturatemp](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/7/7789a7a901ff0b051fbf45e031cb3c86db2765d9.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 8, 2022, 7:47pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/68 "2022-05-08T19:47:12Z")

</div>

Yes, Leave it this way. This is what it should be.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 9:20am UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/69 "2022-05-09T09:20:09Z")

</div>

@ muneer  
Hi, Muneer

 ![Captura working](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b9a51ef47a609d1b37cc651fdf084c2b94fa838.png)  
Now this is working, and it re starts in the previous position, so the main problem is solved!!! Thanks.  
But it always takes the first answer, so it doesn’t shuffle

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 9:58am UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/70 "2022-05-09T09:58:24Z")

</div>

Could the answers be in a button format?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 9, 2022, 5:46pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/71 "2022-05-09T17:46:00Z")

</div>

> [@similar2similar](#):
>
> it always takes the first answer, so it doesn’t shuffle

Did you use the check answer button?

> [@similar2similar](#):
>
> answers be in a button format

This just my test layout. You can make your own layout to be anything you want.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 6:02pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/72 "2022-05-09T18:02:07Z")

</div>

Hi, yes, I used the check answer button, but always the first answer is the correct.  
You told me not to change anything, so I’m waiting to know what can I do

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 9, 2022, 7:19pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/73 "2022-05-09T19:19:55Z")

</div>

> [@similar2similar](#):
>
> but always the first answer is the correct.

Yes, I removed the shuffling. It does not make any sense to save the correct answer as the first answer all the time if you have a column in your table for the `correct answer`.

If you think the changes I made solves your problem and you still want to add the shuffling then do it.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 7:46pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/74 "2022-05-09T19:46:25Z")

</div>

So can I try to make changes?  
About the shuffle thing, as you can see the exercise is supposed to be a multiple choice one, so the choices should be moving places, and not being in the same first place.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 9, 2022, 8:02pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/75 "2022-05-09T20:02:45Z")

</div>

> [@similar2similar](#):
>
> So can I try to make changes?

If you are satisfied with my changes and now you want to add your own changes then yes go ahead.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 8:12pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/76 "2022-05-09T20:12:41Z")

</div>

@ muneer  
I am very grateful and happy with the changes, but you had warned me not to change anything, not even the data in the files, and of course, I have to make some changes, and I don’t know if they will work without breaking it

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 9, 2022, 8:17pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/77 "2022-05-09T20:17:59Z")

</div>

Thank you.

For the issue of 4 choices. In my thinking, and I could be wrong, I will never save the data such that the first choice is always the correct choice. Why would I do that if I already have a column in the table called `correct answer`. I will save the correct answer randomly in one of the 4 columns because I have the `correct answer` column to compare with and find out.

Depending on the code to randomize is just a coding burden.

Again, this is my opinion only.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 9, 2022, 8:46pm UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/78 "2022-05-09T20:46:58Z")

</div>

> [@muneer](#):
>
> I will never save the data such that the first choice is always the correct choice

But if you use the program, you will see that this is exactly what happens

 ![Capturasiempre2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82c1907d3a583b8b5e18c1a1f91e9502e4e40cba.png)  
 ![Capturasiempre1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/5/9524d903441c09950e1c41766fe245dd473fa3bc.png)

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 10, 2022, 3:49am UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/79 "2022-05-10T03:49:39Z")

</div>

> [@similar2similar](#):
>
> this is exactly what happens

My dear friend,  
I believe you are missing the point I’m trying to make.

The screen shows the data exactly as it is saved in the table. So, if you have saved the answers in the table randomly, the screen would show them randomly. As of now, the screen shows the first answer as the correct answer simply because this is how it is saved in the table.

You have the control to save it differently but you opted this way and because of this choice you now have to use a way to randomize it (extra work due to bad planning).

Hope I conveyed my point clearly.

---

<div class="post-metadata">

**Author:** ![similar2similar](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@similar2similar](https://community.thunkable.com/u/similar2similar)\
**Post date:** [May 10, 2022, 9:34am UTC](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646/80 "2022-05-10T09:34:50Z")

</div>

@ muneer  
Hello Muneer, good morning.  
Surely I made a mistake when I sent you the file that I wanted you to help me improve - work. It should have included something like this, just to do the shuffling:

 ![Captura randomize](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/0717a615435f66c27da3d41c8b68afd6629b7922.png)

I have to improve that issue, and some other little thing: The program starts at row 0, so it returns Null

 ![Captura row 0](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/71b2a585d4ef65aeb03efde48f1b95c0ed56a7a6.png)  
Also, that Label is to check the operation, but if I try to remove it, it gives me an error again.  
Anything I want to change gives me errors, and as you said, I need you to be with me every step of the way. For example, can we make the text of answers 1-4 a little bigger and more attractive? Perhaps they are small aesthetic things, but they are also relatively important.

[Previous page](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646.md?page=3)

[Next page](https://community.thunkable.com/t/dvl-to-start-each-new-session-at-the-last-position-that-was-clicked-in-the-previous-one/1694646.md?page=5)
