RangerTen
Rangers Lead The Way!
- Local time
- Today, 12:57
- Joined
- Jun 30, 2002
- Messages
- 42
I have a report that I want to print that lists 4 records per page. I have an unbound text box (that of course repeats for every record = 4 per page) that I want to have a calculated value from several of the records. Here is the dilema. It is easy to have a calculated control where "=[field1]+[field2]" is the control source of the text box. However, my calculations are far more complex as that and have several nested if statements. I attempted to compute my calculations on Report.activate and calculate values that appeared on the form, but it ended up computing the values for the first record and then repeating the same values for all records instead of computing different values for each record. Any ideas on this?? It won't let me do it on report.load. If I could figure out how I could set the controlsource of the textbox in code, it would help, but I continually get the message that I can't change the controlsource when attempting to open for print or print preview. COmputers make life easier, eh? Who's the guy who thought that?