Corona Runtime Error “attempt to concatenate field '?' (a nil value)”

Yes EBAS_ID is a global variable and its value is row id the code look like this

 \_G.EBAS\_ID = row.id

Is there any problem with this?

if row doesn’t have a member named .id or of row.id is nil, then _G.EBAS_ID will be nil.

ohhh I see! so is there a method I can auto-populate the table once there is a new entry? or I cant go towards this approach?

Where is row.id coming from? You haven’t shown us the code where you’re populating (or expecting that value to be populated) from.

Rob

Hi Rob,

I have solved the problem. Thanks for your help. Really appreciate it :DD