Data is repeated in multiple instances, please help.
Hello
I have worked on this form using Adobe Livecycle ES2 9 days and need help. I am new to LiveCycle and JavaScript, but as you'll see, I learned a lot .
I have a repeatable subform (GoalSheet) which totals values based on a drop-down list:
var len is form1. GoalSheet.Table6._Others.count;
$ var = 0.0;
this.rawValue = 0;
If (form1. GoalSheet.Table6.First.Funding1.rawValue == 1)
{
sum += form1. GoalSheet.Table6.First.Cost.rawValue;
}
for (var i = 0; i < len; i ++) {}
If (form1. GoalSheet.Table6.resolveNode("Others["_+_i_+_"]").fsource.rawValue == 1) {}
sum += form1. GoalSheet.Table6.resolveNode ("other [" + i + "]" ""). Cost2.RawValue;
}
}
this.rawValue = sum;
It works beautifully. However, when the user creates a second instance of GoalSheet, it does not work.
Any suggestions?
A link to the form is here: https://www.dropbox.com/s/94t48cw2ywcxpcq/4-20%20Draft_total_formcalc_pagination_safetynet %20v126.pdf
Thanks for any help!
Michael
Hello
the GoalSheet is a repeatable instance that other ranks you have to perform a loop over all its instantiated too.
var goalSheets = _GoalSheet.count, sum = 0; for (var i = 0; i < goalSheets; i += 1) { var vGoalSheet = form1.resolveNode("GoalSheet[" + i + "]"), vOthers = vGoalSheet.Table6._Others.count; if (vGoalSheet.Table6.First.Funding1.rawValue == "1") { sum += vGoalSheet.Table6.First.Funding1.rawValue; for (var j = 0; j < vOthers; j += 1) { sum += vGoalSheet.Table6.resolveNode("Others[" + j + "]").Cost2.rawValue; } } } this.rawValue = sum;
I hope this helps.
Tags: Adobe LiveCycle
Similar Questions
-
Dear Sir.
I lost all my data on my SD storage card, please help me to retrieve the data. I have a Z3, just bought only a week before, I removed the card with the phone off and then give the card again and noticed that I lost all the data. Please help
Try restarting your phone. Sometimes it shows data that brought them "disappeared". To do this, hold down your power button for about 15 seconds, until you see BlackBerry on your screen. Do not release the button until you see that without taking account of any other thing you see before that.
Try this and post back with your results.
-
How can search for a file by date of creation in c programming please help me please!
I want to search for a file using a date, then the output should be a value for this file!
These forums are intended mainly the consumer so you probably better ask in the most relevant forums TechNet/MSDN from Microsoft here:
http://social.technet.Microsoft.com/forums/en-us/categories/
http://social.msdn.microsoft.com/Forums/en-US/categories .
Thank you. :)
-
That's what I'm trying to do. I have a file periodic_chan3.bin which is sampled values of three channels of periodic signals in interlaced format. The data is stored in binary format (long of floating point of the double procession) DBL and big-endian representation. I am reading the file and draw all the three waveforms on the graph of a waveform. The data has been saved from time zero, with a sampling frequency of 100 samples per second. Then I scale the x-axis of your waveform graph so it displays the time in seconds.
So I try, on the wave of the chart to create three sets of cursors and cursors to display the average value of each of the three waveforms. The color of the cursor Y for a given signal average must match the color of the display of the waveform on the chart. For example if the graph of the signal is displayed in red the cursor there shows the average of this signal must be red.
What happens when I do not open the file I see a white contour mesh a sine graph, a graphical square and sawtooth chart. I can't seem to trace the three waveforms seen clearly with the three above-mentioned distinct colors. I can't seem to sort correctly and represented as mentioned above.
I would also help with the calculation of the average or expected from each of the three periodic waveforms.
Attached are the files please help. Pgm4 is the VI, and periodic_chan3 contains the data that needs to be sorted. I'd be very happy if somene were able to fix the and submit the changes so I can see how it works. Thank you.
Edit: I get an error that says periodic_chan4.bin "is not a valid extension of an attachment" so I'm not able to uplad it. Is there a way to othe I could download it?
Xtasy26,
In your post you mention that you try to view 3 averages of waveform, however your code is showing that you are broadcast 4 values. This might be the reason why your getting the different forms of data. Instead of an array of all the waveforms 1, then a table of all 2 waveforms and a waveform table 3, you get a mix of all three in each of your waveforms.
To calculate a moving average or mean that it is actually an integrated in the example in BT sound finder called "running Avereage.vi calculation"
You can also view the attachment to see Multiple waveforms channel displayed on a single chart.
-
Hi, I am told by a website mFirefox is out of date so I can't get all the features. I continue to download an update, but it continues still to be. Could you please help me. Thank you.
Download the latest version of Firefox to:
- http://www.Mozilla.com/en-us/Firefox/new/
- http://www.Mozilla.com/en-us/Firefox/Central/
- http://www.Mozilla.com/en-us/Firefox/all.html
Uninstalling Firefox
- https://support.Mozilla.com/en-us/KB/uninstalling%20firefox
- DO NOT SELECT DELETE YOUR DATA AND USER SETTINGS
Install Firefox on Windows
Check and tell if its working.
-
Backflip: no data on Bell Canada to all please doesn't help?
Hello! I just got my backflip via eBay - first very new smartphone, so please help! I unlocked it received a SIM from Bell (to Canada), activated, directs a data plan and they tell me that it's working. They also told me that the backflip fulfilled all conditions for their network. I can use it for phone, text, email and web via wifi without problem, but it does not seem be any data at all! I've never seen a flag State G, Edge, or 3G. I tried to turn wifi off and turning phone off & on. Under order settings, wireless, mobile networks, the operator, research networks selection it will show BELL four times as available networks. If I click on that it shows "Network with Limited Service found. You want to start the search network? "If I say yes or no, I get no results. I tried on several days in different areas with the same result. Can anyone help? Thank you. If I call Bell, they say just that it's not their phone so that they are not responsible.
Choice of operator must be set to automatic. You need to make sure that you have the settings correct data under the APN (Access Point name) settings. Bell will have a certain domian, password, etc., which they use to access the data. When you talk to them just tell them you have their APN settings.
-
Hi all... I learn LabVIEW since few days.i want to acquire a signal of pc6251 of acquisition of data and perform fft it can u people please help me? Thanks in advance
If you do only use LabVIEW for a few days, you should get familiar with it first by looking at some of the resources available here. After that, you can watch heredata acquisition.
After reviewing these documents, you can post back with any specific questions.
-
I get the error code 643 during the installation of the dates... I tried yesterday, some steps that have been put to me... they did not work... Please help
There are 2 updates will not install... Ive had this problem for the last 6 months
See if this Microsoft Support will help you:
http://support.Microsoft.com/kb/976982
Note: there are 2 methods. If the August challenge it for me does not help, try a 2nd.
Another article to number 643
http://Windows.Microsoft.com/en-us/Windows7/Windows-Update-error-80070643.........................................................................................
Take a look at this answer of MS Answers forums:
-
When I run defrag, an IE window opens and closes and a file download-security warning comes up and asks me to run or save the file name: c:\windows\system32 dfrgui.exe, if I hit then another warning of IE - sec stands up and says 'the Publisher could not be verified. Are you sure that you want to run. I struck and the loop repeats. I run a diag of the F10 boot menu with dell. They say that its software and non-material, pay! Microsoft says that Dell is responsible. Other programs to do the same thing. I've updated and rerun my AVG security without error. We are automatically updated, and no other programs were added. Please help me fix this loop? SOS?
Vista - open file - security warning
http://www.Vistax64.com/Vista-security/125044-open-file-security-warning.htmlHow to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
http://support.Microsoft.com/kb/936212/#appliesToHow to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/default.aspx/KB/929135Your programs launch properly from Safe Mode? Or Normal Mode if you create another user to test with?
Vista advanced boot options
http://Techblissonline.com/Vista-advanced-boot-options/Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking. Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive. If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.
I see a lot of recommendations here for programs such as -
Malwarebytes' Anti-Malware
http://www.Malwarebytes.org/MBAM.phpSuperAntispyware
http://SUPERAntiSpyware.com/ -
BlackBerry smartphones wipe all my data PLEASE HELP
I tried to back up my phone with the blackberry desktop manager. I continued my password (I couldn't remember exactly what it was, I went online and to reset to the last attempt). I received the confirmation email that it has been reset, so I returned the new reset password. He said it was bad anyway and started wiping my device. EVERYTHING - all my contacts, all my sms, all my work, all emails. I jumped the battery when he was about 6% of the wiping process, but every time I got back on it starts wiping again. Please please please help me, how can I stop this? It's my phone, I have entered the correct password, I wanted to just back up my data and now I lose everything instead. Please help I have no idea who to call or where to go.
Here is some info:
http://BTSC.webapps.BlackBerry.com/BTSC/search.do?cmd=displayKC&docType=kc&externalId=KB25063
Page 14
-
Hi, after all stages of extraction of data from oracle to oracle during the execution of command "start extract ext1" his error giving this handler does not run both source and target, can you please help me. Thank you
Hello
The setting should be as below, and not only the port number should be...
PORT 7809
Kind regards
Veera
-
I have the data into two table with the structure of similar column, I want to loop through the data in these two tables
based on some condition and runtime that I want to put the query in loop for example, the example is given, please help me
create table ab (a number, b varchar2 (20));
Insert into ab
Select rownum, rownum. "" sample "
of the double
connect by level < = 10
create table bc (a number, b varchar2 (20));
Insert into BC.
Select rownum + 1, rownum + 1 | "" sample "
of the double
connect by level < = 10
declare
l_statement varchar2 (2000);
Boolean bool;
Start
bool: = true;
If it is true, then
l_statement: =' select * ab ';
on the other
l_statement: =' select * from bc';
end if
I'm in execute immediate l_statement - something like that, but I don't know
loop
dbms_output.put_line (i.a);
end loop;
end;
Something like that, but this isn't a peace of the code work.
Try this and adapt according to your needs:
declare
l_statement varchar2 (2000);
c SYS_REFCURSOR;
l_a number;
l_b varchar2 (20);
Boolean bool;
Start
bool: = true;
If it is true, then
l_statement: = "select a, b, AB;
on the other
l_statement: = "select a, b from bc;
end if;
--
Open c for l_statement;
--
loop
extract the c in l_a, l_b;
When the output c % notfound;
dbms_output.put_line (l_a |') -' || l_b);
end loop;
close c;
end;
/
-
I'm so frustrated! I have CS5 Master Collection. I want to UPGRADE to CS6 Master Collection. I want to be on the cloud! I can't find where to put up-to-date or any CONTACT to ask for help. It shouldn't be this hard. HELP Please!
See the link below:
-
My themes have disappeared.
I have not changed the login data.
Also cannot save new themes. Just sitting save / freezes.
Please help.
Hello
have you tried to connect to the Adobe Color CC and see if you can find them on the site? Have you checked that you are in the right library? I hope looking at Community under your themes page you will recover what seems to be lost. Keep us updated!
-
Hello
I get the error as adobe Illustrator crashes when loading multiple pages PDF.
Please help me. Thanks in advance.
Illustrator is limited to 100 work plans. Up to 120 pages will never work.
Maybe you are looking for
-
in toolbar top "Mozilla Startpage" appears whenever I hit the "home" button and the real homepage, which in my case is the Cincinnati Enquirer.
-
I can access Windows Live from my macbook, but when I try to go in my hotmail Inbox I get a sorry, there is a problem with hotmail right now. I CAN access my hotmail to my IMac account. What is happening that I can't access my account hotmail to my
-
Is it Possible to connect HP Photosmart C4780 to FiOS without CD?
When I arrived at the origin of my printer, I have Verizon DSL and haven't had no problem setting, the printer via the software CD. Since I spent to Verizon FiOS, but my sister lost the CD. How can I connect my printer to FiOS without the CD and then
-
Increase the memory by deleting the old service paks.
Can I remove the old service paks, updates and free memory on my hard drive?
-
Windows 7 (64 bit) does not update error messeges show?
Hi my name is daniel, I have a dell laptop running the current version of windows 7 (x 64-bit). My computer won't let me not updates me to the computer, it always ends with errors. I've heard of system integrity check and repair to see if there is an