Error when manually deleting Rows from my Google Sheet

after manually deleting rows from my Google Sheet, on App Inventor app i'm getting error which is still trying to access items that no longer exist.

Here is my code:

if I use this code error disappering but I can't get notification

As far as I can see your error happens when there are less rows in old records compared to new records

Taifun

@Taifun Thank you for your response!
How to skip this error or is there any way to use some combination?

Before selecting an item from a list make sure the list is long enough

Try the length of list block

Taifun

I tried to use this

error not showing but my notifications not showing anymore

Add another if statement here before trying to get an item from old records

If length of list Itoo1.FetchProperty oldListRecords >= number Then

Taifun

1 Like

@Taifun thank you so much it's working

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.