xacly
08-17-2009, 07:15 AM
Hello all,
I guess this is inside the forum somewhere but I cannot find it and I am sorry to ask again.
I have spent one whole day or more on this and still no closer to solving my issue.
I have a main report with two sub-reports named say, SubReport1 and SubReport2.
They both get their information individually from queries named say Query1 and Query2.
One query gets information from an "account" field and filters it for a value.
The second query gets it's information from the same "account" field but filters it for a different value.
Now, when I make the SubReport1 using Query1 and load it on the main form it works just 100% fine. I get my 25 lines of individual data with the correct details.
When I make the SubReport2 using Query2 and load it on the form it works just 100% fine. (Yeah, I think I see some smiles in the background somewhere!!!...hehehehe) Again, I get my 25 lines of individual data with the correct details.
Now, I want to take just ONE value/field/slice of data from SubReport2 and place it inside SubReport1. I have put
=Reports!DepSchReport!AccDepTotQxx.Report!Text255
and whoopee...I get a value beside the 25 lines in the correct place. However, the value is correct for just the FIRST record from SubReport2, and the other 24 lines all show the same value which is not correct.
Now, I am certainly NOT a programmer and do this project for brain exercise only to be honest. I have 90% completed this task and so far have managed to work out most stuff by searching etc. This one has me stumped. I have tons of time so if someone has a fix, or a completely different way of doing it either with forms or reports I will be so happy. But please folks, if possible can we keep it to the basics.
I have no other need for SubReport2 other than to get the info above and it will be hidden eventually so if that makes it any easier for you good.
Thanks so much
Dave
I guess this is inside the forum somewhere but I cannot find it and I am sorry to ask again.
I have spent one whole day or more on this and still no closer to solving my issue.
I have a main report with two sub-reports named say, SubReport1 and SubReport2.
They both get their information individually from queries named say Query1 and Query2.
One query gets information from an "account" field and filters it for a value.
The second query gets it's information from the same "account" field but filters it for a different value.
Now, when I make the SubReport1 using Query1 and load it on the main form it works just 100% fine. I get my 25 lines of individual data with the correct details.
When I make the SubReport2 using Query2 and load it on the form it works just 100% fine. (Yeah, I think I see some smiles in the background somewhere!!!...hehehehe) Again, I get my 25 lines of individual data with the correct details.
Now, I want to take just ONE value/field/slice of data from SubReport2 and place it inside SubReport1. I have put
=Reports!DepSchReport!AccDepTotQxx.Report!Text255
and whoopee...I get a value beside the 25 lines in the correct place. However, the value is correct for just the FIRST record from SubReport2, and the other 24 lines all show the same value which is not correct.
Now, I am certainly NOT a programmer and do this project for brain exercise only to be honest. I have 90% completed this task and so far have managed to work out most stuff by searching etc. This one has me stumped. I have tons of time so if someone has a fix, or a completely different way of doing it either with forms or reports I will be so happy. But please folks, if possible can we keep it to the basics.
I have no other need for SubReport2 other than to get the info above and it will be hidden eventually so if that makes it any easier for you good.
Thanks so much
Dave