eduardosuruagy Posted April 22, 2021 Share Posted April 22, 2021 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! UniGui - DbGrid Slelecao.rar Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 Please, someone give me a solution to my problem, after I upgraded to version 1547 several errors started to appear and this is one of them, I have several routines that I use this way and all are with errors Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 23, 2021 Share Posted April 23, 2021 Hello, We will check your testcase. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 4 minutes ago, Sherzod said: Olá, Vamos verificar seu caso de teste. Thank you very much! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 23, 2021 Share Posted April 23, 2021 On 4/22/2021 at 6:51 PM, eduardosuruagy said: UniGui - DbGrid Slelecao.rar 1.41 MB · 1 download Could you please explain what are you doing when you run the UniButton2Click procedure? Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 23, 2021 Share Posted April 23, 2021 26 minutes ago, eduardosuruagy said: Are you talking about the project I sent? Yes. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 2 minutes ago, Sherzod said: sim. I put a sleep just to simulate a code execution that takes a little longer. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 23, 2021 Share Posted April 23, 2021 Sorry, why? Tell us what kind of logic you want to execute, maybe you need to revise your code. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 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]; Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 23, 2021 Author Share Posted April 23, 2021 Do you have an answer for me? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 24, 2021 Share Posted April 24, 2021 9 hours ago, eduardosuruagy said: Do you have an answer for me? Hello, Sorry for the late response. I raised a question in the support portal, we will try to analyze your case. Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted April 24, 2021 Author Share Posted April 24, 2021 5 hours ago, Sherzod said: Olá, Desculpe pela resposta tardia. Levantei uma dúvida no portal de suporte, vamos tentar analisar o seu caso. OK thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.