A quick question on format for App Tables function versus SQL Function

@jshaffstall sorry I spoke too soon. Originally I got this error on the locationdetail table

<LiveObject: anvil.tables.SearchIterator>

It appears to need this. Data Grid - Repeating Panel Errors - #2

So I followed the tutorial, and now I get this.

Exception: Data Binding update failed with 2 errors. Did you initialise all data binding sources before initialising this component?

  • Error binding

text of label_1

toself.item['Location']['Location']:
list indices must be integers or slices, not str

  • Error binding

text of label_2

toself.item['Location']['LocationPercent']:
list indices must be integers or slices, not str

The only thing I havent done is a variation on this print(app_tables.employees.get(name="Bob")['team']['team_name']) which is as per their example, where [‘team’]['team_name']

I did try adding one of the bindings at the end of my repeating panel but it didnt make any difference
self.repeating_panel_ages.items = anvil.server.call('get_all_ages',self.ageall ['Location']['Location'])