I have a table like this:
I used the above function to read information from the table. Occasionally, an error with error code 5126 (ERR_DATABASE_NO_MORE_DATA) occurs. Sometimes the data is retrieved, sometimes an error occurs. The table above shows 6 currency pairs, but the USDCAD pair is showing an error; the other 5 pairs are working normally.
I am using version 5.0 build 5660.
Could you please help me fix this problem? Thank you very much.
The error code is normal and not considered to be an error. It means your SELECT statement has not returned any data, or you have reached the end of your result iteration.
As mentioned previously:
Executing prepared queries: DatabaseRead/Bind
The function returns true upon successful completion. The false value is used as an indicator of an error (for example, the database may be blocked or busy), as well as when the end of the results is normally reached, so you should analyze the code in _LastError. In particular, the value ERR_DATABASE_NO_MORE_DATA (5126) indicates that the results are finished.
I have a table like this:
I used the above function to read information from the table. Occasionally, an error with error code 5126 (ERR_DATABASE_NO_MORE_DATA) occurs. Sometimes the data is retrieved, sometimes an error occurs. The table above shows 6 currency pairs, but the USDCAD pair is showing an error; the other 5 pairs are working normally.
I am using version 5.0 build 5660.
Could you please help me fix this problem? Thank you very much.
Why are you using an old build ?
Current release is 5833.
If you want to report a bug, you will need to provide the database and code that compiles to reproduce the issue.
Why are you using an old build ?
Current release is 5833.
If you want to report a bug, you will need to provide the database and code that compiles to reproduce the issue.
After updated 5800 I felt something was wrong, so I temporarily disabled the update. I will update to 5833.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have a table like this:

I used the above function to read information from the table. Occasionally, an error with error code 5126 (ERR_DATABASE_NO_MORE_DATA) occurs. Sometimes the data is retrieved, sometimes an error occurs. The table above shows 6 currency pairs, but the USDCAD pair is showing an error; the other 5 pairs are working normally.

I am using version 5.0 build 5660.
Could you please help me fix this problem? Thank you very much.