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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...