Jump to content

Error in dbgrid with the ClientDataSet1.Bookmark option: = dd.SelectedRows [I];


eduardosuruagy

Recommended Posts

When I perform a loop where I have checkboxes in dbgrid, I randomly get an error in the line
ClientDataSet1.Bookmark: = dd.SelectedRows [I];

I am attaching an example, just check all the grid options and click on the "Test" button and wait for the error to happen.

This is urgent, my project uses this option a lot!

Image.png

UniGui - DbGrid Slelecao.rar

Link to comment
Share on other sites

1 minute ago, Sherzod said:

Você poderia explicar o que está fazendo ao executar o procedimento UniButton2Click?

Are you talking about the project I sent? Or in my project? I was using version 1537 of unigui and this week I migrated to the latest version and after that started to give these errors

Link to comment
Share on other sites

1 minute ago, Sherzod said:

Desculpa porque? Diga-nos que tipo de lógica você deseja executar, talvez você precise revisar seu código.

I have several routines, cancellation, deletion and etc. just do the test with the example that I send and see that it gives error when passing through this line

ClientDataSet1.Bookmark: = dd.SelectedRows [I];

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...