Here is the code for a Double-list I made some years ago. Used it only once and did not test all methods, so I cannot guarantee it works 100% correctly.
unit DoubleList;
interface
uses
Classes;
type
{ Types for the Sort-methods }
TDoubleSortMethod = function (ADouble1, ADouble2 ...
You might try to use a TADOQuery instead of a TADOTable. Try a SQL-string like
'SELECT * FROM [TableName] WHERE ORD_ID=...' and see if the query returns a record.
It is generally not a good idea to access array-elements that are behind the allocated size of the array. If, like in your example, your array has a lenght of 1, then you should never access elements with an index bigger than 0.
Compile your Project with the comoiler-option "Range checking"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.