Few Data not save

only two fields data not save. I have placed a script it works fine but when open after saving file, the fields become empty. Why such happen?
calculation event:
var a = Itemnumber.rawValue;
var rowb = xfa.resolveNodes("form1.page2.Subform1.Table1.Row2[*]");
var rowc = xfa.resolveNodes("form1.page2.Subform2.Table1.Row2[*]");
var rowd = xfa.resolveNodes("form1.page2.Subform3.Table1.Row2[*]");
for (var i = 0; i < rowb.length; i++)
var b = rowb.item(i).Calculation.rawValue;
var bb = rowb.item(i).Total_dispensing.rawValue;
if(a==b)
var x= bb;
for (var i = 0; i < rowc.length; i++)
var c = rowc.item(i).Initial.rawValue;
var cc = rowc.item(i).Site2.rawValue;
if(a==c)
var y= cc;
for (var i = 0; i < rowd.length; i++)
var d = rowd.item(i).ActualPatients.rawValue;
var dd = rowd.item(i).Actual_patient.rawValue;
if(a==d)
var z = dd;
this.rawValue = x+y+z;
if(this.rawValue == 0)
this.rawValue ="";
in addition I am using acrobat X pro. another field data in same form get saved.

I've extended my sample to handle the Actual_patient figures as well, so it now looks like;
if (!Itemnumber.isNull)
    this.rawValue = 0;                          
    var rowb = xfa.resolveNode("form1.page1.subform2.Table2.Row2.(Calculation.rawValue == '"+Itemnumber.rawValue+"')");
    if (rowb !== null)
        this.rawValue += rowb.Total_dispensing.rawValue;
    var rowc = xfa.resolveNode("form1.page1.subform3.Table3.Row2.(ActualPatients.rawValue == '"+Itemnumber.rawValue+"')");
    if (rowc !== null)
        this.rawValue += rowc.Actual_patient.rawValue;
And if Itemnumber can be duplicated then it would look like;
this.rawValue = 0;
if (!Itemnumber.isNull)
    var rowb = xfa.resolveNodes("form1.page1.subform2.Table2.Row2.(Calculation.rawValue == '"+Itemnumber.rawValue+"')");
    for (var i=0; i<rowb.length; i++)
        this.rawValue += rowb.item(i).Total_dispensing.rawValue;
    var rowb = xfa.resolveNodes("form1.page1.subform3.Table3.Row2.(ActualPatients.rawValue == '"+Itemnumber.rawValue+"')");
    for (var i=0; i<rowb.length; i++)
        this.rawValue += rowb.item(i).Actual_patient.rawValue;
I have updated my sample https://acrobat.com/#d=uQmAFWaVoHydJQ1Xtf0QhQ
I'm still not sure how the Itemnumber, Calculation and ActualPatient values are created in my sample you have to key them in, once keyed in the calculation match the expected output you posted.
Regards
Bruce

Similar Messages

  • Data not save to database

    hi,
    I need to customize a standard form, so I add a new window(W) and two blocks. Blocks have master(M)-detail(D) relations. Also there is a new button(B) in one standard block to call W.
    Of course, A and B are database blocks.
    When B is pressed, I read one standard block, search more information in database and then populate A and B. The user can modify data or save directly.
    The problem occurs when the users save. Nothing happens.
    When the save button is pressed appears the FRM-40400 message (X records save) like everithing goes well, but really nothing appears in database tables.
    Thans for help.
    David.

    I don't know what to do now.
    I try everything.
    DML Data Target Type property is OK.
    Database Item/Block properties are OK.
    I can find with my tests that the problem occurs only saving data. If table has data and I do an execute_query, the blocks populate ok.
    I'm thinking that standard libraries, only let to do a commit to such fields or blocks with a concrete status. Is this posible?
    Thanks to all.

  • Picture not save.

    Dear All,
    I m using developer 6i. Yesterday i export data from 8i to 9i database second release. After this new picture data not save with using form but it save with toad. wht i do for this?

    Hello,
    Maybe it could be a question of patch. What is your exact 6i version ? Did you get the last patch, 17 or 18 ?
    Francois

  • Data values do not save

    Hi,
    When I input data in a data form and save it, the message "The data has been saved" is displayed but the values disappear from the data form and are not stored in Essbase.
    What might be the reason?
    I am on Planning 9.3.1.
    Thanks

    Hi,
    This has been covered a few times recently.
    Have a read of these
    Problem saving data on form
    Data not getting saved from forms
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Save a calendar list as a template without data - not all views are getting saved

    I have read plenty of articles showing how to save a list as a template and create a new list from that template. I have a very large calendar list that I want to save as a template. I do not need that data as it is last years. All I want to do is save it
    as a template and create a new list for 2014 using that template.
    Following the process, everything worked fine, but the template that got saved did not save all of the views. I have searched all over for a solution, but no luck. This calendar list has every user as a view, so there are a lot of views created.
    Is there a limit for the number of views in a list that would be saved? How do i create a new calendar with the same views. I do not need that old data.
    Bruno

    SAP support was able to help => Solution is SAP note 1237688.

  • I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    I just bought a new Mac and I want to transfer some data (not all) from my old Mac.  Basically, I want to move my itunes library, iphoto library, and a few documents.  I have not even turned on my new Mac yet.  Is the best way by an external hard drive?

    If both have Firewire ports then you can accomplish your goal by using Target Disk Mode. If this is not possible then you can do using an external drive or if you have a local network connect both to your network and use filesharing between the two computers.
    File Sharing on Macs
    Mac 101- File Sharing

  • I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    The device may be formatted for Windows, as NTFS. The format is readable, but not natively writable on a Mac. To write to the device, you must either reformat it (erasing all the contents) or install third-party software to enable write access to NTFS.

  • Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover file?

    Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover filled form with data from temp locations?
    I was not aware that ctrl+s no longer works in reader and closed the PDF after savign it(with ctrl+s). However ,the data is lost and there seems to be no way to recover it.
    I cannot find any temp files created by Reader on my system.
    Also to my surprize(and shock), the reader did not even show a warning before closing the PDF. Does anybody know if/where can I recover the file from?
    Guys, Please reply ASAP if you have got any sort of solution!

    Hi Pat,
    Are you using Adobe Reader XI? And not Acrobat. It does not ask me to save the form if there are unsaved changes.
    I have used previous versions of reader for saving this form data and it did allow me to save it with ctrl+s. And those versions did prompt me to save the changes before closing.
    I guess I should not have updated the reader.

  • Data Modeler Save and Save As not working

    I am using the latest SQL Developer (Version 3.0.04 Build MAIN-04.34). Within it I am trying to use the Data Modeler. In the Browser, under Designs, Untitled_1, Relational_1 I can add tables and arrange them in a diagram.
    It is not possible to save it.
    Going File > Data Modeler > Save I am presented with a 'Save Design' window with a 'File name' of 'file:/' and a 'File type' of 'dmd' and 'dmdz'. I have tried numerous alternatives to save my diagram. I must remove the literal 'file:/'. I have tried 'test', 'test.dmd', 'test.dmdz'. I have tried the default location of 'C:', I have tried the directory in which I wish to store the diagram. To no avail.
    Does anyone have any ideas as to what I need to do to save this diagram?
    David
    Edited by: djmartin_ACC on 8/06/2011 19:12
    Edited by: djmartin_ACC on 14/06/2011 16:12

    K,
    I pointed the Default Designs Directory to a directory on my PC (C:\David's stuff) but when I press 'OK' the window does not close. I tried different directory names - C:\With space's, C:\Without_spaces, and C:\Withsmal. It doesn't matter which I use the window will not close.
    When I use the same name in each of the five slots, press 'OK', then 'Cancel', and reopen the Preferences window all but Default System Types Directory contain the value I supplied. Is this other directory something special?
    Once I do have data in any of the slots, the window will not close when 'OK' is pressed.
    I closed and reopened SQL Developer and the four previously populated Directory slots are empty again.
    I have tried this with MyEclipse running and not running without any difference in behaviour. The only other software I am running is MS Word, Firefox, and Citrix.
    Any ideas will be gratefully received. I will be trying the software on my personal laptop this weekend and see what differences I find then.
    David

  • JDev 11.2.1 Commit button does not save data

    I am using JDeveloper 11.1.2. I am having trouble saving updates to the database. I am trying to create an application that displays database records in a form, allows the user to modify data in the form and them saves that data to the database. I have successfully created the database, entity objects, view objects and application module. I created the form on the page by dragging the data control on to the page. I used the same method to create a table from the same data control. I included a submit button on the form. I dragged the create, delete and commit buttons onto the form. This application gets the data from the database, the user modifies it, select the submit button. This displays the change in the table. I can do the same with create and delete. However, I use the commit button to write the data to the database but it never happens. I have set up logging with –Djbo.debugoutput=console. I can see that the delete button {#bindings.Commit1.execute} is doing something but no change is made to the database.
    Thanks for your help, Steve

    I have had some success. I tested with the BC browser in my application and got the same results, no update. So I created a new application. I used the 'Create Business Components from Tables' option to create a set of Entity objects, Entity View objects, and Query View objects. The interesting thing I found was that when running the BC browser and trying to update the database using an Entity View object I had success. Was able to add and modify records and results saved in db. However, when I use the browser and try to do the same thing using a Query View object I get the behavior I've been seeing all along, it looks like it is working but not data saved to the database. In order to make the Query View object updatable in the browser I had to make all of its attributes updatable 'Always'. this made the view look updatable in the browser but no save. In my real application I did not have any Entity View objects. the Query View objects look the same so I didn't create any Entity View objects. So I want back to my real application, removed all Entity objects and Query View objects, recreated them with the 'Create Business Components from Tables' option. I created Entity View objects this time. When I drat a data control based on an Entity View onto my page I can make updates and the commit works.
    I'd like to understand the difference between the Entity View objects and the Query View objects. Once they have been created I have a hard time telling them apart. The Entity View object for the Employee looks very much like the Query View object for Employee. There are some flags set differently and the Entity View object 'Entity Objects' tab shows the Employee table selected. I can tweek the Query View to look like the Entity View but it still does not behave the same, the commit does not save data.
    Thanks for all the help, Steve

  • Could not save logon data

    Hello,
    We want to use the User Mapping System from the portal. For example we want to use Lotus Notes. Therefore we want to map the appropriate Lotus notes user credentials. We tried all the methods. We have allocated an system object/alias for example: CCC Notes Access. We have put in the User credentials after that we pressed the save button we got the error 'could not save logon data'.
    Can anyone tell the process how to do..
    Thanks
    Murali

    Hi,
      This sometimes occur if the database is not ready to store the value. Make sure appropriate services are started. If not, restart the server and check saving the details.
    Regards,
    Harini S

  • User Mapping: Could not save logon data

    Hi
    I have installed EP6 NW04 SP9 on an AIX system with DB2 database and I'm trying to assign mapping data (user & password) to users through User Administration -> User Mapping option.
    When I try to save it, the portal shows the message: Could not save logon data.
    During the installation I imported the Cryptography toolkit with strong encription so the property ume.usermapping.unsecure is set to false.
    Would it be possible somebody to help me please.
    Thanks

    Hi,
    I have the same problem and the parameter 'ume.usermapping.unsecure' is TRUE and encryption is weak. So, in UME configuration, the portal is integrated with ADS using ADS Flat + Database.
    The version portal is EP6 SP 11!
    Help us, please!
    Thanks

  • Diadem Does not save data to neither portal nor file

    I tried to acquire data from DAQ USB-6289 and save data to portal or file in DIADem DAC, but failed to get any data in portal, and no file was created, and no error was promptEd. But when I open a example file with saving function, it works fine. I'm sure there isn't any problem about the script since it is a very simple one. Do you have any suggestions?
    Thanks a lot.
    Jing

    Hi Jing -
    Since you said you're building your scheme based off of an example, I'm going to assume you've already included a Save Data or Save Data with Trigger block in your DAC scheme.  This is mandatory if you want to use Data Storage with either of the two following techniques.
    If you're running your DAC scheme programmatically, are you using the SchemeMeasTest() command, or the SchemeMeasStart() command?  If you want your DAC scheme to be run with Data Storage (Data Portal or File) enabled, you'll need to use the SchemeMeasStart() command.  The other command merely runs the scheme with visualization only (as a test).
    If you're running your DAC scheme interactively, are you pressing the Start Display button or the Start Measurement button (see below)?  These two buttons are the interactive versions of the aforementioned programmatic commands.  If you want to test your visualization without Data Storage, use the Start Display button.  If you want data to be saved to either the Data Portal or File, use the Start Measurement button.  
    Let me know if this still doesn't help.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Message "Could not save because there is not enough memory (RAM)"

    Running Mac OS9.2.2 Suddenly start to get and error message " An error occured saving the enclosure "file name" Not enough memory" when trying to save an attachment in Microsoft Outlook. Same thing with Adobe Photoshop - when trying to save an any new file - message "Could not save because there is not enough memory (RAM)".
    Already Tried:
    During several freezes, suddenly my mac stop recognize any extensions. When used Microsoft Outlook and tried download an attachment got an error message type 3. So I create a new set in extensions manager and get ride of Type 3 error, but get a new error message "Not enough memory" when try to save an attachment, or "Not enough RAM" - when try to save an EPS file in Adobe Photoshop.
    In Outlook ("Get Info" section)changed memory size:
    Suggested Size: 7168 K
    Minimum Size: 16000 K
    Preferred Size: 16000 K
    In all mailboxes - there are not that many messages and they are not heavy at all, I checked them all before. And I rebuilt/compressed Outlook database - holding Option while restarted Outlook...
    Adobe Photoshop - started acting weird at same time. Even if I want to open a file through the menu: File - Open - it gives me the same message.
    Who has any clue - please help!!!

    Hi, Mike -
    I have Outlook Express's Preferred memory allocation set to 45000K, and don't have any problems with attachments. Don't be afraid of increasing OE's Preferred memory allocation (nor IE's, either - I have that set to 65000K).
    How large is the Messages file used by the account you're using in Outlook? You can examine that file here - (hard drive) >> Documents >> Microsoft User Data >> Identities >> (account folder, either the default "Main Identity" or one you've created) >> Messages.
    It seems that the Messages file grows with each email received; but does not shrink when an email is deleted. Over time, especially when lots of attachments are involved, that file can get huge.
    One way to help it not get too big is to -
    • delete attachments after copying them to the desktop. In case you're not familiar with the easy way to copy an attachment to the desktop - select the email so it opens; click the small triangle next to the legend "Attachments" between the upper pane and the lower pane in Outlook's main window; drag the attachment from the list out onto the desktop. It will be extracted and copied to that location. Once that has been done you can delete the attachment from the email with which it arrived.
    • after purging your emails of unneeded emails and attachments, compact the file. To do that, quit Outlook if it is running. Then hold down the Option key and start up Outlook. A splash screen will appear asking if you want to compact its database files - click yes. Follow the prompts.
    Compacting OE's database can also fix some instances of a damaged database that can't be used.
    If you could answer a few more questins, perhaps we can offer additional suggestions -
    1) How much RAM do you have installed? That means the physical RAM, not counting Virtual Memory in use, if any.
    2) How full is your hard drive - how big is it, how much free space is left unused?
    3) When was the last time you rebuilt the desktop file?

  • I took photos and they saved in my camera roll. they were there the next morning. I took more pictures and they are all gone. why did they not save and can i get them back ?

    I took photos on my iPhone on yesterday and they all saved. I looked at my photos the next day and they were still there. I took more photos and now none of the last photos that I took in the last two days are there. Why did they not save? Can I get them back? My storage was not full. I just updated my iPhone to ios 7.1 a few days before.

    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

Maybe you are looking for