Numeric value in order by

please highlight me the significance of numeric value in order by clause.
or can we use numeric values in order by clause?

Obviously if you have a union/union all, you have to specify the column_numberAre you sure ?
SQL> select 'Oracle' col1 from dual
  2  union
  3  select 'DB2' col2 from dual
  4  order by col1;
COL1
DB2
OracleNicolas.

Similar Messages

  • Import Purchase orders failing with numeric/value error issue

    Import Purchase orders failing with numeric/value error issue

    Hi All,
    Import Purchase Orders program is failing with PL/SQL Numeric or Value Error.
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 55
    Kindly help me to get the issue fixed

  • Non numeric value in numeric field giving error

    Hi All
    I am using BAPI for creating sales order. If user is giving non numeric value in Quantity field it is giving error. Because quantity field data type is Double.
    Please Help.
    Thanks
    Raktim

    Hi Banerjee,
                 Create a String/int/long Context variable and point it to UI Input element.Do the validation  for correct input value. once the validation is succesful assign that value to RFC BigDecimal variable by Explicit casting.
    Hope this might solve your problem .
    Thanks
    Madhan

  • Bug in sort of numeric values in ( title and album ) string.

    The Bug in the sort-function of the iPod results in mixed up track list.
    An album with more then 9 tracks will be sorted in the wrong way, when only title or filename or album field is just to give a track a number. The play order is 1, 10, 11, 12, 13, 2, 3 , 4 , 5, 6.... instead of the correct order 1,2,3,4,5,6...10,11, 12...
    For example: After playing the track named "The Beatles - Yellow Submarine - 1 - Yellow Submarine" the ipod will play "The Beatles - Yellow Submarine - 10 - Baby, You´re A Rich Man" instead of "The Beatles - Yellow Submarine - 2 - Hey Bulldog."
    The programmer have to search the string for numbers and join all numeric values to a single number.
    Example: Sample data :abc123. is "a" a number? no. is "b" a number no. is "c" a number no. is "1" a number? yes. store. is "2" a number? yes. join to "1". (now we have "12"). is "3" a number? yes. join to "12". (Now we have "123") -> EOL
    Is "123" largen than "99"? yes! is "123" larger than 124. no!
    Thats it. In perl you need 1 line of sourcecode, in c and c++ this can be done in 10 lines. In java (there a objects for this type of sort).
    And every user will be happy and nobody has to do the 01, 02, 03 workaround or reimport their audiobooks.
    Alternativly Apple should thing about storing the original filename in the ID3 tag or itunes database. This would make sorting the files without id3 tags (believe me or not, there are many people using mp3 for 10 years and have no id3 tags in there mp3-library) in itunes possible. (there is a god free tagger for mac os but no for windows.)
    A company like Apple should have the ability to correct the error / bug in the iPod-firmware (have the same issue in classic and iphone) or itunes-softwar.
    This is a wellknown and very common error done by newbie programmers or people who have not read the documentation of the software-libraries.

    I still have an H140 in the cupboard. As I recall that needs leading zeros on filenames to sort properly. Since both WMP & iTunes include leading zeros it was never really an issue. THE Rename should be able to extract the track numbers from part of the filename and is also able to generate counters, along with the usual functions of setting tag fields from part of the file and/or folder name. Unfortuanetly THE Rename is still on the complicated side - I suspect there would be no easy way to lump together the variety of options that it has while keeping it very simple.
    Once you've used an external program to adjust the tags you can make iTunes re-read them just by selecting the group of files in question, using CRTL-I to "Get Info." and then clicking OK +without making any changes+. iTunes will recheck it's database against any values in the tag and update as required. Given the lack of existing tags I would imagine that you don't let iTunes reorganise your music at the moment and would suggest you keep things that way at least until you are sure that all the tags have been correctly applied and you have a suitable backup. I stick to a Artist/Album/## Track structure which I don't let iTunes manage so that I can always recover details from the filesnames if I should ever accidentally edit more tracks than I intend.
    tt2

  • Numeric Value error 1426

    Hi,
    How to retrive the value of below query.
    I am encountered with numeric value error.
    select power(10,333333333333) from dual;Thanks in advance

    You did look up the error in the online documentation?
    Why not?
    If you would have done so you would have gotten
    Cause: Evaluation of an value expression causes an overflow/underflow.
    Action: Reduce the operands.
    Looks clear to me.
    Looks like you should have done this first in order to avoid redundant questions.
    Sybrand Bakker
    Senior Oracle DBA
    Edited by: sybrand_b on 25-jun-2009 2:49

  • Checkbox and ORA-20507: Invalid numeric value #:# for column

    Hi All,
    I'm facing problems Checkboxes in a form.
    I created a form and report on a table. one of the fields on the form is a checkbox and when ever I want to create a new record or update with more than one value for the checkkbox I obtain the following error:
    ORA-20507: Invalid numeric value #:# for column COLUMN_NAME Where by #:# is numbers
    I think the error occurs at the processes of get_pk and process_row_of_......
    how should I change the processes to accommodate the checkbox values.
    Kind regards
    Mel

    Hi Roel,
    Colunm = number
    LOV Definition
    select product display, prod_num return from product_category_vw
    where prod_num not in (select p.prod_num from product_user_tb p, user_tb u
    where p.user_num = u.user_number
    and u.user_name = :APP_USER)
    ORDER BY 1column = number
    LOV Definition
    select school d, sch_id r from school_tbRegards
    Mel

  • Convert numeric value to display as text based on record in another table? ASP/VB

    I have an orders table:
    orderID (PK)
    pickupname
    pickupaddress
    pickupregion (numeric)
    pickuppostcode
    deliveryname
    deliveryaddress
    deliveryregion (numeric)
    deliverypostcode
    I also have a regions table:
    regionID
    regionname
    On my ASP page, I would like to display the pickup and
    delivery addresses as
    follows, but also need this to be within a repeat region as I
    am displaying
    a number of orders on the page (I have wrapped what I want in
    the repeat
    region in dashes, below):
    ---------Repeat Region Start-----------
    Pickup Address:
    Name
    Address
    Region (pickupregion)
    Postcode
    Delivery Address:
    Name
    Address
    Region (deliveryregion)
    Postcode
    --------Repeat Region End------------
    As it displays at the moment, I get this (using sample data):
    ---------Repeat Region Start-----------
    Pickup Address:
    Joe Bloggs
    High Street
    12
    HT12 5TY
    Delivery Address:
    Jane Bloggs
    The Mall
    33
    DT6 5TG
    --------Repeat Region End------------
    Is there any way to convert these numeric values to the
    actual region name
    but to keep it within one recordset so that I can use the
    repeat region? I
    tried creating a recordset for regions (SELECT regionID,
    regionname FROM
    tblRegions WHERE regionID = pickupregion OR regionID =
    deliveryregion), but,
    because I'm not repeating this region, it just displays the
    same regional
    name for every order, albeit the first record returned does
    contain the
    correct values! :o)
    I was thinking about some kind of inner join, but it's having
    two numeric
    region fields in the orders table that is causing me
    headaches! PS. I need
    to keep the two addresses within one orders table - I had
    thought of that!
    Got me a bit stumped, I have to say. Any help would be
    greatly appreciated.
    Thanks.
    Regards
    Nath.

    I've tried this one already.
    I tried to leave it blank, & nbsp ; , text,... but the problem is that our lov is build by a function and it always returns a query, so the LOV is never null.
    I figured something out: made a process after header that has some cursors to get the values from the database and changed the item to a simple display as text-field. There were only 4 that were wrong, so it wasn't to much work.

  • Numeric value out of range (null) - Inserting a double

    Allright,
    I can't figure this out to save my life.. I am refusing to put my code up because I am trying to insert into a DB Table with 140 some fields, so I will explain as best I can.. I am trying to insert a double into my DB.. I have been getting a numeric value out of range error on insertion. Just to see if it was a db problem, I shortened my query to 4 fields and two of them being the doubles for insertion. They inserted fine. So needless to say, i presumed that my insert statement for the 140 fields query was off. I double checked it and everything seems to be in order. I still get the error. I can assure that everything matches up.. my SQL string looks like this :
    SQL = "INSERT INTO TABLE 1 (VAL1, VAL2, VAL3 ... VAL146) VALUES (?, ?, ? .... ?);
    and my preparedStmt :
    ps = con.prepareStatement(SQL);
    ps.setInt(1, val1);
    ps.setInt(2, val2);
    ps.setString(3, val3);
    ps.setDouble146, val146);
    ps.executeUpdate();
    Please help me solve this..
    Ed

    The name of the table is FAC.
    Here is the query:
    INSERT INTO FAC (FAC_SK, KEY, ACTIVITY, BE_NUMBER,CATEGORY, CC, CLASS_LVL, CONDITION, COORD_BASIS, COORD_DATUM, COORD_DERIV,DOMAIN_LVL, EVAL, GRAPHIC_CC, GRAPHIC_ED_NUM, GRAPHIC_SCALE, GRAPHIC_SERIES,LAST_CHG_USERID, MIDB_TIMESTAMP, OPER_STATUS, OSUFFIX, PROD_LVL_CAP,PROD_LVL_REQ, RECORD_STATUS, RES_PROD, COORD, DATETIME_CREATED,DATETIME_LAST_CHG, FAC_NAME, GRAPHIC_AGENCY, GRAPHIC_ED_DATE,GRAPHIC_SHEET, REVIEW_DATE, ACCESS, AFFILIATION, AIR_DEF_AREA,ALLEGIANCE, BE, CAPACITY, CAPACITY_EVAL, CAPACITY_MAX, CAPACITY_UM,CLASS_RATING, CMD_CNTL_COMM, CODEWORD, CONDITION_AVAIL, CONTROL_MARK,COORD_DERIV_ACC, COORD_DERIV_ACC_UM, COORD_ROA, COORD_ROA_CONF_LVL,COORD_ROA_UM, CPFL, CRITICAL_INDUSTRY, DECLASS_ON, DEGREE_INTEREST,ELEVATION, LAT, LON, ELEVATION_ACC, ELEVATION_CONF_LVL, ELEVATION_DATUM,ELEVATION_DERIV, ELEVATION_DERIV_ACC, ELEVATION_DERIV_ACC_UM, ELEVATION_MSL,ELEVATION_MSL_ACC, ELEVATION_MSL_CONF_LVL, ELEVATION_MSL_DERIV, ELEVATION_MSL_DERIV_ACC,ELEVATION_MSL_DERIV_ACC_UM, ELEVATION_MSL_UM, ELEVATION_UM, FOREIGN_TECH_CC,FOREIGN_TECH_PERCENT, FPA, FUNCT_PRIMARY, FUNCT_SECONDARY, GEOIDAL_MSL_SEPARATION,GEOIDAL_MSL_SEPARATION_UM, ILAT, ILON, INTEGRATION, LINE_QTY, MED_DIAGNOSTICS,MED_MASS_CASUALTY, MIL_AREA, MIL_GRID_SYS, MODERNIZATION, MSN_PRIMARY, MSN_PRIMARY_SPECIALTY,MSN_SECONDARY, MSN_SECONDARY_SPECIALTY, OPEN_STG_COVERED, OPEN_STG_FILLED, OPEN_STG_TOTAL,OPEN_STG_UM, OUTPUT, OUTPUT_EVAL, OUTPUT_MAX, OUTPUT_RATE, OUTPUT_UM, PERIODICITY, PIN,POL_SUBDIV, POP_AREA, POP_AREA_PROXIMITY, POWER_DISTRICT, POWER_DISTRICT_SUB, POWER_SOURCE,RECUP_INTRVL, RECUP_INTRVL_MAX, RECUP_INTRVL_UM, RECUP_LOSS_IMPACT, RECUP_REPAIR_PRIORITY,RELATIVE_RANKING, RELEASE_MARK, ROLE_LVL, ROLE_TYPE, SCALE, TDI, TGT_RESTR, TURN_AROUND_TIME,WAC, WATERBODY, ADDRESS_NAME, CAPACITY_DATE, CAPACITY_EVAL_DATE, COORD_DATETIME,DATETIME_BEGIN, DATETIME_END, DATETIME_FIRST_INFO, DATETIME_LAST_INFO, DECLASS_ON_DATE,LOC_NAME, MAX_DEMO_USE, MIL_GRID, OUTPUT_DATE, OUTPUT_EVAL_DATE, PLACE_NAME, POSTAL_CODE,SCENARIO_SET, STREET_NAME, STREET_NUM, SYMBOL_CODE, UTM) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
    The query works fine if I have no value for the two doubles : LAT and LON..
    If I have a value for them, the thing gives me an error:
    Numeric value out of range (null)
    If you see anything wrong with that query.. Let me know..
    Takizzle

  • Searching for numeric values in a text field / SQL Server

    Hi all,
    here's a problem that I've been trying to solve for several days: I try to select rows from an MS SQL Server via JDBC that contain a certain numeric value at a certain position in a long varchar field.
    I'm using queries like
    select * from table where substring(field_1, 37, 7) like '1011234';Those queries always return an empty ResultSet. If I use the same queries in WinSQL, I get correct results (several rows).
    The application code is working in principle; if I search for a text instead of a numeric value, for example select * from table where substring(field_1, 4, 5) like 'Paper'; , I get a complete ResultSet.
    I've tried many variations (= instead of like, search in the entire field (without substring but with like '%1011234%'), with or without ', and more), but that didn't change anything.
    It's also most probably not caused by the JDBC driver; I have tried JTDS first, and then the MS driver (newest versions) - no difference.
    One idea was that the sort order is not correct, tried some COLLATE settings, but that didn't help so far. In this context I'd like to know how to determine the collation sequence of a certain column.
    Another thing I tried was using CAST, for example SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST('1011234' as bigint); or SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST(1011234 as bigint);, but that didn't help either.
    Some facts:
    Server: Microsoft SQL Server, version 09.00.2047
    Driver in WinSQL: SQLSRV32.DLL, version 03.85.1117
    JDBC-Driver:
    - JTDS, version 1.2
    - Microsoft SQL Server 2005 JDBC Driver, Version 1.2
    JVM: jre1.5.0_11
    I didn't find anything on Google, or in this forum, or other forums. I really hope someone here can help me. Thanks in advance!
    Best regards,
    Uica

    Your note suggests to me that this is a coding problem, not a JDBC or SQL problem unless you are hitting a bug in the SQL Server JDBC driver. Others may have ideas from what you have written, but I think it would be helpful to see the actual code that you are executing that does not bring back the results that you are expecting (don't forgot to use code tags to format your code correctly).
    It might also be helpful to execute a query (from within your Java code) to ensure that you are connecting to the right database, accessing the correct table and that your substring is using the correct offset. The query would look something like this (and then of course display the list of results):
    SELECT substring(field_1, 37, 7) from table

  • PL/SQL NUMERIC VALUE ERROR

    Hi ,
    We have following code and sending the data through attachnmet its giving the pl/sql numeric value error.
    Please correct me.
    __Code Details:::__
    CREATE OR REPLACE PROCEDURE APPS.print_reports
    IS
    wfile_handle UTL_FILE.file_type;
    lv_file VARCHAR2 (100);
    lv_date VARCHAR2 (20);
    mail_conn UTL_SMTP.connection;
    lv_rep_headers VARCHAR2 (32000);
    p_o_srv_result xxcss_prf_report_pkg.ref_cur_srv_prog;
    lv_str_type XXCSS_PRF_STRING;
    lv_line VARCHAR2 (32767);
    lv_send_to VARCHAR2 (200);
    lv_host_name VARCHAR2 (200) := 'outbound.cisco.com';
    l_vtab CHAR := CHR (9);
    lv_from VARCHAR2 (200) := '[email protected]';
    lv_att_file_name VARCHAR2 (200);
    lv_path VARCHAR2 (200);
    p_request_type VARCHAR2 (1) := 'E';
    p_request_id NUMBER;
    errbuf VARCHAR2 (2000);
    retcode NUMBER;
    crlf VARCHAR2 (2) := CHR (13) || CHR (10);
    lv_line_data Clob;
    lv_clob clob;
    BEGIN
    BEGIN
    SELECT VALUE
    INTO lv_path
    FROM v$parameter
    WHERE NAME = 'utl_file_dir';
    EXCEPTION
    WHEN OTHERS
    THEN
    lv_path := '\tmp';
    END;
    lv_rep_headers :=
    'REGION'
    || CHR (9)
    || 'COUNTRY'
    || CHR (9)
    || 'CUSTOMER NAME'
    || CHR (9)
    || 'ERP CUSTOMER NUMBER'
    || CHR (9)
    || 'PROFILE ID'
    || CHR (9);
    FOR i IN ( SELECT DISTINCT srv_program_id srv_prgm
    FROM xxcss_prf_cust_srv_programs
    ORDER BY srv_program_id ASC)
    LOOP
    lv_rep_headers := lv_rep_headers ||i.srv_prgm || CHR (9);
    END LOOP;
    lv_rep_headers := lv_rep_headers || CHR (13);
    BEGIN
    XXCSS_PRF_REPORT_PKG.offline_daemon (p_request_id,
    p_request_type,
    p_o_srv_result,
    errbuf,
    retcode);
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE ('Error in Offline');
    END;
    lv_att_file_name := 'Eligibility_reports'||p_request_id||'.xls';
    -- DBMS_OUTPUT.PUT_LINE (lv_rep_headers);
    wfile_handle := UTL_FILE.fopen (lv_path, lv_att_file_name, 'W');
    UTL_FILE.put_line (wfile_handle, lv_rep_headers);
    BEGIN
    LOOP
    FETCH p_o_srv_result INTO lv_str_type;
    EXIT WHEN p_o_srv_result%NOTFOUND;
    lv_line := NULL;
    FOR i IN 1 .. lv_str_type.COUNT
    LOOP
    lv_line := lv_line || lv_str_type (i) || CHR (9);
    END LOOP;
    lv_line := lv_line || CHR (13);
    UTL_FILE.put_line (wfile_handle, lv_line);
    END LOOP;
    lv_str_type.DELETE;
    END;
    UTL_FILE.fclose (wfile_handle);
    BEGIN
    wfile_handle := UTL_FILE.FOPEN (lv_path, lv_att_file_name, 'R');
    -- DBMS_OUTPUT.PUT_LINE ('inside file');
    LOOP
    UTL_FILE.GET_LINE (wfile_handle, lv_line_data,32767);
    -- DBMS_OUTPUT.PUT_LINE (lv_line_data);
    lv_clob := lv_clob || lv_line_data;
    END LOOP;
    UTL_FILE.FCLOSE (wfile_handle);
    EXCEPTION
    WHEN OTHERS
    THEN
    errbuf := sqlerrm;
    UTL_FILE.FCLOSE (wfile_handle); -- close file
    DBMS_OUTPUT.PUT_LINE ('Exception'||errbuf);
    NULL;
    END;
    DBMS_OUTPUT.PUT_LINE ('afterdata');
    --DBMS_OUTPUT.PUT_LINE (lv_line_data);
    SELECT email_id
    INTO lv_send_to
    FROM xxcss_prf_offline_report_tb
    WHERE request_id = p_request_id AND report_type = p_request_type;
    mail_conn := UTL_SMTP.open_connection (lv_host_name, 25);
    UTL_SMTP.Helo (mail_conn, lv_host_name);
    UTL_SMTP.Mail (mail_conn, 'sangrdas');
    UTL_SMTP.Rcpt (mail_conn, lv_send_to);
    UTL_SMTP.OPEN_Data(mail_conn) ;
    DBMS_OUTPUT.PUT_LINE ('Sending Data');
    UTL_SMTP.write_Data (
    Mail_Conn,
    'Date: '
    || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
    || crlf
    || 'From: '
    || lv_from
    || crlf
    || 'Subject: ELIGIILITY Report_'
    || p_request_id
    || crlf
    || 'To: '
    || lv_send_to
    || crlf
    || 'MIME-Version: 1.0'
    || crlf
    || -- Use MIME mail standard
    'Content-Type: multipart/mixed;'
    || crlf
    || ' boundary="-----SECBOUND"'
    || crlf
    || '-------SECBOUND'
    || crlf
    || 'Content-Type: text/plain;'
    || crlf
    || 'Content-Transfer_Encoding: 7bit'
    || crlf
    || 'some message text'
    || crlf
    || -- Message body
    'more message text'
    || crlf
    || '-------SECBOUND'
    || crlf
    || 'Content-Type: text/plain;'
    || crlf
    || ' name="'|| lv_att_file_name||'"'
    || crlf
    || 'Content-Transfer_Encoding: 8bit'
    || crlf
    || 'Content-Disposition: attachment;'
    || crlf
    || ' filename="'
    || lv_att_file_name
    || '"'
    ||crlf
    ||crlf
    ||lv_clob
    || crlf
    ||crlf
    ||crlf
    || '-------SECBOUND');
    UTL_SMTP.CLOSE_Data(mail_conn) ;
    UTL_SMTP.quit (mail_conn);
    DBMS_OUTPUT.PUT_LINE ('After Mail');
    EXCEPTION
    WHEN OTHERS THEN
    errbuf := sqlerrm;
    DBMS_OUTPUT.PUT_LINE ('ERROR Sending Data'||errbuf);
    ROLLBACK;
    END;
    /

    Yet again, opening a new thread for an existing issue...
    Need help in UTL file
    Same old, same old...
    need a report code
    need to create the header dynamically for a report
    Would have thought you'd get the idea of posting on the forums by now.

  • Numeric values longer than 32bit?

    Greetings,
    I'm an EE student currently working as a LV instrument driver developer
    for a well-known T&M equipment manufacturer here in Munich.
    My problem is the following: Is it possible to handle numeric values
    longer than 32bit in LV? Specifically, one of my instrument driver VIs
    needs to supply an initialization value to the Wideband CDMA "long code"
    configuration menu of a versatile vector signal generator. This value
    can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
    I'm not mistaken). The instrument expects this value in hexadecimal
    form.
    A quick and dirty solution could be either to split up the control range
    in 32+9 bits, i.e. place two controls on the front panel, or to use a
    string control an
    d have the user specify the hex value as a string. Both
    solutions are not very desirable though, especially since instrument
    driver VIs are meant to be used as sub-VIs in customer-specific programs
    and for that reason aren't usually accessed from their front panels.
    So, are there any other, more elegant solutions than the ones mentioned
    above?
    Thanks a lot in advance!
    (c) Tobias Hermann

    In <[email protected]> Tobias Hermann writes:
    >My problem is the following: Is it possible to handle numeric values
    >longer than 32bit in LV? Specifically, one of my instrument driver VIs
    >needs to supply an initialization value to the Wideband CDMA "long code"
    >configuration menu of a versatile vector signal generator. This value
    >can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
    >I'm not mistaken). The instrument expects this value in hexadecimal
    >form.
    FORMING THE 41-bit STORAGE
    You can create any arbitray numerical data length by using a binary
    array. This is the best and most direct solution to your needs.
    Just remember, LabView allocates binary arrays in multiples of bytes,
    so a 41-bit array will be rounded up to a length of 6 bytes or
    48-bits; however, LabView knows to return only the first 41-bits to
    you upon request.
    GENERATING AN ARRAY OF 41-bit VALUES
    The next issue is that you need an array of 41-bit numbers. You simply
    define this as a 2-dimensional array of binary values. When
    initializing this array, be certain you order the dimension indices
    such that the fastest moving index has a size value of 41. The slowest
    moving index will then be for the actual numerical size of your array.
    If you transpose the index definition, nothing will work right! Be
    careful!
    When your array (above) is defined, it should be shown in LabView as a
    brown wire, which deplicts it as a binary 2-dimensional array. If it
    is instead shown in a magenta color, then you instead defined and array
    (cluster) of 41-bit binary numbers. That will work okay too (and will
    even be easier the used), but it will take more storage and will take
    LabView longer to handle. However, if you're more confortable will the
    latter choice, I can understand that. It does have the feature of being
    able to address each 41-bits number directly. With the 2-dim approach
    I initially outlined, you'll need to slice out each 41-bit number from
    the 2-dim array each time you access (read/write) it.
    FORMATTING BINARY INTO HEX
    Formatting your storged numbers is an entirely _separate_ issue and
    your 41-bits numbers only need to worry about formatting when you
    send them to an output device. For a LabView control panel, simply
    open a binary array control, then select the appropriate options so
    they are displayed in base-2, octal, or hex. LabView supports all
    three display formats with any binary indicator.
    If you need to format your numbers to a hex string (for an output
    device), try the "To Hexadecimal" or "Format & Append" function.
    Again, if you're using the 2-dim binary array apprach, you'll need to
    slice out each 41-bit number indivdually. If you're using the cluster
    (array) if 1-dim 41-bit array approach, you can skip that step.
    Frankly, I'm not sure how well LabView's formatting functions work with
    1-dim binary arrays, but in principal they should. If they don't work
    directly, no big deal. Just cast the 41-bit arrays into U8 numbers
    (bytes) and have the formatting function format those numbers into hex
    strings; simply one more step.
    One question: Why on earth do you want to format the data going
    into your instrument in the first place? Almost all instruments will
    take binary input _directly_ without formatting it into ASCII (octal,
    hex, etc) first. This is much faster because the ASCII of all this
    hex stuff requires many more bytes to transfer to your instrument.
    Moreover, the instrument then needs to convert the ASCII (hex) back
    into binary before it can use any of it. You should investigate
    skipping the formatting step altogether. The exception might be
    if you're using an RS-232 connection to your instrument where raw
    binary isn't allowed. Newer interfaces like GPIB, 1394, etc will
    allow binary transfer directly.
    COMMENTS ON STRINGS
    Don't use strings in LabView. By default, each string get a minimal
    memory allocation of 2K. If you define a 100 element (array) string,
    that's 200K of memory just to hold those strings. Not a big deal, but
    when the memory manager starts doing garbage collection (which is
    required with string manipulations), things will really slow down.
    String are important, but data should always be stored in a binary
    form within any computer, not in ASCII formatted form (hex included).
    /\ Mark M Mehl, alias Superticker (Supertickler to some)
    <><> Internet: [email protected]
    \/ Preferred UUCP: uunet!iastate.edu!mehl
    Disclaimer: You got to be kidding; who would want to claim anything I said?

  • Form error Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA

    hi,
    i have an APEX form that updates a table. The form items were created autmatically from the table fields. The 3rd field is a date field and therefore the corresponding date field on the form has a calender icon on its right side. i choose a date from this calender and when i hit the update button i receive this message:
    Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA
    any ideas?

    Hi,
    Could we get you to change 1010319 to a meaningful handle -- I'm Howard.
    In order to give helpful answers, we usually need more information including as much relevant information as possible upfront. This should include:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    Theme used
    Template(s) used / modified -- (Revelant/important for some problems.)
    Region/item type(s)
    and more detail about what you want to do.
    Are you using ARP (Automatic Row Processing)?
    Do you do any validations?
    Could you make a trival 1-page application on apex.oracle.com duplicating the problem there?
    Howard

  • Entering numeric values with suffixes in Labwindows CVI (e.g 100 kHz instead of 100e3 or 100000 )

    is there any practical way of entering numeric values with suffixes in Labwindows CVI in order to prevent user from struggling with '0' es. 

    In LabVIEW there is another Display Format called "SI Notation" that is exactly what you're looking for.
    Maybe you can add a feature request in CVI Idea Exchange Forum and ask NI to add this Display Format in CVI too.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Issue with the brightness slider (numeric value possible?)

    As a retoucher I am supposed to keep accurate color management. I create my ICC Monitor profiles with an X-Rites i1XT meter. The screen calibration includes a brightness adjustment to meet a desired luminosity value (I choose to work on a 120cd/m level). My issue is that apples "brightness slider" wont define a value or percentage which I could associate with my current ICC profile. If I would for instance watch a movie in full brightness I could never get back to my previous brightness settings in order to maintain my desired color accuracy!
    is there a way to read out or dial in a "brightness value" (maybe trough a script?)
    does anyone know about an external tool that could help me (without interfering the ICCs)
    THX a lot,
    TIM

    1. This is a user to user forum. To send Apple your requests, use the Apple - Mac OS X - Feedback link.
    2. The brightness slider sets an electrical level for screen brightness, but the actual brightness depends on the age of the screen & other components, previous brightness level, manufacturing variations, etc. For this reason, even if you set the level to the same indicated value each time, this does not guarantee the actual brightness will remain the same, nor can you calibrate indicated values directly in cd/sqm over long periods of time. You will still periodically have to use the calibrator.
    3. You can use an Applescript to set the electrical level to a repeatable numeric value (although because of #2 above, this will not guarantee a repeatable actual screen brightness). See Any ideas on adjusting monitor brightness via AppleScript? for a suggested script. Note that you will need to change "Color LCD" in that script to whatever name your System Preferences > Displays > Display tab shows & change "0.8" to whatever brightness level you want (with 0 being darkest & 1 being brightest). You must also have GUI scripting enabled.
    A more elaborate version of the script could save the current value for later recall or set different levels for different apps. For help with this, post in the AppleScript forum.

  • If..then formula requiring numeric values

    Post Author: scd07
    CA Forum: Formula
    I have the need to create a formula that will analyze one field in order to determine the value of another field.  Below is a formula that follows the correct logic, but as it is a Boolean formula, it returns a  True/False answer, instead of the correct (numeric) data.  I do not know how to rephrase the formula that will return the numeric value.
    if {TLORDER.BILL_NUMBER} = previous ({TLORDER.BILL_NUMBER}) then {TLORDER.TOTAL_CHARGES} = 0 else {TLORDER.TOTAL_CHARGES} = {TLORDER.TOTAL_CHARGES}
    I appreciate any help!  Thank you!

    Post Author: scd07
    CA Forum: Formula
    Ok, this formula also works well, and I can now go in and create a Running total.  But again, I barely know what I am doing!  Here is what I put in the formula:
    Whileprintingrecords;Currencyvar Amount;
    if {LEGSUM.LS_TRIP_NUMBER}={LEGSUM.LS_TRIP_NUMBER} then Amount := Amount + {@Total Charges}
    This is providing a running total of the Last entry for each group.  It is not totaling All the records within the group.  I certainly appreciate your help with this.  I am actually a network person being impressed into reporting duty, and I am definitely experiencing "Trial by fire".  Thanks!
    Sara

Maybe you are looking for

  • Satellite A50-543 - What is correct BIOS?

    hi My friend has a a Satellite laptop and the internal CD drive is broken and as her Windows had a virus and has been exhibiting strange behaviour I'd like to clean install XP. The current BIOS ver 1.2 doesn't support booting from USB CD-ROM drives.

  • Tool to export and import high volume data from/to Oracle and MS Excel

    We are using certain reports (developed in XLS and CSV) to extract more than 500K to 1M records in single report. There around 1000 reports generated daily. The business users review those reports and apply certain rules to identify exceptions then t

  • Need help with New Topic in RoboHelp 7

    I'm trying to pick up where someone else left off and am a little lost.  I have a WebHelp project on a Sharepoint site.  I have added a new topic which I can see in my file structure, but when I generate the project the new topic file does not show u

  • How do I fix error: cannot sync ipod due to missing file

    I have 4th generation ipod shuffle, but after having to do some work on computer, ipod no longer will sync and load purchased songs to my ipod. I have updated everything and reinstalled itunes. It starts to sync but then stops. I finally got an error

  • How do I convert VRO to MPEG

    My Sony Handy Cam recorded video as VRO, how can i change this so i can import to imovie