New developer - question field object

Hello.

I'm new to Java for Blackberry developer world and I'm playing with the RichTextField object. I have the following code which fails and I would like feedback as to what I'm doing wrong:

import net.rim.device.api.ui.decor.Border;

[...]

RichTextField f = new RichTextField("This is a test !");
f.setBorder(STYLE_TRANSPARENT);
add(f);

It gives me an error saying: can't find symbol putting highlight the STYLE_TRANSPARENT.

What is the problem? What I'm missing here?

 

Well, this time, that the error is not the same thing, is it?  There is no setBorder (int) in the field.  You must provide a border.  Like this:

f.setBorder(Border.STYLE_TRANSPARENT, BorderFactory.createSimpleBorder(new XYEdges(1, 1, 1, 1)));

Oh and welcome to the forums!

Tags: BlackBerry Developers

Similar Questions

  • Form fields to paste on the new form: pasted fields are resized and rotated.

    Form fields to paste on the new form: pasted fields
    are resized and turned.

    It started just past this week. I created fields on an expense
    form of report and some fields have calculations. The form is current
    updated, but I want to use the same fields on the new PDF to maintain the
    calculations.

    When I copy the forms of the old PDF and paste to the new PDF, fields
    have been squashed horizontally and vertically elongated.

    The original PDF is set up in the landscape and therefore the new PDF.

    I checked the properties of the fields, and they show a 270 rotation or text
    in the field. But nothing I try turn the fields at their own
    orientation.

    Has anyone else seen elsewhere?

    Yes, this happens when the rotation of the source and target documents page is not the same.

    It is not really a good solution to this problem at the present time, except to re-create one of the files after not rotating, or to re - create the fields.

  • Receptive Slide height develops all the objects on the slide master background.

    Hey,.

    If I build a sensitive project and slides, I need to unlock the height of the slide in mobile mode on some slides to create a scrolling to display more content.

    When I adjust the height of the blade, it develops all the objects in the background of the slide (my header, title...). These elements are not merged.

    Is there anyway that I can adjust the height of the blade so that it is not developing all the objects on the slide, only the backdrop (i.e. the white canvas). I try to use a model of slides for content pages.

    Or is the only way around it to create a number of different slide masters with heights of slide?

    See you soon

    Hello

    I feel your pain. I struggled with this for a long time, but finally found a solution.

    If you want to extend the height of the blade, creating a scroll bar. But you want certain elements to stretch and others do not.


    Object to Extensible NOT / Static

    • Create in the Slide Master
    • Set the properties top and % Relative height.

    Stretch/dynamic objects

    • Create directly in slide film
    • Set the Top % Relative property
    • Set the Height property for % (not related).

    I recommend to create a slide film finalized and then duplicate this slide for all other instances.

    Let me know if it works.

  • JavaScript how to get / change the field (object) TYPE (no access or mandatory)?

    Hello

    I would like to change or at least to get the TYPE of a field/object field

    Reason: I have a function in my script object that needs some things if the given parameter is a text field or button

    {myFunction (Object)}

    If (type is button)...

    ClassName is relative to any use. He always comes = field

    Could someone provide a code please?

    Hello

    This script could help show how to get the type of field.  I'm reasonably show that he originally site of Stefan Cameron, http://forms.stefcameron.com/, but can not find it now.  Basically if you have a 'field' then ui.oneOfChild.className will give you the type of field.

    I don't think you'll have a chance to change the field type.  I think that you need to have all the field types you want on the form and that they are visible when necessary.

    function listAllFields (node)
    {
    If (node.className == 'exclGroup' | node.className == "subform" | node.className == 'subformSet' | node.className == 'region')
    {
    for (var i = 0; i)< node.nodes.length;="">
    {
    If (node.name! = "ErrorIconSubform")
    {
    childNode var = node.nodes.item (i);
    listAllFields (childNode);
    }
    }
    }
    Else if (node.className == "field")
    {
    Switch (node.ui.oneOfChild.className)
    {
    case "button":
    Console.println ("button:" + node.somExpression);
    break;

    case "checkButton":
    If (node.parent.className is "exclGroup")
    Console.println ("RadioButtonList:" + node.somExpression);
    on the other
    Console.println ("checkbox:" + node.somExpression);
    break;

    case "choiceList":
    var oUITypeNode = node.ui.resolveNode ("#choiceList");
    If (oUITypeNode.open is "userControl")
    Console.println ("DropDownList:" + node.somExpression);
    on the other
    Console.println ("ListBox:" + node.somExpression);
    break;
      
    case "dateTimeEdit":
    Console.println ("DateTime:" + node.somExpression);
    break;

    case "imageEdit":
    Console.println ("Image:" + node.somExpression);
    break;

    case "numericEdit":
    Console.println ("digital:" + node.somExpression);
    break;

    case "passwordEdit":
    Console.println ("password:" + node.somExpression);
    break;

    case "textEdit":
    Console.println ("Text:" + node.somExpression);
    break;

    case "signature":
    Console.println ("Signature:" + node.somExpression);
    break;

    case 'barcode ':
    Console.println ("bar code:" + node.somExpression);
    break;

    by default:
    unknown field type
    break;
    }
    }
    }

  • Newbie BB development question

    Hello eveyone. I hope this is the right place to post this question, but I'm looking for advice. I'm new to the development for BB, but since 3 days I did a lot of reading. The only problem with this is that the more I read more confused I get. I have developed solutions ASP.NET, but never anything like that for mobile devices.

    Here are my thoughts on what I would do:

    -Create a Web page for the BB, which goes to a SQL Server, accessing a view and extracts the data in a data Repeater or a gridview for viewing.

    I have an IIS server running locally and can be viewed on BlackBerry now. I've set up and you can check out. WML and. Pages HTML to it very well.

    My question is this. I read about this plug-in for Visual Studio 2008. I downloaded and installed successfully.

    I do not know the following:

    -Can I do what I would do without BES?

    -What would be the best way to go about this? A few suggestions on what would be the best way to approach this project.

    Any guidance would be greatly appreciated.

    Thanks in advance,

    Bob

    psu99 wrote:

    So I can just use Visual Studio.net 2008 and create a sample page. I use the PlugIn which can be downloaded or can I just without programming?

    From what you say, you just need Notepad, vim, emacs, any other to design a Web page. The fact that You ' l browse this page with a Blackberry or an iPhone or a Samsung is on top of that.

    psu99 wrote:

    And what you say to me that I didn't need BES... my point of view on what it was only used for PUSH applications.

    You use a BES is required if the Web server is not reachable from outside your corporate network. In this case, you need BES just for its web proxy that will allow your browser to reach a machine inside the LAN. BES can also be used for automatic authentication issues based on the PIN code of your device and/or X.509 private keys that can be installed by the IT company.

  • TableView with FocusChangeListener question field

    I created a TableView and adds items.  On one point, I use a FocusChangeListener to get the read line for action.

    It works for OS 7, especially because the simulator (9900) has a touch screen.  However, in an OS 6 non touch screen simulator (9650), the FocusChangeListener is not currently enabled.  Any item is moved to the update, it only selects the first.

    I don't know if there is a place more to put the FocusChange.  I need to know which item is currently focused on, to the next screen or to place an order on this point.  I also wonder if the pill buttons are causing a problem with the TableView.

    Here is a screenshot.

    Here is the part that creates the TableView

    // Create Table items
                    soTableModel = new TableModel();
                    soTableView = new TableView(soTableModel);
                    soTableController = new TableController(soTableModel, soTableView, TableController.ROW_FOCUS);
                    soTableView.setDataTemplateFocus(BackgroundFactory.createSolidTransparentBackground(Color.BLUE, 105));
                    soTableView.setController(soTableController);
                    // Create temporary Date holder and Formatter
                    Date tmpDate;
                    SimpleDateFormat shortFormat = new SimpleDateFormat(SimpleDateFormat.DATE_DEFAULT);
                    shortFormat.applyPattern("MMM-dd H:mm a");
    
                    // Add Tables items
                    soCursor = ServiceOrderHeader.getServiceOrders(ServiceOrderType, ServiceOrderSortBy);
                    while(soCursor.next())
                    {
                        Row tmpRow = soCursor.getRow();
                        // Get Date and Format it
                        tmpDate = new Date(tmpRow.getLong(ServiceOrderHeader.REQ_START_DATETIME));
                        // Get Service Order ID
                        String tmpServiceOrderID = tmpRow.getString(ServiceOrderHeader.SERVICEORDERID);
                        if(soCursor.getPosition() == 0){
                            SelectedServiceOrder = tmpServiceOrderID;
                        }
    
                        // Get Site Name and check to see if it is longer than 30 characters, if so, truncate it
                        String finalSiteName = tmpRow.getString(ServiceOrderHeader.SITE_NAME);
                        if(finalSiteName.length() > 30){
                            finalSiteName = finalSiteName.substring(0, 27) + "...";
                        }
    
                        String tmpProduct = CodeSet.getValueByListKey("Service Order Product", "Service Order Product Restrict", tmpRow.getString(ServiceOrderHeader.SERVICE_PRODUCT), CodeSet.orderByKey);
                        if(tmpProduct.indexOf("Preventive") > 0) {
                            tmpProduct = "PM";
                        }
    
                        //Add the Strings to the table.
                        soTableModel.addRow(new Object[]
                               { ServiceOrderHeader.newStatus(tmpRow.getString(ServiceOrderHeader.SERVICEORDERID)),
                                ServiceOrderHeader.dirtyStatus(tmpRow.getString(ServiceOrderHeader.SERVICEORDERID)),
                                ErrorLog.hasError(tmpServiceOrderID),
                                tmpServiceOrderID,
                                tmpProduct,
                                tmpRow.getString(ServiceOrderHeader.SO_STATUS),
                                shortFormat.format(tmpDate).toString(),
                                Integer.toString(tmpRow.getInteger(ServiceOrderHeader.IBASE)),
                                Integer.toString(tmpRow.getInteger(ServiceOrderHeader.SITE_BP_NR)),
                                finalSiteName
                                }, false);
                    }
    
                    // Set the Table Style
                    setStyle(soTableView, 3, 4);
    
                    // add table to content display
                    soContent.add(soTableView);
    

    I put the FocusChangeListener on article 3, which is the field ID so.

      public static void setStyle(DataView tableView, int rows, int columns)
        {
            DataTemplate soDataTemplate = new DataTemplate(tableView, rows, columns)
            {
                /**
                 * @see DataTemplate#getDataFields(int)
                 */
                public Field[] getDataFields(int modelRowIndex)
                {
                    TableModel theModel = (TableModel) getView().getModel();
                    Object[] data = (Object[]) theModel.getRow(modelRowIndex);
                    Field[] fields = new Field[data.length];
                    for(int i = 0; i < data.length; i++)
                    {
                        if(data[i] instanceof Bitmap)
                        {
                            fields[i] = new BitmapField((Bitmap) data[i]);
                        }
                        else if(data[i] instanceof String)
                        {
                            switch(i){
                                case 3:
                                    fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.FOCUSABLE, Color.BLACK, Color.WHITE);
                                    fields[i].setFocusListener(serviceOrderFocusListener);
                                    break;
                                case 5:
                                    fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.NON_FOCUSABLE, Color.WHITE, Color.RED);
                                    break;
                                case 6:
                                    fields[i] = new bhHeaderField(String.valueOf(data[i]), Field.NON_FOCUSABLE, Color.WHITE, CustomUi.bhColor);
                                    break;
                                default:
                                    fields[i] = new LabelField(data[i], LabelField.NON_FOCUSABLE);
                                    break;
                            }
                        }
                        else
                        {
                            fields[i] = (Field) data[i];
                        }
                    }
    
                    return fields;
                }
            };
            // Create Image Width and Height, since image is a square
            int imgWidthHeight = appAttributes.IMAGE_WIDTH
                + (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop()
                + CustomUi.cellStyle.getBorder().getBottom()) + (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top
                + CustomUi.cellStyle.getMargin().bottom);
            // Create Row settings
            // First Row
            soDataTemplate.setRowProperties(0, new TemplateRowProperties(Font.getDefault().getHeight() +
                    (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                    (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
            // Second Row
            soDataTemplate.setRowProperties(1, new TemplateRowProperties(Font.getDefault().getHeight() +
                    (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                    (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
            // Third Row
            soDataTemplate.setRowProperties(2, new TemplateRowProperties(Font.getDefault().getHeight() +
                    (CustomUi.cellStyle.getBorder() == null ? 0 : CustomUi.cellStyle.getBorder().getTop() + CustomUi.cellStyle.getBorder().getBottom()) +
                    (CustomUi.cellStyle.getMargin() == null ? 0 : CustomUi.cellStyle.getMargin().top + CustomUi.cellStyle.getMargin().bottom)));
            // Create Column Settings
            // First Column
            soDataTemplate.setColumnProperties(0, new TemplateColumnProperties((int) Math.floor(imgWidthHeight)));
            // Second Column
            soDataTemplate.setColumnProperties(1, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .25)));
            // Third Column
            soDataTemplate.setColumnProperties(2, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .45)));
            // Fourth Column
            soDataTemplate.setColumnProperties(3, new TemplateColumnProperties((int) Math.floor((Display.getWidth() - imgWidthHeight) * .30)));
    
            // Add Region (cell) properties
            // First Image Cell, expands columns 1 and row 1
            soDataTemplate.createRegion(new XYRect(0, 0, 1, 1), CustomUi.cellStyle);
            // Second Image Cell, expands columns 1 and row 2
            soDataTemplate.createRegion(new XYRect(0, 1, 1, 1), CustomUi.cellStyle);
            // Third Image Cell, expands columns 1 and row 3
            soDataTemplate.createRegion(new XYRect(0, 2, 1, 1), CustomUi.cellStyle);
    
            // First Data Cell, expands columns 2,3,4 and row 1
            soDataTemplate.createRegion(new XYRect(1, 0, 3, 1), CustomUi.cellStyle);
            // Second Data Cell, expands column 4 and row 1
            soDataTemplate.createRegion(new XYRect(3, 0, 1, 1), CustomUi.cellStyle);
            // Third Data Cell, expands column 1 and row 2
            soDataTemplate.createRegion(new XYRect(1, 1, 1, 1), CustomUi.cellStyle);
            // Fourth Data Cell, expands column 2 and row 2
            soDataTemplate.createRegion(new XYRect(2, 1, 1, 1), CustomUi.cellStyle);
            // Fifth Data Cell, expands column 3 and row 2
            soDataTemplate.createRegion(new XYRect(3, 1, 1, 1), CustomUi.cellStyle);
            // Sixth Data Cell, expands column 1 and row 3
            soDataTemplate.createRegion(new XYRect(1, 2, 1, 1), CustomUi.cellStyle);
            // Seventh Data Cell, expands column 2,3 and row 3
            soDataTemplate.createRegion(new XYRect(2, 2, 2, 1), CustomUi.cellStyle);
    
            //Apply the template to the view
            soDataTemplate.useFixedHeight(true);
            soTableView.setDataTemplate(soDataTemplate);
        }
    

    And here's the FocusChangeListener

       private static class ServiceOrderFocusListener implements FocusChangeListener
        {
            public void focusChanged(Field field, int eventType) {
                if(eventType == FOCUS_GAINED){
                    if(field.isFocusable()) {
                        SelectedServiceOrder = field.toString();
                        appAttributes.isEditableSO = ServiceOrderHeader.isEditable(SelectedServiceOrder);
                        Dialog.inform("Selected Service Order : " + SelectedServiceOrder);
                        System.out.println("Selected Service Order : " + SelectedServiceOrder);
                    }
                }
            }
        }
        static ServiceOrderFocusListener serviceOrderFocusListener = new ServiceOrderFocusListener();
    

    I found TableView.getRowNumberWithFocus ();

    So, instead of putting a FocusChangeListener on this point, I just get the current line being focused on the table.  The, I call the data slider and set the position; Cursor.position (CurrentRow);  to get the straight line of the cursor in order to obtain the appropriate data.

    Here is an example that is called when the button to find the information of the inventory for the part.  I get the current line, get the same data as that used to fill in the data.  Place the cursor to the selected position and retrieve columns that I have to go down on my request.

    int currentRow = resultsTableView.getRowNumberWithFocus();
                     try {
                         Cursor partResults = PartSearch.getPartSearch(CurrentOrderBy, CurrentRowLimit, CurrentRowOffset);
                         partResults.position(currentRow);
                         Row thisRow = partResults.getRow();
                         CurrentSAPNumber = thisRow.getString(PartSearch.SAP_PART_NUMBER);
                         CurrentPartName = thisRow.getString(PartSearch.PART_NAME);
    
                     } catch (DatabaseException dbe) {
                         SDApp.handleException(dbe, "Search Inventory Command(dbe)");
                     } catch (DataTypeException dte) {
                         SDApp.handleException(dte, "Search Inventory Command(dbe)");
                    }
    
  • Order that SQL Developer Modeler generates objects in DDL download

    Little annoying question... When I have an existing data model that includes all of my table definitions and ALSO my package definitions, I try to make a DDL download and load it into an instance of Oracle 11g and get an error on a procedure declaration does not have a column type.

    What I see is when I open the prepared ddl script, the package is created until the table is under construction.  Is it possible I can tell SQL Developer Data Modeler to build like objects together (table, then sequences and then triggers and packages and procedures/functions?

    SQL Developer Data model version 4.1.3 Oracle database 11g r2...

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony,.

    Data Modeler generates at the beginning of the Package definitions in the DDL file, so that they appear before the objects such as Tables, views, and triggers that may refer to them.

    And the Package body are generated at the end, so that they can refer to Tables and views.

    Unfortunately there is no option to change the sequence of generation.

    In general, the Data Modeler takes dependencies between objects into account to generate the DDL file objects in a proper order.

    However, it does not detect the dependencies TYPE %.  I connected an enhancement request to add to its dependency checking (22581821).

    Kind regards

    David

  • Error after you move the request for new development machine (minimum environmental change)

    I'm really new FAD and work on my first application.  So far it's going pretty well, and I'll have a blast.

    I met a problem move on my application to a new machine however.  I initially developed on the virtual machine running on my laptop, but decided to switch to a more powerful machine.

    I have a problem trying to 'Run' of pages in my application.  Integratedweblogic is throwing an error everytime I try to load a page (and only the web pages window session that opens just shows 'o' turning indefinitely):

    "DFW-99998 [javax.naming.NameNotFoundException] [oracle.jbo.server.DBTransactionImpl.lookupDataSource] [j2ee app]".

    Original environment:

    Windows 7

    Oracle JDeveloper 11g

    Oracle DB for windows running on the same OS/env/localhost

    New environment:

    Windows 7

    Oracle JDeveloper 11 g (same version)

    Oracle DB running in a vm virtualbox using Oracle Linux (it is a much larger, more 'production-like', a database in which my application would be hypothetically).

    I made the necessary changes to the connection of database (host/port/user/pw/etc) used by the app and I still get the above error.  I even tried to copy across my jdeveloper and integrated settings of the server weblogic (C:\users\me\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93) to the new environment in addition to the copy in the root directory of the application, change the db connection settings, and I still get the same error.  I also have the same error occur when, after having made the connection Exchange Pb, delete the weblogic (C:\users\me\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain) server folder and start again, with jdeveloper build a new instance IWLS run.

    I must point out that, when I run the app service module in the new environment with the db connection changes, I can test all Instances of the view object, and they work as before and as expected in the Oracle Business Component Browser window.  So that seems to indicate that it's just a problem with my setup of weblogic/instance, but I'm not sure.

    As always, I appreciate very much all your comments and thanks in advance for answers!

    If you like the framework automatically adds the data source, it must be checked. If you want better control and better together for manufacturing sheet you it is unchecked. In this case you must create the data source on the web logical server yourself.

    Try again with the box checked initially.

    Timo

  • New line of view object does not receive committed to DB

    Hi guys,.

    I have a form to enter a new record on a view object entity based on a taskflow with a new transaction.

    Before the page is called I call the CreateInsert operation to create the new record on this view object.

    There is a certain attributes with default values that I determine in the create ViewRowImpl, method (using populateAttributeAsChanged to set the values).

    Now, if none of the inputValues in the form is filled manually and I want to record the data (the default values are sufficient to back up the folder) return taskflow commit action does not commit data from the db. As soon as I manually enter a value in any field the same return valid action recording correctly in the db. There is no error message and the new record is visible in the application because it is inserted in the iterator to view...

    Is there a way to mark the new line as changed / insert if only the default values are filled? Or I do something wrong?

    With the help of JDev 11.1.1.5

    Achim

    Add the following method in your class RowImpl:

    {} public void setNewRowState (byte b)
         If (b! = Row.STATUS_INITIALIZED |)
             getNewRowState()! = Row.STATUS_NEW) {}
             super.setNewRowState (b);
         }
    }
  • How to understand the properties of field/object?

    Hello

    I have the field (for example, his name is Champ_1) in my_form and I am yellow colouring using init event code below:

    this.ui.oneOfChild.border.fill.color.value = "255,255,191"; (In fact, just to differentiate / goal here up assigns this yellow color in this field, you can suggest me something else that marks / tags this area (I can't fill a value, bcz its visible by the user), while in the event of CHANGE in this area, once again I want to check/get/know that if this field is marked e/marked or not)

    fine. But, due to some / below reason, I need to know its color using JavaScript, pls let me know how to determine its color is yellow as using JavaScrit?

    Reason: If Champ_1of YELLOW color (or you have suggested any tag/mark, as mentioned in the above in red text), then I do HIDE Champ_2

    Position of Field_0 is left-wing, Champ_1 position is average and the position of the Champ_2 is exterme right of the page.

    I guess, I hv one possibility to discover the colours, so am looking forward for JavaScript determine the color of a field in question

    (GOLD)

    Also, pls let me know the JavaScript code that how to HIDE a tick the box for this session COMLETE (I mean, from launch the form in the browser, it will close the window/browser/tab/form), I suppose, this idea also workes for my requirement, (I want to put this code in the docReady event)... .No never question / what code it is in force in all cases this level of field

    Thank you

    Hello

    If you want to give a Visual indicator of the user, then color the yellow field is probably a good approach.

    However if you just want to keep track on the ground, you can then test the value of the field (.rawValue) and take appropriate action. In addition, you can also join a variable to an object by using the element. He participated a little, but you can find an example here: http://assure.ly/x1QObn.

    Hope that helps,

    Niall

  • Continuation of the update Question field

    It is a continuation of my previous question that was answered.  Using the rect property, I am able to move a field horizontally or vertically depending on the value of an option button (yes/no).  If so, I want to move a field to the bottom.  If not, I respect the scope of its original position.  The problem I encounter is when a user switches between Yes and no.  Specific areas are shifted downwards due to the value of the Yes radio button and when the value is changed on no, the fields remain in the new position.  Is there a way to setthe X, Y coordinates of a field using rect or rectangle?  Did some research but can not understand.


    Thank you

    Yes, you answer the previous thread would have been better, I think.

    Instead, to change the values of the fields by increment, you can simply

    Give them a number.

    So, if you want to set the upper-left corner of the rect to the point

    , so this:

    aRect [0] = 100;

    aRect [1] = 100;

  • new width of the object, the area reached, etc.

    Let's say I have an object that contains several other objects. At this point, the width of the container object is 400px x 400px wide. If some of the GET places removed dynamically properties of objects i.e. width, height, area, etc. theoretically has changed, but can't seem to get flash to recognize the new with, height, hit the region etc.

    Question: is there a method that will be a subject to update its properties like its contained changes?

    These properties of update for any Member displaylist as soon as a child is added or deleted.

    view the code that you use that you think does not work as expected.

  • Find the that database in SDL developer 2.1 object gives less successful than expected

    I'm confused about the merger of the extended search in find a database object in SDL developer 2.1.

    After some strange results, I looked into this in a simple scenario. It's as follows:
    I have a cursor called app_info in a procedure stored belonging to utility scheme in a 11.1.0.6 db.

    Research using extended SQL Developer 1.5.5 (connected to the same usefulness of diagram) I can't find (= can not search) this slider. But I can't find a public synonym with the same name: public.app_info. Not what I expected, but at least something.

    Using the new feature to find an object database with SQL Developer 2.1.0.63 I connect to the same usefulness of schema and try to find the app_info and get no success at all the (Type and use: ALL). The public synonym found 1.5 is not found with 2.1. Even hope to pinpoint his exact name stored procedure fails.

    I have 6 stored procedures in utility scheme starting with a common prefix. These are visible in the Connections tab under the link (utility users). I tried to find each other using the prefix and a wildcard: % util (Type and use: ALL). I get 6 hits - but these are just the statement and definitions for 3 of 6 procedures I was expecting to find. I'm bored of 3 procedures here. One of the procedures I'm missing in the results contains the cursor didn't find in the first place.

    Mark user_objects I find 32 objects starting with this prefix. I expect to find all the. Also I don't see anything that distinguishes 3 procedures found the other 3 who failed to find a database object that you want to search for.

    What happens here? Is this a bug or do I need to look elsewhere or change something?

    Published by: RST on January 15, 2010 03:06

    Published by: RST on January 15, 2010 03:07

    Can you give a test case? I created

    create or replace
    PROCEDURE OF PROCEDURE1 ACE
    x VARCHAR2 (10);
    cursor my_cursor (p_id in number) is to select 1 of double;
    BEGIN
    SELECT comm in x FROM emp;
    END PROCEDURE1;

    and of course I can search any identifier in this procedure, "my_cursor" notwithstanding. What is the value of PLSCOPE_SETTINGS in the detail tab?

  • How can I count the fields object?

    Hello...
    I have a problem with the type of object...
    How can I count the number of fields in a generic object?

    For example, this object has 3 fields...

    Var sam:Object = new Object;
    Sam ["age"] = '2'
    Sam ['name'] = 'b '.
    Sam ['hair'] = 'x '.

    Object does not have a function like .length or similar...
    Maybe there's anithig as NumberFields(myObj:Object):int. ...
    any tips? ^__^

    Thank you very much! : D

    You can do this:

    var iCount:int = 0;
    for each (var prop in sam)
    {
    i ++ ;
    String var = sam [String (prop)] as String;
    }

  • Does the Group of Developer SQL database objects

    Noob question

    Can group objects of Developer SQL database (tables, views, etc.) and if so, how?

    Thank you

    To be used in the browser of the object, the objects are currently grouped only by the user (login).
    However, you can:
    1 assign synonyms objects to other users.
    2. in the treenodes of your items, open the context menu, select filter
    3. close to the bottom of the filter dialog box, select include synonyms
    This would give the desired result for all objects in the database without having to use the node of other users .

    For all have them as list or report, theFurryOne already said how.

    Have fun
    K.

Maybe you are looking for

  • Device is looked

    iPad was opened by someone else's identity. My camera is sought. Now, I don't know the password of the account. I can't turn my camera. Please help me so important

  • I can't run Toshiba Upgrade Wizard driver update or after installing Win 7

    Hi all I recently bought and installed windows 7 (yesterday). I thought I was ready, looked at the Toshiba site, the page inform me as to what I have to do during the installation of Windows 7, but what I saw was that I have to execute these things u

  • Please help, insert table 1 d 2d array

    Hello I'm trying to insert a line of table 1 d in table 2d, but it must be placed in the index as the starting point. For example, line 1, column 2. = starting point. I already wrote the program, but the result is not that I want to.As shown in the p

  • Error launching of the ' LabVIEW.Application [error Code:-18001]

    HelloI have a TS 3.4 mind sequence LabView 8.21 - Teststeps.The sequence is called from a Labview-OperatorInterface.In a step that run 100 times before without problem I receive all of a sudden the error message: ErrorMessage: Error running substep '

  • How to split an element in two elements

    I am currently working with a logic analyzer that displays data in a 2D array. The problem is the only way I can receive data is very troublesome for the analysis. I would like to separate the data so that each column corresponds to a certain value,