1.5.4 Bug: Second Worksheet

Why do SQLDeveloper open two worksheets on each connection? Ist it a feature or a bug?
In version 1.5.1 & 1.5.3 it didn't happen!
best regards freamer

These are my versions. should be the latest. It is running on XP SP3:
About
Oracle SQL Developer 1.5.4
Version 1.5.4
Build MAIN-5940
Copyright © 2005,2009 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.48
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.59.40
Version
Component     Version
=========     =======
Java(TM) Platform     1.5.0_06
Oracle IDE     1.5.4.59.40
best regards freamer

Similar Messages

  • Bug with Worksheet Line Numbers in 2.1?

    I'm seeing an "issue" with line numbers enabled in the worksheet. When i have a plsql block with nested procedure/functions, and I collapse/expand the nested code, the line numbers in the worksheet don't consistently update till I resize the window.
    Example)
    1 [-] declare
    2 [-]   function f1
    3       return number
    4       as
    5         return null;
    6       end f1;
    7     begin
    8       dbms_output.put_line(f1) ;
    9     end;
    10    /turns into this when I collapse:
    1 [-] declare
    2 [+]   function f1...
    3     begin
    4       dbms_output.put_line(f1) ;
    5     end;
    6     /but turns into this when I resize sel developer:
    1 [-] declare
    2 [+]   function f1...
    7     begin
    8       dbms_output.put_line(f1) ;
    9     end;
    10    /I'm using the 2.1 release with the included JDK on a WinXpSP2 box.

    Hi Dylan,
    Thanks for this feedback.
    I have log a bug for tracking.
    Bug 8982049 - FORUM:LINENUMBER IS GUTTER NOT REFRESHED AFTER FOLDING
    Regards,
    Dermot.
    SQL Developer Team

  • I am wanting to exactly match two ID numbers from two differing worksheets within one work book. Once matched I am wanting to retrieve a row value from the second worksheet into the first. Any help much appreciated.

    I am wanting to exactly match two ID numbers from two worksheets within the one work book. ID numbers are non linear. Once exactly matched I wish to retrieve a corresponding row value from worksheet two and have it appear in worksheet one against the correct ID number. I have been looking at IF, VLOOKUP, and MATCH functions and suspect that what I want to do requires a combination of two or more. Any help will be greatly appreciated.
    regards Vaughanh

    Vaughan,
    Data A:D is all cells start at column A thru column D.
    There is built-in help using the menu item "View > Show Function Browser"  in the search field (top right) you can enter vlookup and you will see the detailed description.
    From this we see:
    VLOOKUP
    (search-for, columns-range, return-column, close-match)
    search-for:  The value to find. search-value can contain any value type.
    columns-range:  A range of cells. range is a reference to a single range of cells, which may contain values of any type.
    return-column:  A number that specifies the relative column number of the cell from which to return the value. return-column is a number value. The leftmost column in the range is column 1.
    close-match:  An optional value that determines whether an exact match is required.
    close match (TRUE, 1, or omitted):  If there’s no exact match, select the column with the largest top-row value that is less than the search value. Wildcards can’t be used in search-for.
    exact match (FALSE or 0):  If there’s no exact match, return an error. Wildcards can be used in search-for.
    So... the 2,0 means return the value form the same row as the lookup value but from the 2nd column of the range.  3, 0 means from the 3rd column.  the ", 0" means exact match

  • Activate A Second Worksheet In Excel 2013 VBA

    I have an Excel 2013 workbook with 2 worksheets:
    1) Summary   MNA.Sheets("Summary")
    2) Agreement 1  MNA.Sheets("Agreement 1")
    I've tried all sorts of code to get from 1 to 2 in VBA, but keep getting an error.
    What is the proper code?
    Thanks.
    A. Wolf

    Have you tried
    Worksheets("Agreement 1").Select
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • EA1 - bug: worksheet not updated when switching between tables of same name

    Consider this scenario: two schemas, A, B. Each schema has a table X.
    Look at A.X data by selecting A/Tables/X in the connection list and clicking the Data tab.
    Now immediately look at B.X data by selecing B/Tables/X in the connection list.
    Bug: the worksheet viewer does not switch to B.X, but still shows A.X.
    Workaround: Click to another table before going from A.X to B.X.

    I had the same issue (bug: showing data in tables with same name, 2 different databases but I can't reproduce either...
    K.

  • Viewer Drilldown to another worksheet/report

    I have Report 1 Main Report having a hierarchy such as:
    Total Company > Region > Department, having say count of employees. I want to pass parameters to a second worksheet or report showing, say, a breakdown of employees by type for the particular unit highlighted on report 1 e.g. breakdown of employees for total company or breakdown for a particular region/department.
    I can do this in Discoverer Client using drill to another worksheet. This is not available in Viewer.
    I have tried to simulate this by creating a calculated item in administrator which builds a URL to call a second report, but I cannot get it to pass the parameters relevant to the specific hierarchical unit on report 1.
    Any ideas ?

    Hi Derek
    I am glad I was able to help. Yes, because you want to use hyperdrilling you do indeed need to get hold of 10.1.2. You also need to use the Plus version to create the hyperdrills because Desktop does not have this capability. You can then drill from one worksheet to another one that can either be in the same workbook or another workbook. The execution of hyperdrills works in Plus, Viewer and Desktop although for some reason the passing of parameters from a worksheet in Desktop seems not to work.
    You can pass either worksheet1's parameters or the actual cell values. As mentioned above this works fine in Plus and Viewer, but Desktop has an issue with passing anything other than cell values. Presumably this is a bug!
    Still, notwithstanding the above, you will find the new feature really easy to use and you will wonder how you ever managed without it.
    One more restriction is that you cannot pass multiple values in a parameter. Let's say you have a customer parameter and you select two customers. The initial query works fine and it displays the data for the two customers. Now lets build a hyperdrill to another worksheet that also has a parameter for the customer. When the link is executed only the first customer will be passed. Again this is a bug, verified by a TAR that I raised.
    The workaround is to build multiple single valued parameters such as Customer1, Customer2, Customer3 and so on. This does work and I have worksheets that pass multiple items this way. I even allow the user to key the value NONE into the 2nd or 3rd parameter and built special conditions to trap these. Here is an example:
    Customer = :Customer1 OR
    Customer = DECODE(:Customer2, 'NONE', :Customer1, :Customer2) OR
    Customer = DECODE(:Customer3, 'NONE', :Customer1, :Customer3)
    Hope this helps
    Regards
    Michael

  • Using Acrobat X and creating a PDF File from EXCEL 2010, I notice that the Pagination restarts at 1 for each Worksheet included in the PDF.

    I use Acrobat X Standard and created a PDF file from two or more worksheets using EXCEL 2010.
    The resulting PDF file restarts the PAGE # (In header/footer settings of Excel) at 1 for each worksheet.
    However, a colleague of mine who has Acrobat X Pro version, using EXCEL 2010 and same exact file does the same task, he gets a file that starts at page 1 and second worksheet continues the page # from the last page of the First worksheet.
    We both are using the ACROBAT menu (not the print to Adobe printer) to create the file so that we can get Bookmarks included in the resulting file for each worksheet.
    We cannot figure out any option in Acrobat's preferences that controls the pagination on either of these versions of Acrobat.
    So is this just a feature that works one way in Standard version and another way in the Pro version, and the user has no control over it?

    This is so sad. I read your comments and I said, "Huh?" Haha!
    I tried the indexed color option and it did make the final file smaller. Around 600KB. But there's probably another way to make it even smaller like the gazillion-paged pdf file that I mentioned that was only about 300KB.
    And by saying a layout program, does that mean like Adobe InDesign? Does that mean that I should just make my graphics in Photoshop and then import using another program and finish the file there?
    What other layout programs can I use?
    Thank you so much!

  • Printing specific Excel worksheets from ePrint on Iphone

    I'm attempting to print selected pages from an Excel file via HP ePrint v5.2.1 software on my IPhone 3GS, created by Docs ToGo.  I can get the software to see the file, even show me the second worksheet, which I want to print.  I can save it as a Document in ePrint, but when I print it, all that comes out is the first worksheet.
    Is there a way to select specific worksheets when printing?

    It has to do with the formatting of excel documents. ePrint doesn't use the same kind of print drivers that a computer uses, so when trying to print excel documents, it doesn't know how interpret the formatting to print it correctly. My solution was to always convert excel documents into PDF before trying to print them. That always seemed to work.
    Best of luck,
    Kyle
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • SQL Query results to CSV as two worksheets

    I'm trying to take two SQL queries and get the results sent to a CSV file on two worksheets.  Looking online I have not found a solid example of using the Excel ComObject to create a CSV then add a new worksheet to the CSV file.  An added bonus
    would be using AutoFit on the columns so everything is easily visible.
    Code found online got me the following script which does work, however it takes 12 minutes to pipe the SQL queries to Excel.  Switching to a CSV and the script executes in 5 seconds.
    This is another nice to have, I was also looking the best way to look at the results (only 1 column) and depending on the length of the data, insert what Excel would call a Cell thereby shifting cells RIGHT but so far have found no clear examples of how
    to accomplish that.  My guess would be modifying my SQL queries but I've posted a question on StackOverFlow and someone suggested modifying the PowerShell Table created from the SQL dataset.Tables
    Code:
    $docs = "C:\Scripts\Output.xlsx"
    If (Test-Path $docs){Remove-Item $docs}
    Function Run-Query {
    param([string[]]$queries,[string[]]$sheetnames)
    ## - Create an Excel Application instance:
    $xlsObj = New-Object -ComObject Excel.Application
    $xlsObj.DisplayAlerts = $false
    $xlsWb = $xlsobj.Workbooks.Add(1)
    ## - Create new Workbook and Sheet (Visible = 1 / 0 not visible)
    $xlsObj.Visible = 0
    $time = 2
    for ($i = 0; $i -lt $queries.Count; $i++){
    $percentage = $i / $time
    $remaining = New-TimeSpan -Seconds ($time - $i)
    $message = "{0:p0} complete" -f $percentage, $remaining
    Write-Progress -Activity "Creating Daily Reboot Spreadsheet" -status $message -PercentComplete ($percentage * 100)
    $query = $queries[$i]
    $sheetname = $sheetnames[$i]
    $xlsSh = $xlsWb.Worksheets.Add([System.Reflection.Missing]::Value, $xlsWb.Worksheets.Item($xlsWb.Worksheets.Count))
    $xlsSh.Name = $sheetname
    ### SQL query results sent to Excel
    $SQLServer = 'ServerName'
    $Database = 'DataBase'
    ## - Connect to SQL Server using non-SMO class 'System.Data':
    $SqlConnection = New-Object System.Data.SqlClient.SqlConnection
    $SqlConnection.ConnectionString = "Server = $SQLServer; Database = $Database; Integrated Security = True"
    $SqlCmd = New-Object System.Data.SqlClient.SqlCommand
    $SqlCmd.CommandText = $query
    $SqlCmd.Connection = $SqlConnection
    ## - Extract and build the SQL data object '$Table2':
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCmd
    $DataSet = New-Object System.Data.DataSet
    $SqlAdapter.Fill($DataSet)
    $SqlConnection.Close()
    $Table1 = $DataSet.Tables["Table"]
    ## - Build the Excel column heading:
    [Array] $getColumnNames = $Table1.Columns | SELECT ColumnName
    ## - Build column header:
    [Int] $RowHeader = 1
    foreach ($ColH in $getColumnNames)
    $xlsSh.Cells.item(1, $RowHeader).font.bold = $true
    $xlsSh.Cells.item(1, $RowHeader) = $ColH.ColumnName
    $RowHeader++
    ## - Adding the data start in row 2 column 1:
    [Int] $rowData = 2
    [Int] $colData = 1
    foreach ($rec in $Table1.Rows)
    foreach ($Coln in $getColumnNames)
    ## - Next line convert cell to be text only:
    $xlsSh.Cells.NumberFormat = "@"
    ## - Populating columns:
    $xlsSh.Cells.Item($rowData, $colData) = $rec.$($Coln.ColumnName).ToString()
    $ColData++
    $rowData++; $ColData = 1
    ## - Adjusting columns in the Excel sheet:
    $xlsRng = $xlsSH.usedRange
    [void] $xlsRng.EntireColumn.AutoFit()
    }#End For loop.
    #Delete unwanted Sheet1.
    $xlsWb.Sheets.Item('Sheet1').Delete()
    #Set Monday to Active Sheet upon opening Workbook.
    $xlsWb.Sheets.Item('Cert').Activate()
    ## ---------- Saving file and Terminating Excel Application ---------- ##
    $xlsFile = "C:\Scripts\Output.xlsx"
    [void] $xlsObj.ActiveWorkbook.SaveAs($xlsFile)
    $xlsObj.Quit()
    ## - End of Script - ##
    start-sleep 2
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($xlsRng)) {'cleanup xlsRng'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($xlsSh)) {'cleanup xlsSh'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($xlsWb)) {'cleanup xlsWb'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($xlsObj)) {'cleanup xlsObj'}
    [gc]::collect() | Out-Null
    [gc]::WaitForPendingFinalizers() | Out-Null
    }#End Function
    $queries = @()
    $queries += "Query1"
    $queries += "Query2"
    $sheetnames = @('Cert','Prod')
    Run-Query -queries $queries -sheetnames $sheetnames

    Here's what I ended up with that accomplishes my goal.  I learned it's not possible to create a CSV with two worksheets since Excel will allow this but the CSV cannot be saved with the second worksheet.  Instead, I create two CSV files then merge
    them into one Excel workbook, one CSV per worksheet.  In my case, this happens in 5 seconds.  There is one thing which must be mentioned, I've seen this script fail the first time it is run but will successfully run the second time.
    Also note, after much trial and error, this code correctly cleans up the Excel ComObject!!  -Thanks go to JRV.
    $docs = "D:\Scripts\MonthlyReboots.xlsx"
    IF (Test-Path $docs){Remove-Item $docs}
    $csv1 = "D:\Scripts\Cert.csv"
    IF (Test-Path $csv1){Remove-Item $csv1}
    $csv2 = "D:\Scripts\Prod.csv"
    IF (Test-Path $csv2){Remove-Item $csv2}
    Function Run-Query {
    param([string[]]$queries,[string[]]$sheetnames,[string[]]$filenames)
    Begin{
    $SQLServer = 'ServerName'
    $Database = 'DataBase'
    $SqlConnection = New-Object System.Data.SqlClient.SqlConnection
    $SqlConnection.ConnectionString = "Server = $SQLServer; Database = $Database; Integrated Security = True"
    $Excel = New-Object -ComObject Excel.Application
    $Excel.Visible = 0
    $dest = $Excel.Workbooks.Add(1)
    }#End Begin
    Process{
    For($i = 0; $i -lt $queries.Count; $i++){
    $SqlCmd = New-Object System.Data.SqlClient.SqlCommand
    $SqlCmd.CommandText = $queries[$i]
    $SqlCmd.Connection = $SqlConnection
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCmd
    $DataSet = New-Object System.Data.DataSet
    $SqlAdapter.Fill($DataSet)
    $DataSet.Tables[0] | Export-Csv -NoTypeInformation -Path "D:\Scripts\$($sheetnames[$i]).csv" -Force
    }#end for loop.
    }#End Process
    End{
    $SqlConnection.Close()
    #Excel magic test!
    For($i = 0; $i -lt $queries.Count; $i++){
    $loopy = (Resolve-Path -Path $filenames[$i]).ProviderPath
    $Book = $Excel.Workbooks.Open($loopy)
    $next = $Excel.workbooks.Open($loopy)
    $next.ActiveSheet.Move($dest.ActiveSheet)
    $xlsRng = $dest.ActiveSheet.UsedRange
    $xlsRng.EntireColumn.AutoFit() | Out-Null
    $dest.sheets.item('Sheet1').Delete()
    $xlsFile = "D:\Scripts\MonthlyReboots.xlsx"
    [void] $Excel.ActiveWorkbook.SaveAs($xlsFile)
    $Excel.Quit()
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($xlsRng)) {'cleanup xlsRng'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($next)) {'cleanup xlsSh'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($Book)) {'cleanup xlsWb'}
    While ([System.Runtime.Interopservices.Marshal]::ReleaseComObject($Excel)) {'cleanup xlsObj'}
    [gc]::collect() | Out-Null
    [gc]::WaitForPendingFinalizers() | Out-Null
    }#End end block.
    }#End function run-query.
    $queries = @()
    $queries += @'
    Select * from table1
    $queries += @'
    Select * from table2
    $sheetnames = @("Cert","Prod")
    $filenames = @("D:\Scripts\Prod.csv","D:\Scripts\Cert.csv")
    Run-Query -queries $queries -sheetnames $sheetnames -filenames $filenames
    Start-Sleep -Milliseconds 50
    Invoke-Item D:\Scripts\MonthlyReboots.xlsx

  • Random Data Selection based on Worksheet results

    I need to randomly select a percentage of records in a discoverer query. So if I have 1500 records from worksheet1 I want a second worksheet to select 6% of the records from sheet one and display them. Any ideas??

    Hi Bill,
    Have you tried the new SAMPLE sytax for Oracle 9i?
    I think it may have been in 8i too - but you'd have to check.
    You specify a number in the SAMPLE(n) after the table name in your from clause, supposed to be a percent. I have had inconsistent results - but then our dev database can get a bit sick at times.
    Try using a correlated subquery referencing the 1st worksheet and try adding the SAMPLE bit. Sorry, I haven't tried it in Disco.
    Let us all know how you get on.
    Lance

  • SUMMARY AND DETAIL WORKSHEET

    I have a report which lists all the invoices and totals for each supplier for a specified period.
    What I want to do is have another sheet which just summarises the total for each supplier and not display the individual invoice details.
    Or have just a sheet that displays the totals and the user can drill into the supplier/total for full invoice details etc.
    Can anyone please suggest a way to be able to do this?
    Thanks

    Hi
    If you don't have 10.1.2 then you cannot hyper link between worksheets. The only way to do what you want to do is make use of sub queries. The two queries would be two worksheets inside the same workbook.
    Basically, you create the detail worksheet first. Then you make a second worksheet in the same workbook and create a new condition where the supplier is in the list of suppliers returned by the first worksheet.
    You can do the same thing for the date range.
    Be warned though that making use of sub queries is not very efficient and only works efficiently when the list of suppliers being returned by worksheet 1 is small.
    I hope this helps
    Best wishes
    Michael

  • Linking cells between 2 worksheets

    Is there a way to link a cell in an added worksheet to the All Responses worksheet generated by an Adobe Form? For example, If I have a response in cell A1, i can copy it into column B by entering =A1. But what if I want to copy it into column B on a second worksheet I created? I have tried typing = and then clicking the cell on the first worksheet, as I would in Excel, but it does not work.
    Any advice? Is there a way to refer to another worksheet?
    thanks

    Hello aislingaran,
    Unfortunately, clicking on a cell on another sheet doesn't work as well as clicking on a cell in the same table, or on a cell in another table on the same sheet.
    The sheet first created with your form is called "All Responses", and the response table on that sheet is called "Response Table".  To refer to A1 from another sheet, you can either use Excel-style references:
    = All Responses!Response Table!A1
    or Numbers-style references:
    = All Responses::Response Table::A1
    (Note: If you were making the reference from another table on the same sheet, you would use "= Response Table!A1" or "= Response Table::A1").
    I hope this helps,
    Marco

  • Insert Worksheet in Workbook

    Upon inserting a 2nd worksheet in a workbook, the layout looks horrible compared to the initial sheet i.e. the "Table" sheet. The background is blue, all fonts are in BOLD, the Result lines are not yellow and the top of the query does not contain the heading, Chart, Filter and Information buttons.
    How can this be resolved?
    Regards
    Johan
    Note: we do have the latest patch loaded

    Johan,
    how are you inserting a second worksheet in?  If you are doing it by copying it from another workbook by using the excel copy worksheet function, you are losing the BEx functionality.   If you check the data providers in the workbook, you should only have the original one in there, and the second query should not be referenced at all.
    My recommendation would be too add a worksheet, then add a second data provider to it, and then add the individual components.  They are pretty straight forward.  You have an analysis grid, a navigation pane, and text boxes.  Unless you need chart functionality, these three components would allow you to recreate the look and feel.
    Thanks
    Pasha

  • How to make a worksheet as Default Worksheet

    Hi,
    Can anyone guide me how to set a worksheet as Default Worksheet if the workbook containing more than one worksheet.
    Eg:I have a Workbook Containing two Worksheets.
    first Worksheet used for Before Trigger function which dumps data in
    Temp Table and second Worksheet used to retrieve the data from Temp Table.So ,I need to set the first Worksheet as Default Sheet.
    Thanks in advance.

    Hi,
    When you save your workbook, the worksheet that is active becomes the default worksheet.So the next time when you open the workbook, that worksheet becomes active.
    Regards,
    Yogini

  • Filter button on second query in workbook

    I'm using BEx 7.10.  I have a workbook that I added a second query to by inserting a worksheet and inserting an Analysis Grid. That all works fine.  Is there a way to add the "Filter" and "Information" buttons to this second worksheet?  I tried to just copy and paste from the first worksheet, but they don't work.

    That is what I tried to do at first.  But it's an excel function to copy the sheet.  You can't even get into design view to change the data provider.  So I added a new design grid and navagation pane.  I could then change the data provider but for the navagation pane (which controls the Filter button) whatever change I made also changed the original worksheet.  So this didn't work out too well.  Is the filter button workbook specific, meaning you can only have one, can't have one on each sheet?  And how is macro or VB code attached to that button?

Maybe you are looking for

  • Creation of a Popup Menu for a Tree Node

    Hi Ppl,   I need to create a Pop-up Menu for a tree node in WebDynpro Application, please give me a "How to .." sort of material or a link which would have same sort of information... Also, My requirement is to call the pop-up on the right click of m

  • Surround Sound Trouble

    I have an amplifier which is capable of various surround sound arrangements, i.e. DTS and Prologic, and a Macbook connected to it via TosLink. I acquired an album with DTS audio and managed to encode the contents into 5.1 channel WAV files (L R C LFE

  • User exit for transaction VL10D

    Hi, in transaction VL10D, after clicking the button 'Create delivery in background', i have to check per item the material, and eventually show an popup with some information. Which exits / badi's should use ? regards, Hans

  • Problem Sap Gui access Business Explorer

    I have a machine is the same with Windows Vista Home Premium, sap logon 7.10 - patch 13(gui710_13-10002995.exe) ADD ON installed: bw350gui710_6-10004473.exe bi710sp09_900-10004472.exe Access to the SAP system is perfect, but when I try to open the Be

  • Can not see port on 3524xl switch and can not enable any ports.

    I have this old 3524xl-en switch in closet, it was not in used, yesterday we new project and I start configuring switch but I can only access it thru consol, I have assign ip but still can not access it, any he help will be appreciated .