Hi I’m stuck with a very strange bug…
I’ve created a grid with a list of form that can be printed via a html image on each row (one form per row). I’ve created another grid that show all printed form, showing the form title, date printed, who print it etc.
The form are pdf ISO form that need to be filled by somebody and when they print them I automatically add a tracking number (like an invoice) on the top of the form so I can followup on each printed form to see if they are comming back once filled.
Everything is working fine. The first grid show all available form with there description and in the second I can see all the form currently in use with there tracking number etc.
My problem…
After I’ve printed a form, when I go in the second grid to see if it is added correctly. I’ve found that all the form have the same description. In fact they all have the descrition of the last printed form. If I have 100 printed form, all of them have the same description. In the database all is ok, each form have is own description. If I open these grid before printing any form, all description are ok for each form but as sson as I print any form, in the second grid all row have the same description.
Even if I close the grid and reopen it all description are the same. The only way to go back to normal is the erase the firefox cahe and history. This way I’m sent back to login and all the grid are back to normal until next time I print any form.
I just don’t know how a variable containing the form description in the first grid can fill the sql ressult in the second grid that is used to fill each row. I can close both grid and reopen them but the problem is still there until I reset it hard.
for exemple in the first grid the from I want to print have the following description “RSG-CCP-1-FO-04-04 (Calibration de la sonde PH)” which is the form coding + description.
They are directly concatenated in the sql query. I’m printing it via a control app popup. then in the second grid all form description will be changed to “Calibration de la sonde PH” which is not true for all of them. After hard reset all description are back to normal.
Each grid are filled using different sql query from different table but the form description come from the same sql table.
Did’nt notice that bug in SC6 look like a new bug in SC7. I just don’t understand how a parameter from the first grid can affect the second grid as I don’t acces the second grid from the first one. They are both included in a tab application under diferent tab.
any isea appreciated