SetInstance _subform notation on multiple

Hi!
Here is what I want
In a Dynamic form I want all my variable subforms to be hidden from the start - I want to use the setInstances(0) method.
The user fill a checkbox and I then want to show all subforms for that choice - 15+ (there are 6 checkboxes like this)
I would like to name all 15+ subform with same name = sub_choice1 and later use a script like
var o_choice1 = xfa.resolveNodes("sub_choice1[*]");
... and then use length and iterate through showing or hiding with setInstances(1/0) acording to checkbox status
It is not possible to use the subform.instanceManager.setInstances UNLESS ONE subform is actice from the beginning.
Therefore I would like to use the _sub_choice1 notation which works.
**Problem**
But I cannot find a way to use the _sub_choice1 notation when working with multiple indexes of subform - like _sub_choice1[0]...
Any good ideas out there how to solve this issue.. go for it
Thanks
Thomas Groenbaek
Jyske Bank

The xfa.resolveNode is expecting a string and not an object so you can iterate through a loop like this:
for (i=0;i<numOfSubforms;i++){
     xfa.resolveNode("sub_choice[" + i + "]").presence = visible
Hope that helps
Paul

Similar Messages

  • How can I set up engineering notation in numbers '09?

    I am taking some electronics courses in college and need to be able to use engineering notation ie: 1E-3, 9E6, etc. How can I best set this up in Numbers '09? All of my entries are automatically being formated as scientific notation (not multiples of 3) and the only other option I can find is just standard numbers. Thank you for your assistance.

    Good Evening All,
    eBomber's solution works if the OP has Excel (but as Jerry noted, the OP has not responded, so we are talking amongst ourselves).
    Jerry's solution, using LEFT() works.
    I found this works, using RIGHT() to grab the exponents of the straight Scientific value and Scientific divided by 10 and 100. (No need to consider the + or - of the exponent at this stage). Then find MOD(<each exponent>, 3) and test with IF() to see which MOD is zero (i.e. which exponent is an exact multiple of 3). Then grab the relevant ("Engineering") value from Columns B, C or D.
    In Cell E2 and Filled Down:
    =IF(MOD(RIGHT(B2,2),3)=0,B2,IF(MOD(RIGHT(C2,2),3)=0,C2,IF(MOD(RIGHT(D2,2),3)=0,D 2,"")))
    Hide Columns B, C and D for a neat look.
    Regards,
    Ian.

  • UML notation: Class operation return value multiplicity

    Hallo,
    how would you write function from example below using UML notation on implementation level, please:
    class Coin {
      public String[] getSideNames() {
        return new String{ "Odd", "Even" };
    }Multiplicity in return value is troubling me. I've tried +getSideNames( ) : String [ 2 ] but my tool just created new class named "String[2]" :-( To be precise I know that return value of function is array of MyClass with one or more element (1..*) so created class name was "MyClass[1..*]" -- nasty name to pass to javac isn't it? :-)
    Is is possible to write multiplicity of return value this way? I couldn't find anything in omg's "UML: supertructure document" :-( I am not telling that it's not written there :-)))
    Thank You.

    jschell>
    Unfortunately [n] behaves in same fashion as [*] =>
    creating class named MyClass[1..n]" :-(
    duffymo> what's the point?
    this was only sample, real application is far more
    complex than that. Even "nature" of result was just
    made up. How am I or anyone else who responds supposed to know that?
    >
    duffymo> you can have cardinality in a class diagram
    that shows exactly two values are available.
    yup, i ended like that but there's still problem coz
    return value class is "Object[]" :-(Sounds like a bad design, but I haven't seen the code, so I can't tell.
    duffymo> personally, i don't think that exposing the
    side names as ...
    "side names" were just example :-) IMHO there are
    certain situations where one could say "screw the
    abstraction" :-D E.g. for final classes from one
    package that cooperate on single time critical task.
    :)"screw the abstraction" - good luck as an object-oriented designer with that attitude.
    Either you're doing real-time work where time really is critical, or you're just another yutz who is congratulating himself on recognizing a time critical task without doing profiling or getting any real data. (A common mistake.) The maintainence and development time might be more critical here.
    Gotta admit that I'm not much interested in commenting on your poor approximation of the real problem.
    %

  • [UIX] How To: Return multiple values from a LOV

    Hi gang
    I've been receiving a number of queries via email on how to return multiple items from a LOV using UIX thanks to earlier posts of mine on OTN. I'm unfortunately aware my previous posts on this are not that clear thanks to the nature of the forums Q&A type approach. So I thought I'd write one clear post, and then direct any queries to it from now on to save me time.
    Following is my solution to this problem. Please note it's just one method of many in skinning a cat. It's my understanding via chatting to Oracle employees that LOVs are to be changed in a future release of JDeveloper to be more like Oracle Forms LOVs, so my skinning skills may be rather bloody & crude very soon (already?).
    I'll base my example on the hr schema supplied with the standard RDBMS install.
    Say we have an UIX input-form screen to modify an employees record. The employees record has a department_id field and a fk to the departments table. Our requirement is to build a LOV for the department_id field such that we can link the employees record to any department_id in the database. In turn we want the department_name shown on the employees input form, so this must be returned via the LOV too.
    To meet this requirement follow these steps:
    1) In your ADF BC model project, create 2 EOs for employees and departments.
    2) Also in your model, create 2 VOs for the same EOs.
    3) Open your employees VO and create a new attribute DepartmentName. Check “selected in query”. In expressions type “(SELECT dept.department_name FROM departments dept WHERE dept.department_id = employees.department_id)”. Check Updateable “always”.
    4) Create a new empty UIX page in your ViewController project called editEmployees.uix.
    5) From the data control palette, drag and drop EmployeesView1 as an input-form. Notice that the new field DepartmentName is also included in the input-form.
    6) As the DepartmentName will be populated either from querying existing employees records, or via the LOV, disable the field as the user should not have the ability to edit it.
    7) Select the DepartmentId field and delete it. In the UI Model window delete the DepartmentId binding.
    8) From the data controls palette, drag and drop the DepartmentId field as a messageLovInput onto your page. Note in your application navigator a new UIX page lovWindow0.uix (or similar) has been created for you.
    9) While the lovWindow0.uix is still in italics (before you save it), rename the file to departmentsLov.uix.
    10) Back in your editEmployees.uix page, your messageLovInput source will look like the following:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="${bindings.DepartmentId.path}"
        destination="lovWindow0.uix"/>Change it to be:
    <messageLovInput
        model="${bindings.DepartmentId}"
        id="DepartmentId"
        destination="departmentsLov.uix"
        partialRenderMode="multiple"
        partialTargets="_uixState DepartmentName"/>11) Also change your DepartmentName source to look like the following:
    <messageTextInput
        id=”DepartmentName”
        model="${bindings.DepartmentName}"
        columns="10"
        disabled="true"/>12) Open your departmentsLov.uix page.
    13) In the data control palette, drag and drop the DepartmentId field of the DepartmentView1 as a LovTable into the Results area on your page.
    14) Notice in the UI Model window that the 3 binding controls have been created for you, an iterator, a range and a binding for DepartmentId.
    15) Right click on the DepartmentsLovUIModel node in the UI Model window, then create binding, display, and finally attribute. The attribute binding editor will pop up. In the select-an-iterator drop down select the DepartmentsView1Iterator. Now select DepartmentName in the attribute list and then the ok button.
    16) Note in the UI Model you now have a new binding called DCDefaultControl. Select this, and in the property palette change the Id to DepartmentName.
    17) View the LOV page’s source, and change the lovUpdate event as follows:
    <event name="lovSelect">
        <compound>
            <set value="${bindings.DepartmentId.inputValue}" target="${sessionScope}" property="MyAppDepartmentId" />
            <set value="${bindings.DepartmentName.inputValue}" target="${sessionScope}" property="MyAppDepartmentName" />
        </compound>
    </event>18) Return to editEmployees.uix source, and modify the lovUpdate event to look as follows:
    <event name="lovUpdate">
        <compound>
            <set value="${sessionScope.MyAppDepartmentId}" target="${bindings.DepartmentId}" property="inputValue"/>
            <set value="${sessionScope.MyAppDepartmentName}" target="${bindings.DepartmentName}" property="inputValue"/>     
        </compound>
    </event>That’s it. Now when you select a value in your LOV, it will return 2 (multiple!) values.
    A couple things to note:
    1) In the messageLovInput id field we don’t use the “.path” notation. This is mechanism for returning 1 value from the LOV and is useless for us.
    2) Again in the messageLovInput we supply “_uixState” as an entry in the partialTargets.
    3) We are relying on partial-page-refresh functionality to update multiple items on the screen.
    I’m not going to take the time out to explain these 3 points, but it’s worthwhile you learning more about them, especially the last 2, as a separate exercise.
    One other useful thing to do is, in your messageLovInput, include as a last entry in the partialTargets list “MessageBox”. In turn locate the messageBox control on your page (if any), and supply an id=”MessageBox”. This will allow the LOV to place any errors raised in the MessageBox and show them to the user.
    I hope this works for you :)
    Cheers,
    CM.

    Thanks Chris,
    It took me some time to find the information I needed, how to use return multiple values from a LOV popup window, then I found your post and all problems were solved. Its working perfectly, well, almost perfectly.
    Im always fighting with ADF-UIX, it never does the thing that I expect it to do, I guess its because I have a hard time letting go of the total control you have as a developer and let the framework take care of a few things.
    Anyway, I'm using your example to fill 5 fields at once, one of the fields being a messageChoice (a list with countries) with a LOV to a lookup table (id , country).
    I return the countryId from the popup LOV window, that works great, but it doesn't set the correct value in my messageChoice . I think its because its using the CountryId for the listbox index.
    So how can I select the correct value inside my messageChoice? Come to think of it, I dont realy think its LOV related...
    Can someone help me out out here?
    Kind regards
    Ido

  • Print Multiple Parameter Value in Crystal Report 2008

    Hello and Hi
    i want to select multiple warehouse  in a pramater , i select and report working but parameter print only first parameter  value on report.how can print all selected values on report

    Hi
    I am assuming you select warehouses  WH1,WH2,WH3,.......
    You have to create a formula in Crystal
    It should look like this
    Join({?YourParamaterName},",")
    Place the formula on your report.
    The last Part of the formula is the "notation break"  between every parameter returned. In this case a >   ,   <
    Return would be WH1,WH2,WH3,.......
    Join({?YourParamaterName},"#")  would return  WH1#WH2#WH3#.......
    Hope you get the idea
    If this solution helps, please rate me.
    Regards
    Burger

  • Multiple repeating SubForms binding to the same data node

    Having multiple repeating SubForms binding to the same data node : In our documents, many times we need to display information from same table in multiple locations. For example, if document displays information of Insureds on one page and information of drivers on another page, we need to create a LiveCycle document with two SubForms. Each SubForm needs to have a repeating binding to CommonInsured element in XSD.  LiveCycle Designer is not able to handle such case. We cannot have two subforms bound to the same node, ONLY in a case where repeating option is selected for data binding.
    The only way I have found out is the following Javascript
    //Get the data node from XML. You will find the code for this function in //JavaHelperFunctions library.
    // InsuredDataRepeatingSubForm is a second subform.
    //You need to manually add instances to this subform at the
    //runtime and Insured data to each instance.
    var insuArray = JavaHelperFunctions.getInsureds();
        var i=0;
        for( i=0; i<insuArray.length; i++)
           if (i>0)
    var thesubform = this.InsuredDataRepeatingSubForm.instanceManager.addInstance(i);
                  thesubform.InsuredName.rawValue = insuArray[i].fullName.value;
           else
                   this.InsuredDataRepeatingSubForm.InsuredName.rawValue = insuArray[i].fullName.value;
    Is there any way I can achieve directly using bindings since we are trying to minimize javascript that changes the layout of the form?
    Thanks in advance!

    Unfortunately not. I've spent countless hours/days trying to do the same thing. You have to use code. The form consumes all the data it can into the repeating elements until there is none left and it is not reused.
    Here's a function I wrote just for that purpose. Feel free to use it:
    function loadData(source,target){
    target.setInstances(source.count);//set the target's subform instances to match the source's
    for (var a=0;a<source.count;a++){//loop through each subform instance
      var sourceSubform=source.resolveNode(source.name.substr(1)).all.item(a);
      var targetSubform=target.resolveNode(target.name.substr(1)).all.item(a);
      for (var b=0;b<sourceSubform.nodes.length;b++){//loop through the children of each
       if (sourceSubform.nodes.item(b).className=="field" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching fields
        if (typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData)=="undefined" ||
         typeof(targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.body)=="undefined")
         targetSubform.resolveNode(sourceSubform.nodes.item(b).name).rawValue=sourceSubform.nodes.item(b).rawValue;
        else
         targetSubform.resolveNode(sourceSubform.nodes.item(b).name).value.exData.loadXML(sourceSubform.nodes.item(b).value.exData.saveXML(),1,1);
       if (sourceSubform.nodes.item(b).className=="instanceManager" && targetSubform.resolveNode(sourceSubform.nodes.item(b).name)!=null)//check for matching subforms
        loadData(sourceSubform.nodes.item(b),targetSubform.resolveNode(sourceSubform.nodes.item(b).name));
    Just make sure the source and target subform hierarchies are identifal, same name and all. It will recurse down the tree and transfer source fields (rich text and plain) to their sister targets.
    Kyle

  • How to put multiple classes in a single file?

    Hello,
    I'd like to put mutliple classes in a single file. (This
    would be useful for grouping children that are minor extensions of
    parent classes or helper classes that are used by one class only).
    When I tried to put two classes in one file, I got this error
    message:
    5006: An ActionScript file can not have more than one
    externally visible definition: Notation.editField,
    Notation.labelField1
    This is the structure I used. Thanks in advance for your
    help.

    You can declare multiple classes in a single file, but only
    one can be
    within the package declaration. All class declarations
    outside the package
    are invisible to code outside the file.
    package sample
    public class SampleClass
    class SampleClassHelper
    class SampleClassHelper2

  • How to link a specific panel with spry multiple element sliding

    How to everybody to the forum, I've searched into this forum but maybe this mine is a particular case...
    I've a html page with 4 different spry multiple sliding panels, named "primo" "secondo" terzo" "quarto", and all worked fine :-)
    When you go to this page the first you can see is "primo" (default).
    But the problem/question is this: If i want to send an email link to my page and want to see the "terzo" panel. how???
    I've try to search many examples but none one of them meet me.
    This is an example of this page called test.html
    Many thanks to all wants help me
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- Copyright (c) 2006-2007. Adobe Systems Incorporated. All rights reserved. -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Spry Multiple Elements Sliding Sample</title>
    <link href="http://labs.adobe.com/technologies/spry/css/samples.css" rel="stylesheet" type="text/css" />
    <script  src="http://labs.adobe.com/technologies/spry/includes/SpryEffects.js" type="text/javascript" ></script>
    <script  src="http://labs.adobe.com/technologies/spry/includes/SpryURLUtils.js" type="text/javascript" ></script>
    <style type="text/css">
    .demoDiv{
    height: 150px;
    overflow: hidden;
    .hiddenElement{
    display:none;
    /* Fix IE floating bug */
    position: absolute;
    top: 180px;
    </style>
    <script type="text/javascript">
    var observer = {};
    observer.nextEffect = false;
    observer.onPostEffect = function(e){
    if (this.nextEffect)
    var eff = this.nextEffect;
    setTimeout(function(){eff.start();}, 10);
    this.nextEffect = false;
    function pannelli(currentPanel)
        // The list of all the panels that need sliding
    var panels = ['slide1', 'slide2', 'slide3', 'slide4'];
    var opened = -1;
    // Let's check if we have an effect for each of these sliding panels
    if (typeof effects == 'undefined')
    effects = {};
    for (var i=0; i < panels.length; i++)
    if (typeof effects[panels[i]] == 'undefined'){
    effects[panels[i]] = new Spry.Effect.Blind(panels[i], {from: '0%', to: '100%', toggle: true});
    effects[panels[i]].addObserver(observer);
    if (effects[panels[i]].direction == Spry.forwards && currentPanel != panels[i])
    opened = i;
    //prevent too fast clicks on the buttons
    if (effects[panels[i]].direction == Spry.backwards && effects[panels[i]].isRunning)
    observer.nextEffect = effects[currentPanel];
    return;
    if (opened != -1)
    observer.nextEffect = effects[currentPanel];
    effects[panels[opened]].start();
    else if (effects[currentPanel].direction != Spry.forwards)
    effects[currentPanel].start();
    </script>
    </head>
    <body onload="pannelli('slide1');">
    <h3>Spry Multiple elements sliding</h3>
    <a href="#" onclick="pannelli('slide1');" value="Slide 1">SLIDE 1</a>
    <a href="#" onclick="pannelli('slide2');" value="Slide 2">SLIDE 2</a>
    <a href="#" onclick="pannelli('slide3');" value="Slide 3">SLIDE 3</a>
    <a href="#" onclick="pannelli('slide4');" value="Slide 4">SLIDE 4</a>
    <br />
    <div id="slide1" class="hiddenElement">
    <div class="demoDiv" style="background-color: yellow;">
    <h4>Primo</h4>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
    diam nonumy eirmod tempor invidunt ut labore et dolore magna
    aliquyam erat, sed diam voluptua. At vero eos et accusam et
    justo duo dolores et ea rebum. Stet clita kasd gubergren, no
    sea takimata sanctus est Lorem ipsum dolor sit amet.
    </div>
    </div>
    <div id="slide2" class="hiddenElement">
    <div class="demoDiv" style="background-color: pink;">
    <h4>Secondo</h4>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
    diam nonumy eirmod tempor invidunt ut labore et dolore magna
    aliquyam erat, sed diam voluptua. At vero eos et accusam et
    justo duo dolores et ea rebum. Stet clita kasd gubergren, no
    sea takimata sanctus est Lorem ipsum dolor sit amet.
    </div>
    </div>
    <div id="slide3" class="hiddenElement">
    <div class="demoDiv" style="background-color: magenta;">
    <h4>Terzo</h4>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
    diam nonumy eirmod tempor invidunt ut labore et dolore magna
    aliquyam erat, sed diam voluptua. At vero eos et accusam et
    justo duo dolores et ea rebum. Stet clita kasd gubergren, no
    sea takimata sanctus est Lorem ipsum dolor sit amet.
    </div>
    </div>
    <div id="slide4" class="hiddenElement">
    <div class="demoDiv" style="background-color: green;">
    <h4>Quarto</h4>
    Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
    diam nonumy eirmod tempor invidunt ut labore et dolore magna
    aliquyam erat, sed diam voluptua. At vero eos et accusam et
    justo duo dolores et ea rebum. Stet clita kasd gubergren, no
    sea takimata sanctus est Lorem ipsum dolor sit amet.
    </div>
    </div>
    <br />
    Test per collegamenti esterni<br /><br />
    <a href="test.html?">vai al pannello I&deg;</a> |
    <a href="#">vai al pannello II&deg;</a> |
    <a href="#">vai al pannello III&deg;</a> |
    <a href="#">vai al pannello IV&deg;</a>
    </body>
    </html>

    silemma wrote:
    else if (effects[currentPanel].direction != Spry.forwards)
    effects[currentPanel].start();
    </script>
    </head>
    <body onload="pannelli('slide1');">
    Change the above to
    else if (effects[currentPanel].direction != Spry.forwards)
    effects[currentPanel].start();
    var params = Spry.Utils.getLocationParamsAsObject(); //get the URL parameter
    if (params.slide) {  // if the slide parameter exists
        var slide = 'slide'+params.slide; // slide = slide+slide parameter
    } else { // otherwise
        slide = 'slide1'
    </script>
    </head>
    <body onload="pannelli(slide);"> <!-- open the nominated slide -->
    Then when calling the page use the following notation: http://localhost/test/test.html?slide=3 where ?slide=3 is the third slide
    I hope this helps.
    Ben

  • Multiple blank pages follow body of message in webmail

    Approximately after the update to iOS 7.0.2 and whatever version of updated Safari, when checking web mail using Safari, I get multiple blank 'pages' at the bottom of emails. These multiples will grow in number/size each time I view a message. If I try to print a message out using Airport Extreme and a compatible HP wireless printer, the blank pages ( with notation of the page number, etc.) will number in the hundreds and as high as 1600. I have spoken with Apple customer support and with HP customer support and they have found no problems with my iPad3. If I forward my problem email to someone running an original iPad with the iOS 5 and older Safari, they open the mail in web mail through the same provider (noip.com) and have no problems with the lengthening blank space on the bottom of the emails. Not a perfect test perhaps, but.... When looking at the message source, there is no apparent blank space or coding after the end of the body of the message. I know I can retrieve my mail using Mail and IMAP on the iPad. But, if possible would like to figure out what is the issue if I can before I switch over.... Has any one got ideas as to what could be causing this?
    Thank you!

    Tap Settings > Safari
    Tap to clear Cookies, Data, and History
    Then reset your iPad.
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    Then try printing a page from email in Safari.
    if that didn't help, tap Settings > General > Reset > Reset All Settings
    Then restart the iPad and try again.

  • How can I insert an interactive musical notation fragment in iBooks Author?

    I would like to insert an interactive fragment of musical notation in iBooks Author, just to illustrate a short melody or a few chords.

    Keynote cant hyperlink within the same slide to another object. Interactive presentations must use multiple slides.
    Create the presentation as described above and use the same background on each slide using the slide master, this will provide the look that you want of staying on the same page.
    Create a return button on every slide so you can navigate to a previous slide.

  • Multiple Valid Signatures

    I have a few forms that required multiple signatures. Is there anyway to make a signature field validate only certain controls?
    If I sign one signature field, the signature is valid. If I sign another signature field, the original field has the check mark with the exclamation with the following tool tip:
    "Document(Signature is valid, the document has been updated since it was signed)"
    This makes sense, the document has changed (one more signature has been placed on the page). Is there anyway to make signature field A validate all controls on the page except signature field B and signature field B validate all controls on the page except signature field A?
    I'm using LiveCycle Designer 8.0 with Static Forms....

    Hi Miles,
    I know it's been almost three years since you asked the question, but if you are still interested the answer is "no", Acrobat does not support what we call page level signing where you only sign a particular portion of the existing document. However, the current version of Acrobat (9.2) will no longer display the notation that the first signature is valid with changes if all that has happened is subsequent signatures have been added.
    Steve

  • Multiple movie clips in variable

    Is it possible to have multiple movie clips inside one variable? I want to be able to just use var._totalframes instead of mc1._totalframes, mc2._totalframes, etc... Or is there another way I can avoid copying and pasting dozens of movie clips over and over? Thanks.

    You can use the bracket notation in a loop to process multiple similarly named objects such as you described...
    for(i=1; i<someNum; i++){
         something += this["mc"+ i]._totalframes // not clear on your intent
    I can't be sure I am answerng your question when you mention copying and pasting movieclips.

  • Multiple Column return in OLEDB Command SSIS 2008

    Hi
    Can someone help me on this please? I think in case we want to capture return value from a stored proc in SSIS OLEDB Command, we usually write something as
    Exec ? = mystoredProc ?, ?, ?, ?
     [assuming 4 input parameter and a return value], but I want to capture all the column (5 in my case) of the output row of my stored procedure. So I tried something like, 
    Exec ?,?,?,?,? = mystoredproc ?, ?, ?, ?
    But looks like this is completely wrong. Any suggestion please?
    Regards,
    Rick
    Regards, Avik M.

    The syntax should be
    EXEC mystoredproc ?, ?, ?, ?, ?, ?, ? OUTPUT, ? OUTPUT,...
    Or you can use a table variable in the SP to return multiple valuesin one variable
    in this notation
    EXEC ? = mystoredproc ? ,? ... remains valid
    Arthur
    MyBlog
    Twitter

  • Remove scientific notation in report

    I'm calculating a number and placing it in a comment box on a report. This works fine, but one of the numbers has decided to display in scientific notation (1.52666667e-3). The problem is that the comment box is not large enough to display the scientific notation and gives no indication of not fitting into the box. Instead I see 1.52666 with no indication of the exponent. I'd much rather see .001527 however I don't want to force a STR format with "d.dddddd" because most numbers don't need this much precision and I'd probably run into errors for numbers such as 12345 which won't fit into the comment box with forced 6 digit precision. If I can force it out of scientific precision, it'll probably be fine.
    BTW: is there a certain number range where scientific notation becomes the default? If I knew this range I could then force the format with the STR function to display the way I want. e.g. IF x>-001 and x<.001 then STR(X,"d.dddd")
    Either method would probably work for me.
    thanks,
    James
    Solved!
    Go to Solution.

    MyVar is a 2 dimensional pointer (Channel Group, Channel) to numeric channels that meet some criteria.
    change box size: I had to make the box 3 times the width to display the number correctly. It shows 1.27933333333333E-03*. I'm appending the "*" to show the field is calculated instead of unadultered from the .csv. Maybe the problem isn't that the number is small, but that it's infinitely repeating. The number is calculate from the values .001919 - abs(.001919)/3
    Left Justify: no difference from right justify.
    Autoadj: shows 1.28E-
    I'm making a column of channels on the report, that's why the comment text is being set multiple times.
    Humphreyy - thanks for your ideas and help.

  • Multiplication calculation in form

    I wish to have a form field return a calculation that is a multiplication of another form field.
    Example:
    Field name where calculation is to take place = FieldG
    Field name where base numeric is = FieldF
    Field G needs to return a calculation that is 3 times the amount showing in Field F
    What is the best way to accomplish this?
    I have tried  this in the properties simplified field notations                       FieldG=(FieldF*3)     no result
    Suggestions?

    Here is a link to a tutorial that should be helpful:
    http://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations
    In short, the simplified field notation option is for simple calculations involving addition, subtraction, multiplication, and division. For anything more complicated, you'll need to use a custom JavaScript.

Maybe you are looking for

  • Deciding on a Mac Pro

    I am curious to know how anyone out there goes about making a final decision on a Mac Pro (or MacBook Pro) purchase. Not so much the ''want vs. need'' debate, because we all grapple with that. But directly dealing with the fact of buying a computer a

  • Microphone recommendations for recording into Captivate 4?

    Hello. Can you tell me what microphone you use to record directly into Captivate 4 (on Windows XP) that works properly and plays back as it should? I am having audio issues with C4 using a Rode Podcaster. I know it's not the microphone as it works wi

  • How to post  data to  external  Server URL

    Hi all, I would like to send purchase order  to Vendors Site, given server URL.   our purchase orders are available in  cXML format.  can you please suggest some solutions.  how to configure the HTTP/SOAP adapter at the receiver side. So that XI can

  • Will Mac OS X 10.6 Snow Leopard work for my macbook?

    I have a 2010 macbook, there is nothing installed, the hard drive is clean. i want to install snow leopard on it. If i buy Mac OS X 10.6 Snow Leopard from the apple store $30 will it work for my macbook, will it install. any help would be appreciated

  • EPub export question -- How to bottom-align a page

    Hi, In a printed book, the text on the copyright page is often bottom-aligned, so the last line of the copyright info sits on the bottom margin of the page. I'm wondering if there's any simple way of doing that when exporting to ePub. The copryight t