How do you skip the title row in Google Sheets using the gVizQuery?


image

When I use OFFSET 1 it's still displaying ID title

&headers=0 should do it

1 Like

Thank you so much it's working!


I would like to see a message saying 'Password not matching' if the entered number is incorrect. However, when I enter the wrong number, it does not display 'Password not matching.

How do you know response content will be a csv table?

And why would you need a for each loop in the response?

And why do you have no provision for handling web response for different request types (password vs app data)?

What type of user would have more than one row returned?

Why do you use a notifier that lacks an okay button? Who is watching the screen, a hummingbird?

I'm using gVizQuery.

only issue is that when I type the wrong only numbers, it does not display 'Password not matching. If i use number with letter is working.

@TIMAI2 please help me with this issue

I guess issue with string I guess number need to convert into string but I dont know how to convert.
issue close to these places

Show your response content for a successful and unsuccessful "password"

What about simplifying your query and get only B from the spreadsheet?

Select B where A = Login_tb.Text

Taifun


image

I tried not working! I would like to match only A columb

Taifun

Well, obviously you have to adjust your blocks in the GotText event then

Learn to debug your project!

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

You need to do this:

image

image

If the "password" entered is not in the spreadsheet, then nothing is returned, if the password entered is in the spreadsheet then a list of lists is returned once you convert to a list from csv table. you therefore have to select item twice in order to get to the value of A returned

1 Like


Now it's working BUT when I enter wrong Number with letter it's not showing message

Set the NumbersOnly property of the textbox to true
Taifun

no maybe in future it'll be number with letter. What will I do in that case. So it's better to bas as it's. I need solution!

You have to change your query to alphanumeric and use quotes

... where A = 'some text'

Taifun

1 Like