You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Good Afternoon. I need some help. I'm working on a simple app by App Inventor 2 and It has to insert, update, show and delete some data. I need to know the exact sintax of UPDATE and DELETE commands.
Someone can explain me the error, please?
Abraham Getzler
unread,
Oct 15, 2014, 11:09:28 AM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Your using the '=' block in your query is wrong (but creative and interesting.)
SQL needs to see the ' = ' as part of the text of the SQL command.
Quotify means wrap in quotes ... WHERE x = 'somevalue' ABG
Taifun
unread,
Oct 15, 2014, 12:45:28 PM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
I watched that guide about 7 or 8 times. But there isn't the function UPDATE.
you asked where to find "quotify" ...
Taifun
Taifun
unread,
Oct 15, 2014, 3:02:25 PM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
for UPDATE or DELETE statements you first have to get the rowid of the row to be updated or deleted with a SELECT query. Then in a second step do the UPDATE or DELETE
Taifun
AlexxandroP
unread,
Oct 15, 2014, 4:33:33 PM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Ok. I think I understand... Now I want to try.
AlexxandroP
unread,
Oct 15, 2014, 5:08:11 PM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
No... It doesn't work...
Taifun
unread,
Oct 15, 2014, 5:39:13 PM10/15/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
No need for it now Taifun. You have already helped me by helping AlexxandroP. Thank You.
AlexxandroP
unread,
Oct 21, 2014, 11:39:08 AM10/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
I suppose the blocks are corrects, but the function doesn't work.
Do You know where is the error?
Abraham Getzler
unread,
Oct 21, 2014, 11:47:31 AM10/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
I don't believe you should be putting quotes around column names. How then would SQL know that you are talking about the contents of a table column, versus a piece of text that happens to mention a column name?
ABG
AlexxandroP
unread,
Oct 21, 2014, 12:08:03 PM10/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Thank You. I deleted quotes but It doesn't work....
Abraham Getzler
unread,
Oct 21, 2014, 12:14:33 PM10/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Has anyone on this thread been able to get to UPDATE working the way AlexxandroP wants? From what I understood at this link, the API does not allow updates of cell values, and UPDATE is only to change a table's columns.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
@Ketaki: sure, UPDATE works fine, you just have to use the correct syntax...
For UPDATE statements the first step to be done is to get the ROWID of the row to be updated with a SELECT statement.
The second step is to do the UPDATE.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Hi Allexxandro,
Sofar I do not know Fusion tables and I do not know what the definition of your table is, but I do know SQL. It seems that you are quoting the row id, the price and the quantity. You should not do that because they probably are defined as numeric things. Only text and strings must be quoted. With the price you should take care whether it should contain . or , as a decimal separator.
Cheers, Ghica
Taifun
unread,
Oct 23, 2014, 10:13:52 AM10/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
Thank You for your help!! At this moment the app doesn't work again but tonight I want to try to verify the blocks. Now the sintax is right and the error will be minimum, I suppose. Tomorrow I can say you if It works or not.
Thanks again!!
AlexxandroP
unread,
Oct 29, 2014, 12:13:11 PM10/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mitappinv...@googlegroups.com
If you checked for all the Frequent Made Errors
and the error message doesn't tell you anything to fix this, add a screenshot of your SQL statement
including the "Do it" result and a screenshot of your error message and I will try to help you. Thank you.