- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Adobe Forum,
I'm not sure I'm not out of my depth, however I'm trying to build a dynamic timesheet in Adobe LiveCycle Designer 8.05. (windows 7 environment)
I've pretty much got it all working with reading and writing to an Access database, etc. I'm stuck on one feature though:
I want to be able to add rows to a table, each row contains a number of cells for the input of time data (hours), and the last two columns of each row are subtotals with calculation scripts for the sum of the hours in the row. One for business hours, and one for after hours totals. A row represents a task that has been undertaken.
A single row works just fine. As soon as I use instanceManager.addInstance to add a new row for a new task, the calculate scripts seem to stop. I'm assuming that the instanceManager does not propogate the scripts held in the calculate event (probably for no event in the added object), is this correct?
Would the answer be to use the calculate event from another object to populate the sub-total fields with the sum of the hours in each of the rows, row by row? If it is, I'm having trouble referencing the data in each cell in each row to generate the row's sub-total. Can anyone point me in the right direction on referencing dynamically added table cells please?
Thanking you in advance,
David.
Views
Replies
Total Likes