proggybilly
Programmer
Hey all,
I have a report that I have designed that has a graph/subform that displays and shows growth over years. Problem is when there is only one year in the record, i do not want this form to appear. I have resolved that by doing:
Problem two is that when this is done, the object remains and is invisible, the data than then displays before that has this huge gap between it and the report title at the top.
What i am looking to do is to remove the object child81 completely and then on close, undo the proceedure and not save.
My application that I designed opens a series of reports in AcViewNormal so that it prints out immediately.
Can anyone help? If you need more information just ask.
I have a report that I have designed that has a graph/subform that displays and shows growth over years. Problem is when there is only one year in the record, i do not want this form to appear. I have resolved that by doing:
Code:
dim cnt
cnt = dcount ("[n04]", "rptD_2")
if cnt = 1 then
Me![Child81].Visible = False
end if
What i am looking to do is to remove the object child81 completely and then on close, undo the proceedure and not save.
My application that I designed opens a series of reports in AcViewNormal so that it prints out immediately.
Can anyone help? If you need more information just ask.