I have 4 SQL tables which are read by an Equipment Schedule component. Eventually, these tables will be populated by our ERP/MES system. The tables are bound to “Items”, “Scheduled Events”, “Downtime Events” and “Break Events”.
The binding for “Scheduled Events” causes a null pointer error.
I have checked the structure of the SQL table and it appears to be OK. The correct data is shown in the datatable (within ignition). I have copied this to another Equipment Schedule control (without the binding) and it worked perfectly. I have tried with, and without an index column in the SQL structure.
Please see attached for images.
Please can someone explain what I have done wrong?