check_box problem
Hi All,
I have problem with dissapearing check on checkboxes.
I have form with records and every record have its checkbox. Problem was, that there can be hundreds of recodrs and user may want to check all of them.
My task was to create checkbox on form that will check all records immediately.
I have created new block with checkbox and new stacked canva for it and placed this canva on same window as main canva.
I have created also WHEN-CHECKBOX-CHANGED trriger on this checkbox, that starts app_record.for_all_records('TRHEAD', 'CHECK_ALL') (CHECK_ALL is trigger on that main block).
And all of this warks fine but...
when i check all records using my SPECIAL CHECKBOX and then try to change record (WHEN-NEW-RECORD-INSTATNCE fires) then all checksboxes are UNCHECKED!!!
I have searched all places where these checkboxes can be changed and can't find out haw it happens!!!
So maybe a have set some properties wrong or I have forgotten about something??
I hope I have described my problem clearly:)
Any ideas??