MIT AppInventor -> Google Form -> Google Sheet

I am trying to get data from a form to Google Sheet. First 3 rows work well but I am unable to get the last 4 rows into Google Sheets

FYI - The first three rows are direct user entry whereas last 4 enteries are calculated field (or have been copied by a button)

Any help will be appreciated.

Make sure each field id matches with gform and the field name matches with gsheet headers

instead of this method why dont you try someother easy mehtod s like,

You may need to use the UriEncode block on your entries.

e.g.

You might have a timing problem, where you are trying to add rows before the rows above them have not yet completed their inclusion into the sheet.

Consider just one wide row per transaction.

Also, the AI2 Sheets component has completion events that could be used to avoid this.

Another consideration...

Could multiple users try to add data simultaneously?
That points you to single row transactions, avoiding interspersed entries.

Thanks Abie

It turned out to be timing issue (as was using Click and TouchUp events simultaneously on same Button).

Nevertheless, I tried Scripting (something which I was never wanting to use) which gave good results

YouTube video was very good

Thanks a lot for the help

1 Like

Thanks Tim

I will try

Hi Still Learning

I have gone the path of scripting which has resolved the issues.

Thanks

1 Like