Problem populating tables

Hello everyone,
I have 3 tables that should populate after a query. It works but, sometimes, 1 or 2 of the tables stay blank after clicking the start button so I have to click again until they populate. It seems rather odd : it is like it cannot find the data on 1st attempt ( one table that have 2 columns just shows the divider ) and other times it is smooth as silk. Could it be a problem with the database?
I had a problem with the code before as user inputs were frozen on live mode but someone suggested to set the dataset in ‘write only’ mode and it worked. Could it be that?
Why is it working and sometimes not?

Best of everything to all,

Thierry

I have just found that when I sync my sandbox data to the live one, it d 2 times the first row. I have checked the sandbox data and there are no double 1st data rows . I have deleted it in editing mode as it seems it add this 1st double row from nowhere to be found. It did not change the behavior of the table but it may be is something that has importance. May be, just a guess…