Error in simple FormCalc Script

Hi
The following script in a checkbox change event returns the error below:
Z_Lso_BookingData.#subform[0].Subform6.CheckBox1::change - (FormCalc, client) -
if ( $.value == " 0" ) then
     Subform2.presence = "invisible"
else
     Subform2.presence = "visible"
endif
Error: invalid property get operation; value doesn't have default property.
Any suggestions what could be wrong? Thanks for responding.
René Morel

Hi,
If I get your problem then you are trying to make the check box visible and invisible based on some parameter.am I right then I would like to suggest to follow the following code in the script editor:
And if you want to make some text hidden/invisible based on some RFC parameter then try out this code:
Else if you are comparing on the basis that if the parameter returned is null then this would work.
In the script Editor try this script on the field in with the following
Show: initialize
Language: formcalc.
Run at: Client
If ( $.isNull ) then
$.presence = "hidden"
endif
Or try out this  code
Write this code on superior subform.
If ( $.<FIELD>.isNull ) then
$.presence = "hidden"
endif
Provided the subform should be in flowcontent.
If you still see any problems let me know if you require any further help.
Thanks,
kris

Similar Messages

  • Simple formCalc script to set ALLtext fields = 1 text field

    I want to add a button that will calculate all text fields in the form = 1 individual text field. I cancalculate 1 txt field = another text field, but don't know how to set multiple text fields = 1 text field. Ex: AutoFill button.
    Thanks!
    -JoeF

    Thank you for your reply...I got the answer a bit differently as I wanted to use a button to AUTOFILL. Here's what I did:
    topmostSubform.Page1.OC.Button2::mouseUp - (FormCalc, client)
    File_Name[1]=File_Name
    File_Name[2]=File_Name
    File_Name[3]=File_Name
    File_Name[4]=File_Name
    File_Name[5]=File_Name
    File_Name[6]=File_Name
    File_Name[7]=File_Name
    File_Name[8]=File_Name
    File_Name[9]=File_Name
    File_Name[10]=File_Name

  • Error in FormCalc Script of Adobe Interactive Forms

    Hi,
    We created certain <b>Custom I.S.R. Scenarios</b> and attached them to Workflows. So in these regards, we had already created the needed forms in Adobe Interactive Forms Transaction(SFP) and launched the Scenario successfully in Enterprise Portal.
    But we have a couple of requirements like during <b>Create</b> mode of the form, I should be able to modify certain contents of the form, and during the <b>Change</b> mode of the form, I should be able to modify certain other fields of the form. So I had opted for <i>FormCalc</i> Scripting in these regards.
    I used the following code...
    if($record.CONTROL_PARAM.ISR_MODE == "CHANGE")     
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Well, I used the same script in two of my forms. For one form, it's working very perfect. But for other form, it's giving the following error..
    Error : accessor '$record.CONTROL_PARAM.ISR_MODE' is unknown.
    I am very much mazed, why the same code behaves in 2 ways in two different forms.
    So can anyone help me in these regards?
    Regards,
    Raja Sekhar

    Hi,
    I solved the problem by applying alternate solution.
    I used Java Script instead of FormCalc Script.
    That cleared my errors.
    Regards,
    <b><i>Raja Sekhar</i></b>

  • Error when running a script using upsshell.exe

    I have a simple custom script which is
    Sub Test1()
    Set fso=  CreateObject("Scripting.filesystemobject")
    Set ts = fso.CreateTextFile("D:\DATA\****\Outbox\Templates\Test.txt")
    ts.writeline "hi"
    End sub
    When I am running it manually in workbench, the script runs fine but when I try to run it using upsshell.exe(command provided below)
    D:\Oracle\MIDDLE~1\EPMSYS~1\products\FINANC~2\SHARED~1\upsShell.exe CustomScriptEx=****~admin~****~~****~D:\DATA\test\Outbox\Logs~Test1~1033~0
    i get the following error
      ERROR:
        Code............ 438
        Description..... [Script failure caused error]: Object doesn't support this property or method
        Procedure....... modupsShell.ExecuteCustomScriptEx
        Component....... upsShell
        Version......... 1112
        Process ID...... 292496
        Thread.......... 290292
      IDENTIFICATION:
        User............ admin
        Domain..........
        Computer Name... *******
        App Name........ ****
      PROCEDURE STEPS:
        1-Split Arguments
        2-Create Load balancer=*******
        3-Authenticate
        4-Get Next App Server
        5-Open App Server=*******
        6-Execute the script=Test1
        7-Step was not reached, a previous step failed
    Any ideas on the error?

    Hello Verdulken,
    I have a few additional questions:
    Does your application function correctly when running the LabVIEW operator interface you have created as a VI in the LabVIEW development environment (i.e. does this problem only occur when the LabVIEW operator interface is run as an executable)?
    What is the error that you are receiving?
    Regarding the VI that you open programmatically, do you open it in a visible manner (i.e. use the Show front panel when called option from VI Properties)?If so, do you also close this VI after it finishes (i.e. use the Close if originally closed option from VI Properties)?
    Does the error occur on the step that calls this very same VI again later in the sequence?
    Does your application function correctly if you use the development adapter for all of your calls?
    Thank you in advance for this information,
    Matt G.
    National Instruments
    Applications Engineering

  • Need help with a FormCalc scripting

    I am new to FormCalc and need some help. I am creating an interactive PDF in which I need a FormCalc script code for the following situation. I need to have a check box initate a script in another field. For example; I have one numeric field for quanity ordered (user input) and a check box for an optional add-on. Once the check box for the add-on is selected; I need a third field to reflect the price of the add-on * the numeric value in the quanity field.
    ProductPrice     Product Quanity          Add-On                        Total Cost
    Pd1                    2                              ($300) check box            Product Price * Product Quanity  + Add-On Price (if clicked) * Product Quanity
    Can anyone help?

    That was helpful but I still can't see to get it work. In the form I am creating The field that needs to autocalc. is to be triggered by the user clicking an add-on box. I have the add-on checkbox values set as 1=check and 0=unchecked. The idea is that when the that box is checked, the "ItemTotal" field to be calculated will be triggered to then take the Quanity field and mulitply by 300. Below is the script I tried to use and the error message returned when the Add-on box is checked.
    if (Add-onBoxName == 1) then
         Quantity * 300
    Error message in Adobe Reader when box is checked:
    Script failed (language is formcalc, context is xfa[0].form[0].topmostSubform[0].Page2[0].Add-onCheckBox[0])
    script=if (Add-onCheckBox = = 1) then
    ItemTotal = Quantity * 300
    Error: syntax error near token '300' on line 4, column 0.

  • Running a simple shell script

    Not being a regular user of terminal on OSX, I have managed to forget how to run a simple shell script. The purpose of the script is to rename a set of files contained in a specific directory. Here is a sample of the script I wrote some time back:
    mv product_22.jpg 080688614423.jpg
    This command repeats for each file I need to rename. My recollection is that I simply put the actual script text file in the same directory as the images to be renamed and drag the script file into a new terminal window and hit enter to run. When I try this however I receive the following error:
    ord2: Permission denied
    Can anyone help me out here? I'm running 10.2.8. I seem to beforgetting a critical step somewhere along the way.
    Thanks
      Mac OS X (10.2.x)  

    Have you set the execution bit for the script? When not, use: chmod 755 script.

  • Simple Shell Script Question.... [java related]

    Hey guys! This is my first post, as im new here :S
    I have a simple problem for a big program.
    We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has to do with the syntax, as the person who made it is not a linux pro. I don't know MUCH about shell scripts, but I'm pretty sure I know where the error lies.
    Our Script:
    java -classpath ./:./jars/tools.jar:./jars/nexus.jar impsoft.nexus.installer.Install
    chmod a+x run.sh compile.sh
    The Error:
    Exception in thread "main" java.lang.NoClassDefFoundError: impsoft/nexus/installer/Install
    What I think the problem is:
    ./jars/nexus.jar impsoft.nexus.installer.Install
    Thank you for ALL of your help!

    Hi Justin,
    Have you tried running the lines from the command line?
    The second thing you may want to try is changing the relative directory for the jar file from a relative one to a fixed directory. From the error, it appears that the install program is running but it is not able to locate a library mentioned in the program (which is probably the jar file listed in the classpath).
    Hope that helps.
    J. Haynes
    Denver

  • Error while executing the script adgetlnxver.sh

    Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
    -bash: [: -lt: unary operator expected
    [aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
    adapcctl.sh version 115.55
    /u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
    Apache Web Server Listener :httpd ( pid 8645 ) is running.
    Restarting the Apache Web Server Dedicated HTTP Listener..
    Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
    Restarting the Apache Web Server Dedicated PLSQL Listener..
    adapcctl.sh: exiting with status 0
    In adgetlnxver.sh: line 123 says
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
    if [ $redhatver -lt 5 ]; then
    LD_ASSUME_KERNEL="2.4.19"
    export LD_ASSUME_KERNEL
    fi
    fi
    Thanks,
    Vamsi

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • The restore session has stopped working. It tries to load, but then gives an error message that the script is not working and will not actually show the previous tabs I had open.

    I count on using the Firefox restore session feature. But it's stopped working. For the past couple of days, it hasn't worked a single time. (I haven't changed anything on my PC.) It just suddenly stopped working.
    Now it gives me an error message that the script has stopped working. It gives me a couple of options. I'm not sure of the exact wording, but one option is to stop the script and the other is to keep trying. But the keep trying never works.
    I have to stop the script, hence, the list with my previous tabs never comes up.

    Which file is mentioned as the cause of that script error?<br />
    Is that a file with a chrome protocol?

  • Simple button script not working

    I am using AS2 and need help figuring out why this simple button script is not working:
    stop();
    buttonWS1.onRelease = function(){
                        gotoAndStop("Stage1and2_Boss",4);
    buttonWS2.onRelease = function(){
                        nextFrame();
    //end
    My buttons are the square letter-puzzles below. They are images that I converted to "symbols" (specifically, buttons). I put their names as above (buttonWS1, buttonWS2, etc.) in the "instance names" boxes.
    I have no idea what is going on. Please help!

    Hi -
    1. Yes, buttonWS2 is the instance name
    2. The only code attached to it is the code I pasted above.
    3. onRelease does not execute because my trace statement does not appear in the output
    Here is the modified code for buttonWS2:
    buttonWS2.onRelease = function(){
                        trace("clicked!");
                        nextFrame();
    Question: It shouldn't matter if I have commented-out code within that set of codes should it?:
    buttonWS2.onRelease = function(){
              //if (puzzleschosenarray[0] == 2 || puzzleschosenarray[1] == 2) {
              // cannot be chosen -- make button non-functional
              //else{
                        //puzzleschosenarray[roundnumber-1] = 2;
                        trace("clicked!");
                        nextFrame();

  • Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results

    Error message: "Warning: unresponsive script". Afterward, the system freezes and will then crash. Crash reports have been submitted many, many times without response. I have tried the fore-mentioned solutions with either no results or very bad results which I filed a report but did not receive an answer. The application to block scripts actually worsened the problem and I could not correct the situation for a while (no response from Firefox, at all). I have also been through this procedure without any one contacting me, AT ALL.
    == URL of affected sites ==
    http://http://www.facebook.com (always) and www.YouTube.com (sometimes)

    There does appear to be any support whatsoever from mighty "non caring" FIREFOX & people are getting fed up. We may as well try another system, if they can't be bothered to provide any support for their system, we can't be bothered to use their system.
    Brianeng

  • HT1222 hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package "mzps6175750011235388779.pkg"

    hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
    can you please advise me what should i do to fix this

    Some ideas.
    https://discussions.apple.com/message/20034600#20034600

  • Error while running OMBPlus Script

    Hi,
    I am getting below error while running OMBPlus script.
    +../../../jdk/bin/java[87]: getconf: not found+
    OMB*Plus: Release 9.2.0.4.0
    Copyright (c) 2003 Oracle Corporation. All rights reserved.
    Exception in thread "main"
    I am not even able to run ./OMBPlus.sh.
    Can anyone help me on this?
    Thanks in advance,
    Regards,
    Sachin Bansal

    Hi Nawneet,
    Thanks for the reply..
    I tried the same thing on our server. But there also I am getting the same error.
    Am I missing anything?
    What I am doing is:
    1. Created one .tcl file (deploy_map.tcl).
    2. Going to path where OMBPlus.sh resides i.e.$OWB_HOME/bin/unix
    3.Then I called ./OMBPlus.sh and passed the path of deploy_map.tcl as an argument.
    For e.g. if path of deploy_map.tcl is /abc/xyz/deploy_map.tcl
    Then I would call OMBPlus like below:
    ./OMBPlus.sh /abc/xyz/deploy_map.tcl
    Even if I would not pass any argument then still it should be connected to OMBPlus. But that's not happening.
    Regards,
    Sachin Bansal

  • Installing on Windows 7, IE, get error message "run time error has occured in script"

    when attempting to install latest version of Flash Player on Windows 7 computer with IE, during installation I get message "runtime error has occured in script".
    & installation ceases.  what can I do to obtain Flash Player on my computer?  Aaron

    100,000 Thank you"s!    I tried what you suggested, and can now
    watch PLAYON through my Roku on the TV set.   Previously, Roku insisted that I have Adobe Flash Player.   Aaron
    Senators Should Wear Uniforms like NASCAR Drivers So We Could Identify Their Corporate Sponsors.

  • I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    I can no longer open excel documents in my doc to go app. Error message simple reads can not open attachment. And the attachment is now a winmail.dat

    winmail.dat files usually mean the email has been sent in rich text format - you could either the person who sent it to send it in a different format e.g. plain text or HTML, or there are a few apps in the store that support it (search for winmail.date in the store).
    winmail.dat files : http://support.apple.com/kb/TS1506

Maybe you are looking for

  • Can I configure an external drive to be password protected or do I need to buy an external hard drive already password enabled

    I asked at a Hong Kong apple shop if they had password protected external drives.  They didn't, I bought one anyway. I'm wondering can I configure this drive.  If yes, what do I need to do?

  • GS1 barcode decode Function module issue

    We are facing an issue with LE_EAN128_DECODE standard Function module . standard gs1 barcode uses modulo 13 calculation method to decode check digit where as standard sap uses modulo 10 . standard function module LE_EAN128_DECODE uses modulo 10 metho

  • Data labels on pie chart

    Hi, I want both the series label and % value to display on my pie chart, but what i want is % value to be displayed inside pie slices and series label outside the pie slices, right now we have option to do either of the one my Report Builder is 9.0.4

  • How can I filter a table by Calendar weeks

    I have a table categorised by Category and Name as my primary. I have added a column with a date range per calendar week. How can I best setup the table where i can view it in as per schedule calendar week. Should i create a second table and access t

  • Apple prores 422

    Hello, I have a question about importing a movie file. When I import a 5dm2 Movie in Final cut pro X 10.1 and select that I want to encode it to Apple prores 422  or a proxy file it still imports as a original movie Quiktime -H264. I tried all sorts