# Airtable "null" issue

**URL:** https://community.thunkable.com/t/airtable-null-issue/272799
**Category:** Questions about Thunkable X
**Tags:** airtable
**Created:** [October 15, 2019, 1:12pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799 "2019-10-15T13:12:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![renren66](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@renren66](https://community.thunkable.com/u/renren66)
#### Post date: [October 15, 2019, 1:12pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799/1 "2019-10-15T13:12:57Z")

</div>

I am trying to use Airtable to store account information of different users. I’ve tried to test it with multiple devices, and although it worked for a few cases, it stores the “username” field as “null” even when there is data input from the app most of the time.

 ![Capture](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/6/26eb10d706c1f682e0efa0fb013a452e6a3ae137.png)  
The blocks concerned are under the Button2 Click event:  
[https://x.thunkable.com/projects/5c7cb40e10fa38e62fa843ad/RegistrationPage/blocks](https://x.thunkable.com/projects/5c7cb40e10fa38e62fa843ad/RegistrationPage/blocks)  
Is there anyway to resolve this?

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [October 15, 2019, 1:44pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799/2 "2019-10-15T13:44:51Z")

</div>

Hi, @renren66! 👋

* * *

> [@renren66](#):
>
> The blocks concerned are under the Button2 Click event:

My Chrome cannot open your project 😕  
(It’s just loading a blank image with lots of orange, yellow ochre blocks)  
It seems you have used a **lot** of variables, that makes your project crash on mine…

➡ So Can you please provide a screenshot of your blocks of button2?

Thanks! 😊

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 15, 2019, 2:50pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799/3 "2019-10-15T14:50:44Z")

</div>

Your blocks in Buttin2.click very complicated and duplicated - Alert bunch, bunch of action, some obscure check for null.

In programming, there is a recommendation - in every function you should try to perform only one operation, because the more complex the function, the much more difficult to look at her mistakes. Throw bugs Thukable X and will be very difficult to understand where your mistakes, and where the system error. For this reason, as variables I use function blocks and parameters only in case of emergency use global variables.

Create a simple function check, create a new row to be accurate or not.

If the database is recorded null, it means that the stored-block is not initialized (it nothing was written) or for whatever reasons, null is written in it. Blocks of global variables become unstable and I would not be surprised if it’s a bug system. For this reason, as variables I use function blocks parameters and only in case of emergency use global variables.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [October 15, 2019, 3:39pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799/4 "2019-10-15T15:39:41Z")

</div>

Why working with Thunkable X (and not only), you need to check everything and do not trust your eyes?

I give a simple example.

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/0/60489e938e64c7d6979050bae09400eced3b4c20.png)

Label1.Text “undefined” display on screen, and how many characters will return the block length of?

Another example - screen component has such a configuration

![%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/69382762139e5b743a243430a0492298d03ac1c3.png)

Does this mean that the padding on Android are equal to 0? No! But how can this be, we’re seeing 0 in the fields! You can draw anything you like, but this does not mean that it is in reality.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:08pm UTC](https://community.thunkable.com/t/airtable-null-issue/272799/5 "2024-11-08T12:08:40Z")

</div>


