Subreports - problem with .visible
guzial
Poland
heloo....
again i have problem..
on my report i have 3 subreports.
at the begining i have done a smal test. I put script
i did it because always i can't
make that script
when i do
I have done all report again and it is the same problem. there is no more objects just that 3 subreports... and it doesn't work correctly
http://www.salesianum-bydg.salezjanie.opok.../guzial/why.frf
there is that frf file if somebody want to see what is going on
when i do it but in delphi
it works but i have to do it in freereport
sorry for my english
thanks for every answer
regards
again i have problem..
on my report i have 3 subreports.
at the begining i have done a smal test. I put script
subreport1.left := 10;
it was all rightsubreport2.left := 10;
it was all rightsubreport3.left := 10;
it was all righti did it because always i can't
make that script
subreport1.visible := 0;
why??when i do
subreport3.visible := 0;
or
subreport2.visible := 0;
it is allright, but when i want to do
subreport1.visible := 0;
it is not possible. Could anywone tell me why??I have done all report again and it is the same problem. there is no more objects just that 3 subreports... and it doesn't work correctly
http://www.salesianum-bydg.salezjanie.opok.../guzial/why.frf
there is that frf file if somebody want to see what is going on
when i do it but in delphi
? frReport1.FindObject('SubReport1').Visible:=0
? frReport1.FindObject('SubReport2').Visible:=0
? frReport1.FindObject('SubReport3).Visible:=0
it works but i have to do it in freereport
sorry for my english
thanks for every answer
regards
Comments
regards
i try using that true, false, 0 ,1 and it is still the same...
i prepeared new one frreport its the same. I checked other properties for example .Left or .Top and that properties are working but .Visible no - but only for that one Subreport1 for other subreports (2,3) it is working.
So u have changed name of subreport1 for subreport10 so now it is working - can anyone explain me that??
regards