Issues with calculation while retrieving data from backend(SQL) - InfoPath Dev
in

InfoPath Dev

Issues with calculation while retrieving data from backend(SQL)

Last post 05-23-2008 02:37 AM by sandhyarani. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-14-2008 06:06 AM

    Issues with calculation while retrieving data from backend(SQL)

    Hi,

    I m developing an application of timesheet based on week-wise analysis. I have a repeating table allowing users to enter their timings they worked on everyday and this data is submitted to the SQL after the user clicks submit.And when user clicks on the date which falls into the same week then the timesheet should be opened with all the data entered by the user previously.

    Till here it works fine.

    My problem is,

    When the user enters timings everyday on different projects,the total time is calculated and is displayed in the textbox which is present in the footer of the repeating table for day-wise and the total time spend on the project for a week is displayed in the textbox which is present inside repeating table. 

    This is working fine when a new row is inserted but fails to work with values fetched from backend and not able to update along with the previous values.

    I have set the calculation formula for the respective days in the default value of the textboxes. And for fetching the values from backend i am using the formcode in the changing event of the datepicker so that the user gets data if present on that date else empty table is viewed to allow him to enter new data and submit it. 

    Can anyone help me?

    Thanks in advance.

    Sandhya. 

     

     

     

     

     

  • 05-19-2008 05:59 AM In reply to

    Re: Issues with calculation while retrieving data from backend(SQL)

    Hi,

    I am searching for this solution for long time and end up with no result.

    If there is no other way other than the code,can you provide with some working examples regarding this?

    please help me

     

    Thanks in advance

    Sandhya 

     

  • 05-23-2008 02:37 AM In reply to

    Re: Issues with calculation while retrieving data from backend(SQL)

    i have completed the task using the code. But i want to some rules kind of thing to get the things done because of performance issue .

    Can anyone help me? 

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.