AJAX get several tabular values II

Hello
Example "Multiple Get Ajax in the tabular values II" Denes Kubicek
 http://apex.oracle.com/pls/otn/f?p=31517:241:5798812617243::NO 
does not include the buttons cancel, delete, send and add a line. But when the tabular form is created by APEX form has these buttons. The example is not intended for insert and update the data for this example. But I need to extend this powerful example to insert rows by clicking Add a line Update lines when you click Submit. Before I even try to implement a process to update I need to inform me if possible values (null) displays when you click on add a line in my example apex.oracle.com and Insert. Ajax get several II tabular values from the example has no data just static buttons, but within my application, I created standard buttons. Can someone help me remove these values (null) is displayed in the select and having also the standard text boxes appear when you click on the button Add a line?
SELECT    '<img src="#IMAGE_PREFIX#list_gray.gif" '
       || 'onclick="popUp2(''f?p=&APP_ID.:3:&SESSION.::::'
       || 'P3_ROWNUM:'
       || '#ROWNUM#'
       || ''', 700, 700);" '
       || 'style="cursor:pointer;">' book,
       apex_item.text (32,
                       NULL,
                       80,
                       100,
                       'style="width:290px" ',
                       'f32_' || '#ROWNUM#'
                      ) subjects,
       apex_item.text (33,
                       NULL,
                       80,
                       100,
                       'style="width:50px;text-align:right" ',
                       'f33_' || '#ROWNUM#'
                      ) prices,
       apex_item.text (34,
                       NULL,
                       80,
                       100,
                       'style="width:130px" ',
                       'f34_' || '#ROWNUM#'
                      ) authors,
       apex_item.text (35,
                       NULL,
                       80,
                       100,
                       'style="width:20px;text-align:right" ',
                       'f35_' || '#ROWNUM#'
                      ) qtys
  FROM my_book_store
My test on apex.oracle.com application has buttons that display (null) for each apex_item.text, when you click Add a line. Any information on this matter is greatly appreciated. In addition, data is stored in the my_book_store table, but it does not display as a table, is there a way to display data in a table based on the select statement? I think that's the reason for which the data is displayed only when selected.

Published by: Charles on November 26, 2012 09:10

woopsies! Normally, I add a block above html of the page of connection with them, but who has forgotten. It is apex_demo/demo

Tags: Database

Similar Questions

  • AJAX get several tabular values I

    Hello
    All those put in place the great example of damien Kubicek - ApEx
    -Section III - Ajax solutions get several tabular values I have? Within the
    my test apex.oracle.com workspace for that I've set up this example
    My tabular presentation. I created the table my_book_store and I also exported
    the site and imported data in the my_book_store table in
    Apex. Oracle.com test site. My table and data are the same as an example but
    I get this error
    failed to parse SQL query: ORA-01403: no data found
    Here's the code I added within the application. If someone sees
    everything that is not correct please point my error or errors please.

    Create the Table Script
    CREATE TABLE  "MY_BOOK_STORE" 
       (     "BOOK_ID" NUMBER, 
         "BLOB_CONTENT" BLOB, 
         "MIME_TYPE" VARCHAR2(4000), 
         "SUBJECT" VARCHAR2(4000), 
         "PRICE" NUMBER, 
         "AUTHOR" VARCHAR2(100), 
         "TOPIC" NUMBER
       )
    /
    
    
    CREATE UNIQUE INDEX  "SYS_IL0003125020C00002$$" ON  "MY_BOOK_STORE" (
    /
    Header HTML
    <script language="JavaScript" type="text/javascript">
    
    function f_set_multi_items_tabular(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM',pValue)
    get.add('T_ROWNUM',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM','null')
    }    
    
        gReturn = get.get('XML');
    
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item");
    var l_ID = l_Opt_Xml.getAttribute('id');
    var l_El = html_GetElement(l_ID);
    if(l_Opt_Xml.firstChild){
    var l_Value = l_Opt_Xml.firstChild.nodeValue;
    }else{
    var l_Value = '';
    }

    if(l_El){
    if(l_El.tagName == 'INPUT'){
    l_El.value = l_Value;
    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
    l_El.parentNode.innerHTML = l_Value;
    l_El.parentNode.id = l_ID;
    }else{
    l_El.innerHTML = l_Value;
    }
    }
    }
    }
    get = null;
    }

    </script>

    Tabular Form - Region Source
    SELECT     apex_item.select_list_from_query
                         (31,
                          NULL,
                          'SELECT subject d, ' || 'book_id r FROM my_book_store',
                             'style="width:250px" '
                          || 'onchange="f_set_multi_items_tabular(this.value,''#ROWNUM#'''
                          || ')"',
                          'YES',
                          '0',
                          '- Select Book -',
                          'f31_' || '#ROWNUM#',
                          NULL,
                          'NO'
                         ) book,
               apex_item.text (32,
                               NULL,
                               80,
                               100,
                               'style="width:190px" ',
                               'f32_' || '#ROWNUM#'
                              ) subject,
               apex_item.text (33,
                               NULL,
                               80,
                               100,
                               'style="width:50px;text-align:right" ',
                               'f33_' || '#ROWNUM#'
                              ) price,
               apex_item.text (34,
                               NULL,
                               80,
                               100,
                               'style="width:130px" ',
                               'f34_' || '#ROWNUM#'
                              ) author,
               apex_item.text (35,
                               NULL,
                               80,
                               100,
                               'style="width:20px;text-align:right" ',
                               'f35_' || '#ROWNUM#'
                              ) qty
          FROM my_book_store
    Application process - Set_Multi_Items_Tabular
    DECLARE
       v_subject   my_book_store.subject%TYPE;
       v_price     my_book_store.price%TYPE;
       v_author    my_book_store.author%TYPE;
       v_qty       NUMBER;
    
       CURSOR cur_c
       IS
          SELECT subject, price, author, 1 qty
            FROM my_book_store
           WHERE book_id = :temporary_application_item;
    BEGIN
       FOR c IN cur_c
       LOOP
          v_subject := c.subject;
          v_price := c.price;
          v_author := c.author;
          v_qty := c.qty;
       END LOOP;
    
       OWA_UTIL.mime_header ('text/xml', FALSE);
       HTP.p ('Cache-Control: no-cache');
       HTP.p ('Pragma: no-cache');
       OWA_UTIL.http_header_close;
       HTP.prn ('<body>');
       HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
       HTP.prn ('<item id="f32_' || :t_rownum || '">' || v_subject || '</item>');
       HTP.prn ('<item id="f33_' || :t_rownum || '">' || v_price || '</item>');
       HTP.prn ('<item id="f34_' || :t_rownum || '">' || v_author || '</item>');
       HTP.prn ('<item id="f35_' || :t_rownum || '">' || v_qty || '</item>');
       HTP.prn ('</body>');
    END;
    I have two elements of the Application

    TEMPORARY_APPLICATION_ITEM and T_ROWNUM

    Hi Charles,

    Basically, there are few questions here

    First of all I don't know what causes the Oracle error

    failed to parse SQL query: ORA-01403: no data found
    

    I just rename the columns and back return that fixed the issue. I guess that the metadata of the apex was damaged for some reason any.

    There is no problem with your javascript or the application process.

    The issue has been with your application to the element Protection of Session State has been Restricted - can not be set browser and you try to set their via JavaScript which will fail, I changed it to unlimited use.

  • How to use Ajax get multiple values in an array?

    Hi All-

    I am using AJAX to get multiple values in a table using example of Denes Kubicek in the following link-

    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606:NO:

    Basically, I want to use the drop-down list to fill the rest of the values in the form.

    I created the example (Ajax get several values, 54522 application) on the Oracle site.

    http://apex.oracle.com/pls/apex/f?p=4550:1:0:

    Workspace: iConnect

    Login: demo

    password: demo

    I was able to reproduce his example on page 1 (homepage).

    However, I want to use system generate a table to complete this example and was not able to complete the data correctly.

    Page 2 (method 2) is that I'm struggling to fill the column values. When I checked the item application values in the Session, and values seems to be filled properly.

    That's what I did on this page:

    1 create an Application process on-demand - Set_Multi_Items_Tabular2:

    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
    
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
    
      OWA_UTIL.mime_header ('text/xml', FALSE);
      HTP.p ('Cache-Control: no-cache');
      HTP.p ('Pragma: no-cache');
      OWA_UTIL.http_header_close;
      HTP.prn ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    
    
    
    
    
    

    2. create two objects application - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2

    3. put the following text in the Page header:

    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
    }
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);    
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                }
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
                    }
                }
            }
        }
        get = null;
    }
    </script>
    
    
    Add the follwing to the end of the above JavaScript:
    
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    {
     var s = filter.id;
     var item = s.substring(3,8);
     var field2 = list2 + item;
     
     f_set_multi_items_tabular2(filter, field2);
    }
    
    
    
    
     
    
    
    

    4 query in the form:

    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    
    
    
    
    
    

    5. in the column of Book_ID_DISPLAY attribute:

    Add the following code to the attributes of the element: onchange = "javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#'); »

    Changed-> onchange = "javascript:setLOV(this,'f03'); »

    Now, T_ROWNUM2 returns the value as f03_0001. But TEMPORARY_APPLICATION_ITEM2 returns in the form [object HTMLSelectElement]...

    Please help me to see how I can fill the data in the tabular presentation format. Thank you in advance!

    Ling

    Updating code in red...

    Ling

    LC says:

    Application Item Value Item Name
    54522 3 TEMPORARY_APPLICATION_ITEM2
    54522 f03_0003 T_ROWNUM2

    No T_ROWNUM2 should be 0003.

    I made a copy of your page to make corrections.

    There are several problems.

    First you where submiting T_ROWNUM2 whereas you would use: t_rownum in the pl/sql code.

    I changed the name of the element in the f_set_multi_items_tabular2.

    Secondly you where now affecting the rownumber f03_0001 for the first line.

    Resulting XML returned as follows.

    this xml genericly sets multiple items
    CSS Mastery
    22
    Andy Budd
    1
    
    

    I changed the following text in the show_lov.

    var point = s.substring (4.8);

    var Field2 = item;

    I also had a compilation of pl/sql code error, there was a); missing the end of the last item. Fixed that too.

    But why do you think lpad won't work for lines 10 and more.

    LPAD ('10', 4, '0') will give "0010"

    LPAD ('100 ', 4,'0 ') will give "0100"

    LPAD ('1000 ', 4,'0 ') will give '1000'

    So unless you have more than 9999 lines you would have no problem.

    Nicolette

  • Get the selected value of a select list item in a tabular presentation.

    Hi, I have a tabular form and I'm trying to get the selected value of a select list item and store the selected value in a page element hidden elsewhere on the form of tables, so I can use this value.

    I already have something similar to the input on the tabular presentation elements.

    Get the initial values
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $(' input [nom = "f12"]', ligne) [0];

    numberOfItems = 123456.123

    What I want to do is soemthing similar as above but capture the value of a select element in tabular form. I thought I could do something like:

    Get the selected value
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems var = $('selected [name = "f08"] .val ()', line) [0];

    But this method leaves the as undefined var numberOfItems.

    Please help me to find a way to identify the item 'select' in the tabular form called "f08" and get this value.

    I am a newbie to jQuery selectors etc...

    Thank you.

    Strange that you do not get an error when you run your 2nd selector.
    In any case for this kind of thing, see the HTML code of your tabular form and tell us what triggers, the element can be useful. Or better create an example at apex.oracle.com.
    In any case, I see two errors:
    (1) is there any html element "not selected" instead, the LOV in the APEX element has the select tag
    (2) you can not write a. val() inside a selector that you must place it after your selection.

    So I'd like to rewrite your code to:
    var line = $x_UpTill (this.triggeringElement, 'TR');
    numberOfItems = $("select_[nom_="f08"]",_row).val () var [0];

  • Exception while trying to get the selected value for the choice of SelectOne in ADF Mobile

    I added the following code after arriving through this post https://forums.oracle.com/thread/2536419

    DCBindingContainer dcBindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding iterBind = (DCIteratorBinding) dcBindings.get ("facilitySelectItems");

    Attribute String = (String) iterBind.getCurrentRow () .getAttribute (0);

    But Jdeveloper complained class BindingContext wasn't available and I get the jar file adfm.jar has not been added to the project. I added it manually the path C:\JDeveloper11r24\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar. Once I've deployed code on an android emulator, I get the below error. Can someone please?

    07-25 13:18:03.812: D/CordovaLog (869): [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] request: {classname: oracle.adfmf.framework.api.Model; method: evaluateMethodExpression; params: [0: #{pageFlowScope.IBCMSearchBean.getSearchParams}] [1:] [2: {}] [3:] ;} exception: {message: oracle/adf/model/binding/DCBindingContainer (unsupported major.minor version 50.0); the severity: ERROR; .Guy: oracle.adfmf.framework.exception.AdfException; .exception: true ;}}}

    The version of the compiler maximum the JDev shows that 1.4. And I'm using version 11.1.2.4.0 for JDeveloper. The JDK version is 1.6.0_24.

    Sorry I missed the question!

    First of all, to get the value of selectedItem in selectOneChoice do not have another function in the domain controller. Here is an excellent article by Frank that explains this. Or you can use the below function to get the selected value immediately. Here the market is the value of selectOneChoice attribute. I wasn't aware of this method until you have read this article.

    {} public void getAndSetMarketValue (market of the object)

    ValueExpression ve = (ValueExpression) AdfmfJavaUtilities.getValueExpression ("#{bindings.marketSelectItems}", Object.class);

    AmxAttributeBinding attrBinding = (AmxAttributeBinding) ve.getValue (AdfmfJavaUtilities.getAdfELContext ());

    access the iterator that populates the list of values in

    the selectManyChoice component

    AmxIteratorBinding amxListIterator = attrBinding.getIteratorBinding ();

    the AmxIteratorBinding is a wrapper for the BasicIterator

    iterator which sets out the information we need

    ListIterator BasicIterator = amxListIterator.getIterator ();

    for each index value, query the name of the service (you can

    access and attribute from the line) to display

    SelectedValue = string

    (String) listIterator.getAttributeValueAtIndex (((New Integer ((String) market))) .intValue (), "Value");

    }

    Second, you can use #{row} in commandLink's action since it is something that is evaluated when the user clicks on the link and we do not have access to #{line} after that the entire component is rendered. To remedy this give an action for the commandlink which is a function in the bean and the function of bean back to the action of the link selected.

    ListOfReports.amx

    .......

    .......

    LoginBean.java

    ......

    public String returnClickValue() {}

    Option of string = AdfmfJavaUtilities.evaluateELExpression("#{viewScope.selectedItem}").toString ();

    return option;

    }

    ......

  • APEX Ajax cascading select tabular list

    Hello world

    We are developing in APEX 4.X.

    I went to your blog 'Denes Kubicek - ApEx Solutions', it's very interesting

    http://Apex.Oracle.com/pls/OTN/f?p=31517:176:384744492803038:

    I tried to create something as did Mr. Kubicek for an Ajax cascading select tabular list.

    In step 5, he said the rest of the code if you are applying for an account. Do we need to add a lot of code to get success?

    Is there anyone who tries to do as did Mr. Kubicek?

    Thanks in advance. Good bye.

    Eric.

    According to me, that simply send an e-mail with your name.

    To access my workspace in the future

    you will need to send me an email with your name and surname
    to the following address:

    [email protected]

    I create an account for you and you send the connection details. >

    Is this not the same as your existing question? {message: id = 10031811}

  • In order to get several features of tab line do I downgrade to the version of firefox that supports one applications below?

    I want to show the tabs on multiple lines in firefox.

    While Firefox allows you to have as many tabs that you want to open at any time, if you exceed the width of the screen, you will then need to scroll left and right to see. I want to have multiple rows of tabs.

    In order to get several features of tab line do I downgrade to the version of firefox that supports one applications below?

    What are the best options for several features of tab line?

       Tab Kit - https://addons.mozilla.org/en-US/firefox/addons/versions/5447
       Tab Mix Plus - https://addons.mozilla.org/firefox/addon/tab-mix-plus/
       Tab Utilities - https://addons.mozilla.org/firefox/addon/tab-utilities/
    

    Best regards
    Bubba

    Extensions 'Tab Mix Plus' and "Tab Utilities" support Firefox 10.0a1, so no need to downgrade your old Firefox 7.0.1 for an even older version.

  • Where does FireFox get the default value for a preference of. What is the format of the file that contains the default value?

    Where does FireFox get the default value for a preference of. What is the format of the file that contains the default value? I need the actual default value for an individual preference.
    Topic: config shows some default values, but I need the source from which everything: config returns to the default value.
    Any help in this direction is greatly appreciated.

    User Agent

    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x 64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    The preferences that are not hidden if they have by default are stored in two JavaScript text files in the Firefox program folder
    You can open them in a tab in Firefox through these links:
    resource:///defaults/pref/firefox.js
    resource:///greprefs/all.js

    (702598/forum/1/702598)

  • When starting a new spreadsheet in numbers I always get several sheets. How to remove?

    When I start a new spreadsheet, I always get several sheets. How to change it and how to remove additional sheets?

    Hi Dean,

    What model you open?

    To delete a sheet, click the v on the tab of the sheet and choose Delete in the menu that opens.

    Kind regards

    Ian.

  • Get the Max values and average of the different cycles in the single channel

    Hello

    I'm trying to get the Max values and average of the single channel that has different cycles it contains. I tried to use commands such as Chnclasspeak3 and chnpeakfind, but they were not useful for me. What I need is the Max values and average of the different cycles numbers saved in the data channel.

    Exampld if the string contains 5 numbers of repetitive cycles, then we must find the maximum values and the average of these 5 cycles in the single channel. Attached reference data. This is the .raw file and I have the plugin for it to use in diadem 11.1.

    Kind regards

    X. Ignatius

    Hello, Ignatius,.

    Sorry, it took some time to provide a replacement based on the script for the function. Please take a look at the attached script. I changed the script to use my function if the tiara-version is less than 12. My script function is not as fast and more stable than the implementation of tiara, but for now, it does the job

    Andreas

  • Get the highest value of acquired data

    Hi, how can I get the highest value of data according to data acquired using the accelerometer ADXL345 and LINX in LabVIEW?

    I want the highest data to be shown with a flag. However, the data being shown are always the last acquired data. My problem would be what happens if the highest data somewhere at the beginning or in the middle of all the acquired data? How to display the highest data using an indicator?

    Here's a look at my front, block diagram, and sample of the acquired data.

    From the front panel, the basic indicator of detected last poster 0.1929 (amplitude), which is the last value. But looking at the Excel file, the highest data are data which is 0.2013. The highest, I want to be displayed on the indicator not the last value. How do I do that?

    Thank you!

    I gave you an example of what you need to do - it is not okay if wire you the new value and the old value for the X or Y - it will always return the maximum of the two values so the order doesn't matter. It would have been more useful if you had posted what you tried the max & min. You need a registry to offset inside the loop (like I did with my while loop). If you only want to display the maximum value for each iteration of the loop for external, you must initialize the shift register by plugging a 0 to its terminal on the left. A shift register her pinned the value of the last run - probably not what you want here.

  • How to get several beep?

    Hello

    I want to get several beeps output if a comparison condition gives output as true.

    Can someone tell me how to get several beep?

    Put the beep function in a loop with a small wait for the statement.

  • [Labview] I want to get the average value in each new 100 samples.

    Hello. I'm Sophie.

    I'm studying Labview for my research.

    For me, the sampling frequency is 125KHz.

    I want to get the average value in each new 100 samples.

    Therefore, I want to get an average value of 1 ~ 100th samples and store this average value. Call assets(1).

    Then, I want to get an average of 101 ~ 200th samples and store this means value, call moyen2.

    .

    .

    .

    .

    I don't know how me I want.

    Thank you

    Sophie.

  • Get the current value of the variable when reaching CNVCreateSubscriber

    I use CNVCreateSubscriber () to create a subscription read to a network Variable: whenever the value of the variable changes, the DataCallback is called and I'm able to get the new value of the variable.

    But how to get the value of the variable when a subscription is created?

    I read in the help CNVCreateBufferedSubscriber () returns this information, but I wonder if using CNVGetDataFromBuffer () in a polling loop has the same performance as the approach to DataCallback of CNVCreateSubscriber ().

    In addition, the dataStatus (CNVGetDataFromBuffer) parameter is different for different Subscribers? (that is if I have multiple subscribers, CNVStaleData is related to the specific Subscriber or is a global property of the variable)?

    CNVData data;

    CNVGetConnectionAttribute (customer, CNVMostRecentDataAttribute, &data);)

  • Get the default value for class LV 1498 error

    I call get the Default Value.vi LV class to dynamically load a class.

    It was working fine until I added Open Config Data.vi to read an .ini file.

    The application works fine when I press the button RUN in the LabView development environment, but when I create the executable file with Application Builder and then run it, I get:

    "1498 error occurred getting class LV Default Value.vi"

    Possible reasons:

    LabVIEW: Library has errors. Correct the errors before performing this operation.

    «"" "String of full appeal:»»"»

    Download LV class by default Value.vi

    Test.VI

    LabVIEW has tried to load the class in this path:

    g:\cal\devices\Digital300Meter\Digital300Meter.lvclass

    I narrowed the problem down to open Config Data.vi included in the application, not in the class. I don't have to call the Open Data of Config vi to get this error.

    I have a Subvi, called "SelectDevice" which refers to Open Data from Config. In my main Test.vi SelectDevice is in the true case of a true/false case structure, which is set to False.

    If I put a design schema off around the Open Data of Config vi, I do not get the error.

    I suspect that including Open Config Data include a VI in the application that interferes with the LV ranks by default.

    Thank you, it works!

    I also put the additional Exclusions page as follows:

    Disconnect the type definitions - verified

    Remove unused polymorphic instances of VI - verified

    Remove unused libraries project - members verified

    Change the project library file after removing unused members - unaudited

Maybe you are looking for