Global reference for columns

Lets say I have three columns, A, B, and C. I want C to always be A-B. I can do this now but I always have to put in the row number, i.e. the formula for row 6 column C would be ( =a6-b6 ) and I have to put in the row number individually for each of the C column formulas. I would rather just put in a variable which would do it for each row automatically.

If you enter
=A2-B2 in cell C2
you may fill the entire column without changing the row num by hand.
Select the cell C2 then drag its bottom_right circular handle to the bottom of the column.
The cells will be filled with an auto-adjusted row number.
I used the short reference very often but since a few months I'm back to the complete reference for three reasons :=
(1) if I export a spreadsheet to Numbers '08, the transcoder code will use the complete references. So I assumed that it may be a hidden reason.
(2) As the User Guide never describe the short reference, I'm afraid that a new application version drop the short reference
(3) I'm not sure that the short syntax is faster than the 'official' one.
Yvan KOENIG (VALLAURIS, France) lundi 6 décembre 2010 19:15:22

Similar Messages

  • Getting Menu Reference for a VI other than the current one

    Is there any way to get a Menu reference for a VI that isn't the current VI? There's Current VI's Menubar, but that only works on the current VI. I'd like something that does the same thing, but accepts a VI reference to a higher-level VI. I would expect to find a Property Node entry for it, but there doesn't seem to be one. This is for 8.2.

    eaolson wrote:
    A functional global is what I wound up using. It just seems odd to me that there's no other way to get access to that reference.
    It also seems counter-intuitive to me that a Shortcut Menu reference is only valid inside that particular frame of the Event Structure that caught it. If you're using a producer-consumer architecture, you can not send that refnum off to the consumer loop for handling; it can only used within that frame of the Event Structure.
    I am not sure what you mean. The refnum seems to be accessible from everywhere .
    As i wrote above:
    You can store the Menu Reference to a global variable for example, and you can read it, in any vi you want, just like all variables.
    Note: Do not try to use a property note. Use the menu functions

  • SQL Error: ORA-12899: value too large for column

    Hi,
    I'm trying to understand the above error. It occurs when we are migrating data from one oracle database to another:
    Error report:
    SQL Error: ORA-12899: value too large for column "USER_XYZ"."TAB_XYZ"."COL_XYZ" (actual: 10, maximum: 8)
    12899. 00000 - "value too large for column %s (actual: %s, maximum: %s)"
    *Cause:    An attempt was made to insert or update a column with a value
    which is too wide for the width of the destination column.
    The name of the column is given, along with the actual width
    of the value, and the maximum allowed width of the column.
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.
    *Action:   Examine the SQL statement for correctness.  Check source
    and destination column data types.
    Either make the destination column wider, or use a subset
    of the source column (i.e. use substring).
    The source database runs - Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    The target database runs - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    The source and target table are identical and the column definitions are exactly the same. The column we get the error on is of CHAR(8). To migrate the data we use either a dblink or oracle datapump, both result in the same error. The data in the column is a fixed length string of 8 characters.
    To resolve the error the column "COL_XYZ" gets widened by:
    alter table TAB_XYZ modify (COL_XYZ varchar2(10));
    -alter table TAB_XYZ succeeded.
    We now move the data from the source into the target table without problem and then run:
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));
    -Error report:
    SQL Error: ORA-01441: cannot decrease column length because some value is too big
    01441. 00000 - "cannot decrease column length because some value is too big"
    *Cause:   
    *Action:
    So we leave the column width at 10, but the curious thing is - once we have the data in the target table, we can then truncate the same table at source (ie. get rid of all the data) and move the data back in the original table (with COL_XYZ set at CHAR(8)) - without any issue.
    My guess the error has something to do with the storage on the target database, but I would like to understand why. If anybody has an idea or suggestion what to look for - much appreciated.
    Cheers.

    843217 wrote:
    Note that widths are reported in characters if character length
    semantics are in effect for the column, otherwise widths are
    reported in bytes.You are looking at character lengths vs byte lengths.
    The data in the column is a fixed length string of 8 characters.
    select max(length(COL_XYZ)) from TAB_XYZ;
    -8
    So the maximal string length for this column is 8 characters. To reduce the column width back to its original 8, we then run:
    alter table TAB_XYZ modify (COL_XYZ varchar2(8));varchar2(8 byte) or varchar2(8 char)?
    Use SQL Reference for datatype specification, length function, etc.
    For more info, reference {forum:id=50} forum on the topic. And of course, the Globalization support guide.

  • How to setup a global artwork for a TV Show

    Hi, I've a TV Show composed by 45 episodes where each one have his artwork but I don't know how to setup a global artwork for the TITLE of the TV Show while retaining the 45s artworks.
    ie. when watching the Tv Shows (library on iTunes) I would like to see the global artwork of the Tv Show that is different of the other 45s episodes contained.
    Bye, Roberto.

    Sorry, I don't believe that you have had a good look at the Foundation framework. I'll now hold your hand while we go through the basics.
    Here is the specific page http://foundation.zurb.com/docs/components/grid.html
    The default values are
    Em-base : 16px
    Row width: 62.5em (62.5em x 16px = 1000px)
    Columns per row: 12
    These and other default values can be changed. The fact of the matter is that if you stipulate a section width of 2 or 3 or 12 columns, the widths will automatically be calculated for you.
    In your case, if you want 7 columns, all you need to do is change the number of columns per row and the rest is done for you.

  • We want to view header reference as column data wonu2019t appear in any Refaren

    Dear Experts,
    we want to view header reference as column data wonu2019t appear in any of the reference filed.
    Please tell me the soluation How can I give the soluation bilow issue.
    Currently user are facing one problem with respect of Line item report.
    In any of the line item report (i.e. FBL1N, FBL3N, FBL5N) we want to view header reference as column data wonu2019t appear in any of the reference filed.
    For Example in Bank G/L Cheque number was enter in reference field but same is not apear
    In Sales G/L or tax G/L invoice number is to be appear which is again invoice number as reference in document.
    Regards
    Devendra.
    Moderator: Please, search SDN before posting

    Hi,
    To add Reference field in line item report do below.
    From FBL1N output screen.
    Click change layout / (clr + F8)
    Now add Hidden field u2018Referenceu201D to column content and push copy button.
    Now you should be able to view reference field (BKPF- XBLNR) in line item report.
    Best Regards,
    Raju

  • Java.sql.BatchUpdateException: ORA-12899[ value too large for column.......

    Hi All,
    I am using SOA 11g(11.1.1.3). I am trying to insert data in to a table coming from a file. I have encountered the fallowing error.
    Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    *insert failed. Descriptor name: [UploadStgTbl.XXXXStgTbl].*
    Caused by java.sql.BatchUpdateException: ORA-12899: value too large for column "XXXX"."XXXX_STG_TBL"."XXXXXX_XXXXX_TYPE" (actual: 20, maximum: 15)
    *The invoked JCA adapter raised a resource exception.*
    *Please examine the above error message carefully to determine a resolution.*
    The data type of the column errored out is VARCHAR2(25). I found related issue in metalink, java.sql.BatchUpdateException (ORA-12899) Reported When DB Adapter Reads a Row From a Table it is Polling For Added Rows [ID 1113215.1].
    But the solution seems not applicable in my case...
    Can anyone encountered same issue?? Is this a bug? If it is a bug, do we have patch for this bug??
    Please help me out...
    Thank you all...
    Edited by: 806364 on Dec 18, 2010 12:01 PM

    It didn't work.
    After I changed length of that column of the source datastore (from 15 to 16), ODI created temporary tables (C$ with I$) with larger columns (16 instead of 15) but I got the same error message.
    I'm wondering why I have to extend length of source datastore in the source model if there are no values in the source table with a length greather than 15....
    Any other idea? Thanks !

  • ORA-12899: value too large for column "SYS"."SYS_TEMP_0FD9D6677_2AA50E11"."

    Oracle Database:11.2.0.1
    OS: AIX6.1
    The database is getting the below error in alert log.Can anyone tell me what is the cause of these errors and how they can be rectified.
    ORA-12899: value too large for column "SYS"."SYS_TEMP_0FD9D6677_2AA50E11"."C1" (actual: 15, maximum: 13)
    ORA-12012: error on auto execute of job 724116
    ORA-12899: value too large for column "SYS"."SYS_TEMP_0FD9D6677_2AA50E11"."C1" (actual: 15, maximum: 13)
    ORA-06512: at "SYS.PRVT_ADVISOR", line 2693
    ORA-06512: at "SYS.DBMS_ADVISOR", line 241
    ORA-06512: at "SYS.DBMS_SQLTUNE", line 772
    ORA-06512: at line 4
    Oracle Database:11.2.0.1
    OS: AIX6.1

    Kuljeet Pal Singh wrote:
    ORA-12012: error on auto execute of job 724116
    ORA-06512: at "SYS.DBMS_ADVISOR", line 241Appear error is coming from auto task job which is by default running in database from 10PM.
    this could be due to bug,check MOS or Raise SR to oracle.I have checked the MOS but did not get any reference to the below error
    ORA-12899: value too large for column "SYS"is this cause any harm to my database ?
    Edited by: 953053 on Aug 30, 2012 11:36 PM

  • Global reference in J2EE

    is it possible for inter-clients (for example, java bean, ejb or servlet in J2EE) to get a global reference to an object which is in momory?

    Sure bind the object to global name using JNDI then use the name to look up the object from the various components.

  • Updated 'Second GLOBAL Schema for Documentation' posted to OTN

    The Oracle OLAP Application Developer's Guide 10.2 uses a specific version of the GLOBAL schema for some of its examples. This version, global_doc.zip, has been updated and posted to OTN. In the previous version, Window users may have run into a problem installing the Second Global Schema for Documentation. It was discovered that in the global_install.sql script the line that imports the data is operating system specific. That line starts with "!imp" .
    The line to begin with "ho imp" has been changed so that it works for both Windows and Linux. You can find the new version of global_doc.zip at the following OTN site:
    http://www.oracle.com/technology/products/bi/olap/doc_sample_schemas/globalschemawithxml.html

    Hi,
    Try checking the table XML_LOAD_LOG as this contains details of all the jobs executed for your AW. I suspect the mapping for your source data columns to your cube measures and dimension keys is probably incorrect. If you check the load log table it will tell you if any rows were loaded into your cube and/or how many rows were rejected by the load. If you cannot see any data I suspect the load rejected all the records.
    Try using the following report to look at the load log table:
    select XML_LOADID as "Load ID"
    , XML_RECORDID as "Record ID"
    , XML_AW as "AW"
    , XML_DATE as "Date"
    , TO_CHAR(XML_DATE, 'HH24:MM:SS') as "Actual Time"
    , substr(XML_MESSAGE, 1, 9) as "Message Time"
    , substr(XML_MESSAGE, 9) as "Message"
    from olapsys.xml_load_log order by 1 desc, 2 descKeith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • OCCI API Reference for XMLDB

    Hello everyone...
    I'm a beginner with Oracle & OCCI. I'm trying to develop an application that uses XMLDB as back-end. Can anyone please give me the API reference for OCCI to access XMLDB.
    I just want to store & retrive data from a XMLType table. I has tried little bit with relational tables, now i want to go for XMLType tables / columns.
    Thanks in advance,
    With regards,
    R Kaja Mohideen

    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/q20224/index.html
    you can also find it in your ORACLE_HOME/jdbc/doc/javadoc.zip or jar
    Elango.

  • Making JNIEnv a global reference

    Hi All,
    I have a class A in which I have a method m1() and a static method m2(). From m1() I invoke a native method nm1() passing refernce to the JNIEnv and other parameters. When there is a call to nm1(), the control goes to nm2 another native method. From nm2, I need to make a call back method on class A to invoke m2(). Please note that I cannot pass JNIEnv reference to nm2(). Can I make the incoming JNIEnv inside nm1() a global reference and access it from nm2()? Also note that i will only make use of JNIEnv and not the jObject in the nm2(). I know it works but would like to know what would be the impact in the multi threaded scenario.
    Any inputs in this regard would be greatly apprciated.
    Thanks,
    Griish

    Hi,
    I think you should save the JavaVM* pointer then get back the JNIEnv* from it.
    See the callback part of JNative at http://jnative.cvs.sourceforge.net/jnative/JNativeCpp/CallBack.cpp?view=markup
    As you can see at line 11 the JNIEnv got from the vm pointer.
    I choose to save the JavaVM* pointer for potential threading issues.
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ASCP Plan Is Not Able To Read Global Forecast For Options Published By Demantra

    ASCP plan is not able to read global forecast for options published by Demantra
    ASCP plan is not able to read global forecast for options published by Demantra. Only Model Forecast is being read into ASCP plan. 
    1) We are publishing global forecast from Demantra at CTO/Zone/Week level and it is getting published properly to ASCP denorm table. 
    2)There is no forecast explosion being done in ascp (plan option explode forecast is not checked) 
    3)The sourcing rule is set at zone level for the model saying source from an organization (org code 11) 
    4) The profile: msc:-Organization containing generic BOM for global forecasting is set to 22 which is a reference org 
    5) Now when we run the plan the model forecast goes to org 11  but the option forecasts do not go properly 
    6) We have just one line created for the option (production forecast) with a wrong quantity
    7) Demantra has forecasts for both Model and options

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • JHAT / JNI Global Reference

    I'm tracking down a memory leak using jmap and jhat. I have a number of objects (frames of a MDI) for which the only surviving strong reference is listed as a JNI Global Reference. I know basically what these are, but I know that I'm not calling NewGlobalRef in my JNI code (which consults the Windows registry and handles file dialogs).
    It may be coming from one of several 3rd party libraries that are included. Does anyone have advice on how to track these references in JNI land?
    The jhat output for rootset reference chains:
    Rootset references to com.example.Frame@0x7acc3a0 (excludes weak refs)
    References to com.example.Frame@0x7acc3a0 (773 bytes)
    JNI Global References
    JNI Global Reference :
    --> com.example.Frame@0x7acc3a0 (773 bytes)
    Thanks much,
    Michael

    You could mock the calls out for each dll.

  • Error while updating a custom Windows Azure Diagnostics configuration xml from powershell. "Invalid update to extension reference for role"

    I am attempting to upload a manually edited WADConfig xml to my VM. The WAD service is functioning correctly, I needed to add some custom WinEventLogs. The prescribed steps result in an error.
    What am I overlooking?
    I am following these instructions:
    Step 5: Remotely install Diagnostics on your Azure Virtual Machine
    azure.microsoft.com/en-in/documentation/articles/cloud-services-dotnet-diagnostics/#virtual-machine
    $storage_name = "wadexamplevm"
    $key = "<StorageAccountKey>"
    $config_path="c:\users\<user>\documents\visual studio 2013\Projects\WadExampleVM\WadExampleVM\WadExample.xml"
    $service_name="wadexamplevm"
    $vm_name="WadExample"
    $storageContext = New-AzureStorageContext
    -StorageAccountName $storage_name -StorageAccountKey $key
    $VM1 = Get-AzureVM
    -ServiceName $service_name -Name $vm_name
    $VM2 = Set-AzureVMDiagnosticsExtension
    -DiagnosticsConfigurationPath $config_path
    -Version "1.*"
    -VM $VM1 -StorageContext $storageContext
    $VM3 = Update-AzureVM
    -ServiceName $service_name -Name $vm_name
    -VM $VM2.VM
    Unfortunately, I am receiving this error:
    Update-AzureVM : BadRequest: Invalid update to extension reference for role: XXXXXX and reference: IaaSDiagnostics.
    What's missing from the above script?

    Hi,
    Since Azure SDK 2.5 uses the extension model the diagnostics extension, the configuration and the connection string to the diagnostic storage are no longer part of the deployment package and cscfg. All the diagnostics configuration is contained within the
    wadcfgx. The advantage with this approach is that diagnostics agent and settings are decoupled from the project and can be dynamically enabled and updated even after your application is deployed. 
    Due to this change some existing workflows need to be rethought – instead of configuring the diagnostics as part of the application that gets deployed to each environment you can first deploy the application to the environment and then apply the diagnostics
    configuration for it.  When you publish the application from Visual Studio this process is done automatically for you. However if you were deploying your application outside of VS using PowerShell then you have to install the extension separately through
    PowerShell.
    There PowerShell cmdlets for managing the diagnostics extensions on a Cloud Service are -
    Set-AzureServiceDiagnosticsExtension
    Get-AzureServiceDiagnosticsExtension
    Remove-AzureServiceDiagnosticsExtension
    You can use the Set-AzureServiceDiagnosticsExtension method to enable diagnostics extension on a cloud service. One of the parameters on this cmdlet is the XML configuration file. This file is slightly different from the diagnostics.wadcfgx file. You can
    create this file from scratch by either following the article that you are referring to or  you can modify the wadcfgx file and pass in the modified file as a parameter to the powershell cmdlet.
    To modify the wadcfgx file –
    Make a copy the .wadcfgx.
    Remove the following elements from the Copy:
    <DiagnosticsConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
       <PrivateConfig xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration">
         <StorageAccount name=" " endpoint="https://core.windows.net/" />
       </PrivateConfig>
       <IsEnabled>false</IsEnabled>
    </DiagnosticsConfiguration>
    Make sure the top of the file still has xml version and encoding –
       <?xml version="1.0" encoding="utf-8"?>
    Effectively you are stripping down the Wadcfgx to only contain the <PublicConfig> section and the <?xml> header. You can then call the PowerShell cmdlet along with the appropriate parameters for the staging slots and roles:
    $storage_name = ‘
    <storagename>’
    $key= ‘<key>’
    $service_name = '<servicename>'
    $public_config = '<thepublicconfigfrom_diagnostics.wadcfgx>'
    $storageContext = New-AzureStorageContext –StorageAccountName $storage_name –StorageAccountKey $key
    Set-AzureServiceDiagnosticsExtension -StorageContext $storageContext -DiagnosticsConfigurationPath $public_config –ServiceName $service_name -Slot ‘Staging’ -Role ‘WebRole1’
    Hope this helps !
    Regards,
    Sowmya

  • Popup Key LOV, NULL and "Invalid numeric value undefined for column"

    Hello.
    I've created an item based on database column of NUMBER type and set the following properties:
    Display As = Popup Key LOV (Displays description, returns key value)
    List of values definition=select 'display_value' d, 1 r from dual
    Null display value=%
    Null return value=
    Display Null=Yes
    When I select "%" in the LOV and try to apply changes to database I get error:
    ORA-20001: Error in DML: p_rowid=1781, p_alt_rowid=N1, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value undefined for column N2
    Error Unable to process row of table TTT.
    If I set Display As = Select List, all works fine. But I need Popup Key LOV.
    Could anybody help me?
    I use Application Express 2.2.1.00.04

    Hi all,
    I did my homework and solved this issue. First I would like to thank Patrick Wolf for the invaluable help he gives out on thread Re: Null value handling in LOVs The code presented here is just a minor edit to his code, but an essential one when dealing with Popup Key LOV items.
    Here's what I did:
    1. Create an Application Process.
    Name: RemoveNulls
    Sequence: 0
    Point: On Submit: After Page Submission - Before Computations and Validations
    Process Text:
    BEGIN
        FOR rItem IN
          ( SELECT ITEM_NAME
              FROM APEX_APPLICATION_PAGE_ITEMS
             WHERE APPLICATION_ID   = TO_NUMBER(:APP_ID)
               AND PAGE_ID          IN (TO_NUMBER(:APP_PAGE_ID), 0)
               AND LOV_DISPLAY_NULL = 'Yes'
               AND LOV_DEFINITION   IS NOT NULL
               AND LOV_NULL_VALUE   IS NULL
        LOOP
            IF (V(rItem.ITEM_NAME) = '%null' || '%' OR V(rItem.ITEM_NAME) = 'undefined')
            THEN
                Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);
            END IF;
        END LOOP;
    END;Error Message: #SQLERRM#Condition: None
    2. You should be able to submit a Popup Key LOV with a NULL value now.
    Once again, THANKS, Patrick! You rock! I'm seriously thinking of trying ApexLib now :)
    Georger

Maybe you are looking for

  • Is it true if you have a mobleme account apple will send you a copy of osx snow leopard 10.6

    is it true if you have a mobileme account apple will send you a free copy of snow leopard 10.6?

  • Loss of external speakers after Yosemite download

    MacBook Pro 2010.  Yosemite 10.10.  Loss of external speakers and loss of F10, 11 and 12 Function keys

  • How to delete a Logical system?

    Hi all, I was trying to execute the Demo examples provided as part of SAP XI. Before executing, I am trying to configure the settings, but I created some Logical Systems which didn't configured well. So, I want to delete them in order the reconfigure

  • DATE issue in UIX page

    Dear All, I am having a weird date related issue while loading a date value. We show date values in Uix pages, all the Oracle.sql.Date (which in turn convered to java.sql.Data)are displayed a day less in the UIX. The dates are shown in <textInput> or

  • Batch Class Assignment

    Dear All, I have created a material with batch management & i have assigned a Class of type "023" in the classification view. When i open the same material again there is no class assigned to the material. this is happening to all materials..... plzz