Results 1 to 5 of 5

Thread: Adding value of two rptfunction

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    66

    Adding value of two rptfunction

    is there a way to add the value of two rptfunction and put it on a label...
    im using data report.. thanks
    Last edited by __wired__; Apr 14th, 2009 at 12:19 AM.

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    66

    Re: Adding value of two rptfunction

    or maybe add the value of two rpttextbox to rptfunction (Sum)... is that possible? i need to get the sum of two rpttextbox and show it to rptlabel or rptfunction... im using vb6 and data report... plss help.. i need it urgent..
    Last edited by __wired__; Apr 14th, 2009 at 01:10 AM.

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: Adding value of two rptfunction

    Could be something like
    Code:
    DataReport1.Sections("Section1").Controls("Text1").Text = VAL(DataReport1.Sections("Section1").Controls("Text2").Text) + VAL(DataReport1.Sections
    ("Section1").Controls("Text3").Text)
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    66

    Re: Adding value of two rptfunction

    sir thanks for the reply... i already use that... it says "object doesn't support this property or method".. do you have other codes? btw.. i want to display the sum of the two in report footer.. so text is not allowed.. only label or rptfunction...

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2009
    Posts
    66

    Re: Adding value of two rptfunction

    hellllpppppppppppp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width