Need help fixing TinyDB MemberDetails screen (AIA attached)

Hello everyone,

I am building a member database app in Kodular.

Problem:

  • Members are saved successfully in TinyDB.
  • AllMembers screen shows the correct list.
  • When I click any member, MemberDetails opens but most fields are empty.
  • Sometimes I get this error:

Select list item: Attempt to get item number 2 of a list of length 1.

I think the SelectedMember value is not being stored or retrieved correctly.

I have attached my .aia project.

Can someone please fix the blocks or explain what is wrong?

Thank you.
RKMSConnect_fixed.aia (720.3 KB)

Hi,

Have you tried clearing TinyDB? I ran a test and didn’t encounter any problems.

Just one thing, since you’re selecting an index without first checking whether the list actually contains that index, I’d recommend making the member fields required.
That way, if an element exists, it will always have all the required indexes.