# Airtable Query: Project on e-voting

**URL:** https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148
**Category:** Questions about Thunkable X
**Tags:** beginner, airtable
**Created:** [September 1, 2020, 10:58pm UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148 "2020-09-01T22:58:27Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 1, 2020, 10:58pm UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/1 "2020-09-01T22:58:27Z")

</div>

In order let my users log into the application, they require a number and a password. These are saved on my airtable spreadsheet.

Here is what it looks like;  
Note: the other columns are irrelevant at the moment.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/f/4f389ae48c49fa928cc6579a4188b27e47c64324.png)

I am unsure of how to query the airtable to retrieve the data.

---

<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: [September 2, 2020, 7:23am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/2 "2020-09-02T07:23:31Z")

</div>

See [https://airtable.com/api](https://airtable.com/api)

---

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 2, 2020, 8:00am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/3 "2020-09-02T08:00:11Z")

</div>

I already connected it to my Thunkable app, I just need help in the block coding

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [September 2, 2020, 10:01am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/4 "2020-09-02T10:01:08Z")

</div>

@avantika.chopra1989a sounds like a great idea for an app. If you ever need information on one of our components take a look at our docs!

For example, here are the Airtable docs:  
[https://docs.thunkable.com/spreadsheet](https://docs.thunkable.com/spreadsheet)

Hope that helps!

---

<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: [September 2, 2020, 10:01am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/5 "2020-09-02T10:01:11Z")

</div>

See scrAirTableRESTAPI in [https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)

---

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 4, 2020, 5:54am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/6 "2020-09-04T05:54:10Z")

</div>

Hey this was really helpful, however I need to run everything in the back end. The UI looks like this;

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

---

<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: [September 4, 2020, 7:19am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/7 "2020-09-04T07:19:40Z")

</div>

I’m sorry, but I’m afraid we don’t understand what you need.

You write

> I am unsure of how to query the airtable to retrieve the data.

Didn’t we give you the answer to that question?

---

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 4, 2020, 7:56am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/8 "2020-09-04T07:56:41Z")

</div>

Yes could you help come up with specific code for this screen only so I can keep it as a sample for future school projects?

Also I needed code for querying the database so that I could build a log in page. Lastly, I can’t use the regular sign up block as there is a number, not an email address

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [September 6, 2020, 10:09am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/10 "2020-09-06T10:09:49Z")

</div>

Sign up block is for firebase authentication. You simply just need to take your airtable data and with a few conditional blocks, you can make an effective log-in.

---

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 6, 2020, 12:59pm UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/11 "2020-09-06T12:59:18Z")

</div>

I’ve coded till here. However, In order to validate the password, I need the row number of the ‘aadhar card value’ that the user had input. Not sure how to do that.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/2/22dc1950b8112c5b6bca71a08d7eb5fe734281ca.png)

---

<div class="post-metadata">

### Author: ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)
#### Post date: [September 7, 2020, 12:52am UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/12 "2020-09-07T00:52:47Z")

</div>

When you get a match in the get column (card number),store the value of “I”. then use it for the rowNum in the getcell block.

---

<div class="post-metadata">

### Author: ![avantika.chopra1989a](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@avantika.chopra1989a](https://community.thunkable.com/u/avantika.chopra1989a)
#### Post date: [September 20, 2020, 12:25pm UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/13 "2020-09-20T12:25:18Z")

</div>

Ahh thankyou, but I figured it out already!

---

<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:23pm UTC](https://community.thunkable.com/t/airtable-query-project-on-e-voting/786148/14 "2024-11-08T12:23:51Z")

</div>


