# Search box is not putting Searched Data into Google Sheet

**URL:** https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [May 29, 2022, 1:36pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944 "2022-05-29T13:36:39Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [May 29, 2022, 1:36pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/1 "2022-05-29T13:36:39Z")

</div>

Hi, based on previous projects, I have tried to create a screen which would search across 3 columns in my Google Sheet for any textstring entered into the App’s Search Box (see below)

 ![Airc_ICAO_App_Screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/7/37b0dc0f48897e2dca62e12528380af254bf107e.png)

I have concatenated columns " **MANUFACTURER**", " **MODEL**" & " **CODE**" into column " **SEARCH1**"

I have done this so when a textstring is entered into the App’s **Search** box by the user, the textstring is also be consequentially entered into the GSheet cell ( **MANUCONTENT!H3** ). But this is not happening. (Image below)

 ![Airc_ICAO_GSheet_Search_Box_Empty](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bc0f7a655acd3629e6d8ea74c9a29c23f80ab506.png)

I cannot see anything wrong in my blocks ( below) but I know I have missed something.

 ![Airc_ICAO_Blocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/a/fa7d3459fb0ff1741c5afa0ef69263ac12ce1f55.png)

Below is what is supposed to happen…!

 ![Airc_ICAO_App_Screen_Populated](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/b/1bcc981a53babf7875da5e48f73448b09f495ff0.png)

Then the textstring should appear in the GSheet…

 ![Airc_ICAO_GSheet_Search_Box_Populated](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/0/a082604cdf49fa9c3ef7660a51c713fa885c81e4.png)

…which will then filter and return the GSheet values from **MANUCONTENT!A3:H** to the DVL ( **Aircraft\_ICAO\_DVL** ).

I have also previously tried using a **List Viewer** but the DVL, for me, feels to be the right solution for my requirements.

Could someone kindly glance over my problem as I am now suffering with “Block Blindness”.

**The project is on my " AircICAOCodeSreen "**

Here is the link to my project:

[https://x.thunkable.com/copy/c3beaf478c7d8f0b7d03b0a89ebe9bf4](https://x.thunkable.com/copy/c3beaf478c7d8f0b7d03b0a89ebe9bf4)

Best regards,

Andos.

---

<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 29, 2022, 2:34pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/2 "2022-05-29T14:34:40Z")

</div>

I have an old project doing a similar that I just tried it and it worked fine.

[https://x.thunkable.com/projectPage/629382f4ba6f1b0012cf088d](https://x.thunkable.com/projectPage/629382f4ba6f1b0012cf088d)

It works with this Google sheet

> **[myList](https://docs.google.com/spreadsheets/d/1qWsz-UobNXvjznJo6d6Vihr_yjGzcCrULeGtEesVZVU/edit?usp=sharing)**
>
> Sheet1
> 
> numbers,names
> 11,Muneer,2
> 22,ali-raj
> 33,benoit
> 44,alex
> 47,John
> 98,mark

---

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [May 29, 2022, 3:15pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/3 "2022-05-29T15:15:29Z")

</div>

Hi @muneer, that fixed that problem See blocks…!

 ![App-AircICAOEntryMade](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/6/26f23d10e127653335132726a8919185001e2a45.png)

GSheet Entry

 ![GSheet-EntryRcvd](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1fafebb1b633583109f5cc0ab6e06da846cff8c1.png)

However, I have now discovered that the DVL results are not showing on the App Screen. 😔

My DVL on Design page is set to “visible” (below) and my visibilty in my blocks appear to be ok.

 ![Airc_ICAO_DVL_set to visible](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/e/bee23aed8bca4480e5a1af33eaa87a46f62f7d9f.png)

My blocks

 ![Airc_ICAO_Amended_Blocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a387c6eac19ef4495d30f12e796784253be51cb7.png)

All my bindings are correct

 ![Airc_ICAO_Bindings_OK](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/7/571d54c4cb76c611438795f1433114cd1693fd1c.png)

…but my App screen is still blank

 ![aIRC_icao_NO_DVL](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/1/e15496f795cfcad3dc33d8b5a65c469539b1bcad.png)

What am I not seeing?

Best regards,

Andos.

---

<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 29, 2022, 7:30pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/4 "2022-05-29T19:30:35Z")

</div>

You need to check if your DVL is actually bound to the correct Data Source connection.

There are things that you need to consider there.

- If you have disconnected your Google sheet and reconnect it again then you need to reselect the data source in the DVL and rebind all columns.
- If you make a copy of your project and then used a share link to get a copy of the project then all Data Sources will change to local and you have to reconnect again.
- If you change in the custom layout design of the DVL then you need to reconnect again.

---

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [May 29, 2022, 10:15pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/5 "2022-05-29T22:15:50Z")

</div>

Hi @muneer, I have disconnected and then reconnected the DVL bindings after re-“syncing” the Source Data. But it still didn’t work so I replaced the variable blocks: text input blocks; and then the DVL blocks and then I finally started seeing the DVL on the App Screen. But, now the app is not returning the filtered data from the GSheet to the App Screen it is just returning the unfiltered data instead. However, the data in the GSheet is filtered. See below:

**Opening Screen**

 ![App_Airc_ICAO_opening Screen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/e/4e9014e2321fce7578d2d19d1507249115c07725.png)

But no data was present on the GSheet.

 ![GSheet-N0_Data_present](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/8/78e5e78ccb68dbe12ffbddc782d2a64ce580584a.png)

I quickly realised that after re-binding the GSheet I hadn’t changed the Source Data to **MANUCONTENT**.

Once that was rectified, I found the Search box in the App was no longer writing to the GSheet.

I then proceeded to recreate all of my blocks and now I am back where I started but now even more confused than before!

Why would this happen if I started again with all new blocks and Source refresh and using the rectified/ amended blocks?

This is the current state of my " **AircICAOCodeScreen** setup below. Can you see anything wrong with it?

**Current opening Screen**

 ![AircICAO-Opening Screen2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82b7ec1c85baf6f280b996f6e3e7ea49524906e6.png)

**Again not writing Search textstring to GSheet cell "H3"**

 ![Empty GSheet-ICAO Aircraft](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/f/cf8298b77e7a4f864796be8b607bdb5b5943ac4e.png)

**My current blocks**

 ![Airc-ICAO-Current blocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/b/cb997ff10089c0d32366a6d6014070ebedc81422.png)

Also, shouldn’t the " **When the ICAOAircraftText\_Input changes** block be used?

This project is very important to my App as it is for providing Reference Data.

Best regards,

Andos.

---

<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 30, 2022, 4:41pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/6 "2022-05-30T16:41:41Z")

</div>

It will be very difficult to troubleshoot the project without access to it and its Google sheet.

I understand that you already provided a link. But this **copy** is now old and does not reflect the latest changes. Again, the copy of the project alone does not do a lot as your issue is testing it with the GSheet.

**As a side note:**  
I can see that you are setting a variable to **1** and then use this variable to manipulate something with the DVL. This would not work.

---

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [May 30, 2022, 6:17pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/7 "2022-05-30T18:17:38Z")

</div>

Thanks @muneer, what should I replace the variable with?

**Here is the link to my GSheet:** I am working from the **MANUCONTENT** tab.

> **[ICAO Type](https://docs.google.com/spreadsheets/d/1uhbjf1NmCrZdT-Lvyx_nenL0x-Fw0GP45zuIjvVIwVs/edit?usp=sharing)**
>
> SEARCH
> 
> Manufacturer,Model,Code,Description,Engine Type,Engine Count,Weight Class
> StringFilter,StringFilter,StringFilter,StringFilter,StringFilter,Hidden,Hidden
> 328 SUPPORT SERVICES,Dornier 328JET,J328,Landplane,Piston,2,M
> 3XTRIM,450...

**Here is the latest link to my project:**

[https://x.thunkable.com/copy/8dac58dd4e1e74c563eec5efd7e01e14](https://x.thunkable.com/copy/8dac58dd4e1e74c563eec5efd7e01e14)

Best regards,

Andos.

---

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [June 8, 2022, 11:32pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/8 "2022-06-08T23:32:35Z")

</div>

Hi @muneer, I haven’t yet had a response from you to my last reply. However, I had finally got my " **Aircraft ICAO Code Screen** to write to the **MANUCONTENT!H3** cell (in my “Search1” column) this morning. But when I came back to this project this evening there had been a bug in Thunkable which prevented me from further testing my success with the Search issue I had been having. So foolishly, I started to tinker about in my “AircICAOCodeScreen” because as this was the last thing I had altered in my project, I thought it was related. As a result, I have made a mess of everything.

I used your suggestion that you posted earlier in this thread: ([Thunkable](https://x.thunkable.com/projectPage/629382f4ba6f1b0012cf088d)) to help resolve the “ **writing Text Input Searches to my GSheet** ” but it didn’t work until I used the blocks in the “ **when ICAOAircraftText\_Input changes** ” block instead of the “ **When ManufICAOEntBtn1 click** ”. Now that part works flawlessly on the GSheet tab ( **MANUCONTENT** ).

Problem I now have should be simple (-even for me!). I just can’t get the results to display in the App. (below)

 ![Opening AircICAOCodeScreen](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/5/c54408bd0290987270fbc0fcbede4adb25b5738b.png)

As soon as I start to enter a textstring into the **Live Test** text input box (I **CAOAircraftText\_Input1** ). (See below:)

 ![AircraftICAOCodeScreen-Live-Test](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/b/bbcd17236741fa303744d0babbb4d884d5a3c62e.png)

The results are “instantly” shown as I type without the need to use the **Enter button**. 👍

But now when I enter a textstring into the Search/ Text Input box on my mobile phone. The screen does not display any results at all but the data **has been entered** into the Text\_Input box. See below:

 ![Aircraft ICAO Search Entered by phone App](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/82305cabe0180a2d4d4fda632bb0da9288f834e1.png)  
"

Could you please look at my blocks below and tell me where I have gone wrong. Like I said earlier, this should be simple but I can’t figure it out.

 ![AircICAOCode blocks](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/6/a60c06e5886d49cb9c73391df5d970df84ddb58f.png)

Best regards,

Andos.

---

<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: [June 9, 2022, 12:50pm UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/9 "2022-06-09T12:50:05Z")

</div>

I changed this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/207b2124ac9e6d50095c220b1a188e0bec209b84.png)

And removed this from the `opens` block.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/0/80f7895406f3b2fa83dfdf1458da4fe6ddb06929.png)

It worked fine with me.

---

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [June 11, 2022, 10:24am UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/10 "2022-06-11T10:24:05Z")

</div>

Hi @muneer, I have tried your suggestion which works fine on **Live Test** but is still not showing on my **mobile device**. Any ideas?

Best regards,

Andos.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [September 9, 2022, 10:24am UTC](https://community.thunkable.com/t/search-box-is-not-putting-searched-data-into-google-sheet/1900944/11 "2022-09-09T10:24:09Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
