1 (edited by mathmathou 2017-12-18 00:45:31)

Topic: Exception EListError

Hello Dmitry,


Did you change anything in the EhLib component you were using ? Because since I updated to version 4.1 I now get "List index out of bound errors" and application crashes with the error message :

Exception ElistError... List Index out of bounds(0)


I've tried to replace the sqlite3.dll provided with MVD with a more recent one but nothing changes...


I'd love to post a sample of my project, but the attached database is fat too big to be posted here : compressed project is over 100 Mo.
I'll try to minimize it as much as possible, but it's difficult.


The problem happens when, clicking in Tablegrid1, I expect results to show in Tablegrids2 and is the same whether I :

  • use a SQLsearch button (standard method) with a Search Increment set to that button

  • use a SQL Query button with the Search Increment

  • use a SQL Query button with an oncellclick event


Any idea ?


While this is investigated, would you mind linking the latest stable 3.x version ?

Thanks in advance


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor

Re: Exception EListError

Hello.


I don't use EhLib component.


Please upload your project on Dropbox or other cloud storage.


Here you can download latest 3.xx version (3.6)
http://myvisualdatabase.com/download/myvisualdb3.6.exe

Dmitry.

Re: Exception EListError

Hello Dmitry, and thank you for the upload.


I confirm that the same source code compiles and runs flawlessly with MVD 3.6 while MVD 4.1 generates the previously stated error message.


I'll try to strip down all irrelevant code and database data to upload my code so that you can test it for yourself.


Until then, have yourself a Merry Christmas.


Thanks for the hard work Dmitry


Cheers


Mathias

I'm a very good housekeeper !
Each time I get a divorce, I keep the house

Zaza Gabor