Thanks for your reply Jim.
Here is the script for populating the listbox. The database is about 70MB so that I am not able to send the whole publication. However, I think the problem occurs because of the "for" loop for the values of "count" variable greater than 1000.
Thanks again for your time..
Doruk
Code:
var mydb = new Database("FILEDSN=C:\\Documents and Settings\\Kurgu02\\Desktop\\ara\\guitdk\\sozluk01.dsn;")
function SearchDB()
{
records = mydb.ExecuteSQL("SELECT HEAD_MULT FROM Maddeler Where HEAD_MULT LIKE '"+aranankelime+"%';")
count = records.GetNumberOfRecords()
for (n=0;n<count ;n++) { // When I limit the "count" variable to 100 the performance problem ends.
Listbox.ReplaceSelection(records.HEAD_MULT + "\n")
records.NextRecord()
}//for
}