Topic: to delete this message? "list index out of bounds"
to delete this message? "list index out of bounds"
My Visual Database → General → to delete this message? "list index out of bounds"
to delete this message? "list index out of bounds"
The message says that you have error in your script.
Please attach your project and describe steps to introduce the error.
the project was sent booby email
all done thanks !!
Hello,
I'm coming after the battle, but this message probably means you are fetching more rows than you actually have.
This happens often when you have a for loop like :
for i := 0 to Form1.TableGrid1.RowCount do
begin
.... some awesome code....
end
As indexing of rows often start at 0, with that loop you are fetching 1 more row that actually exists in the tablegrid. The rowcount - 1 will solve the problem.
That was just a little advise for the futur
Cheers
Mathias
thank you! mathmathou
My Visual Database → General → to delete this message? "list index out of bounds"
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi