Recent

Author Topic: [Solved] Lookup field: error list index(-2) out of bounds  (Read 310 times)

BlueIcaro

  • Hero Member
  • *****
  • Posts: 832
    • Blog personal
[Solved] Lookup field: error list index(-2) out of bounds
« on: December 13, 2025, 12:00:10 pm »
Hello, I trying to add a lookup field to a TSQLQuery, but I got error list index(-2) out of bounds, using SqlIte3

This TSQLQuery is in DataModule, and the TSQLite3Connection and TSQLTransaction are in other DataModule.

I attact a image, when I got the error.

Thanks for your help

/Blueicaro
« Last Edit: December 15, 2025, 10:00:13 am by BlueIcaro »

BlueIcaro

  • Hero Member
  • *****
  • Posts: 832
    • Blog personal
Re: Lookup field: error list index(-2) out of bounds
« Reply #1 on: December 15, 2025, 09:59:57 am »
Hello, I found the problem. I didn't have a index on the table.

/BlueIcaro

 

TinyPortal © 2005-2018