|
-
Apr 15th, 2002, 08:56 AM
#1
Thread Starter
Lively Member
Datareport Question
Is it possible to add, subtract, divide a function on a datareport, if so can you lead me in the right direction?
Pinkpanther2070
-
Apr 15th, 2002, 09:25 AM
#2
There are 8 functions provided by the data report function control (SUM, Std. Deviation, Std. Error, etc.). You can only add this control to Group Footers and Report Footers.
Hope this helps,
-
Apr 15th, 2002, 09:29 AM
#3
Thread Starter
Lively Member
if you already have you functions established ex sum(field1) = function1, sum(field2)=function2, is there a way to say function1/function2 = value, in the footer of the report
-
Apr 15th, 2002, 09:36 AM
#4
Do you want to Sum the Sums? Or do you want just one sum to show up at the bottom of the DR.
If you want to sum the sums, you can just use the Function control.
Hope this helps,
-
Apr 15th, 2002, 09:41 AM
#5
Thread Starter
Lively Member
Yes I want to manipulate the sums, so all i need to do is use another control!
So how do I tell VB that I want to function1/function2=function3
-
Apr 15th, 2002, 09:54 AM
#6
I dont think you can do that in the DR, but you could probably do it in your SQL statement.
SELCT A,B, A/B as ADIVB FROM TABLE1
Hope this helps,
-
Apr 15th, 2002, 09:56 AM
#7
Thread Starter
Lively Member
Thanks for all your help, I dont think that the data report is capable of that either, I will try to do something else with my sql statement
-
Apr 15th, 2002, 10:02 AM
#8
Yeah the DR has VERY VERY limited functionality, you have to do a lot of work with SQL. I also use temporary databases to generate my reports, I will just put everything I need in one table and just do it all though code. This method works very well for complicated reports.
-
Apr 15th, 2002, 10:07 AM
#9
Thread Starter
Lively Member
Yes this is true, I have found it out the hard way (Program is just about done, I'm debugging and adding things were needed)
I beleive I will try out Crystal next time
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|