Excel to a specific item in the grid

Hi all
I have an excel sheet with the values of the table scott.emp and I took a single variable
IE cell_value for getting the value.
cell_value: = ole2.get_char_property(cell,'Value');

|=====================================================
| EMPNO, ENAME, JOB HIREDATE DEPTNO COMM SAL BISHOP |
|=====================================================
| 7369 CLERK 7902 SMITH 12/17/1980 800 20 |
| 7499 ALLEN SALESMAN 7698 2/20 / 1981 1600 300 30 |
| 7521 WARD SALESMAN 7698 2/22 / 1981 1250 500 30 |
======================================================
How can I check and set the condition for the value of particular in cell_value as data element
If cell_value = 7369 so I attribute: blk.emp.text_empno datatype element has the value number.
If cell_value = smith, then I can attribute: blk.emp.text_ename datatype element is of type varchar,
If cell_value = clerk then I can attribute: blk.emp.text_job datatype element is of type varchar,
If cell_value = 7902 so I can attribute: blk.emp.text_mgr datatype element has the value number.
or any other method is there with ole2

answer please...

you make a loop from 1 to 15. As long as you don't have an EXIT inside the loop, it must run 15 ranks.

Tags: Oracle Development

Similar Questions

  • Graphic moving Excel to a specific location in the Active sheet

    Hello

    I want to move an Excel chart that is already created, to a specific cell in the worksheet. I am able to move the chart with Shapes.IncrementLeft and these commands, but I want to pass the array to a specified cell. I created a macro to copy / paste the chart to a cell of some. The code is below:

    ActiveSheet.ChartObjects ("table 1"). Activate
    ActiveChart.ChartArea.Select
    ActiveWindow.Visible = False
    ActiveWindow.WindowState = xlNormal
    ActiveWindow.WindowState = xlMaximized
    Range ("A14"). Select
    ActiveSheet.ChartObjects ("table 2"). Activate
    ActiveChart.Paste

    However, I have 2 problems with this in Labview.

    The order of 'ActiveSheet.ChartObjects ("table 1"). Activate', I can't implement what I see not the option activate under ChartObjects.

    The 2nd issue is that I get an error with the command "ActiveWindow.WindowState is xlNormal." I have attached a .jpg file of the code I use in Labview. Any help appreciated.

    Rgds,

    lms17


  • Justification of item in the grid column

    So far, I like to use the universal theme grid - it is very intuitive.  Question-is it possible to specify the justification for a radio in a column in the grid button?  As in the photo that I have attached - would love to for the option button Align under the primary text and be justified to the right, but not exactly how to do...  Thank you!

    APEX Justify Question.PNG

    Hi DanGillis,

    DanGillis wrote:

    So far, I like to use the universal theme grid - it is very intuitive.  Question-is it possible to specify the justification for a radio in a column in the grid button?  As in the photo that I have attached - would love to for the option button Align under the primary text and be justified to the right, but not exactly how to do...  Thank you!

    You can do this by editing the css of the radio buttons.

    Change your page->-> Inline CSS-> put this code

    #P1_RADIO1,#P1_RADIO2,#P1_RADIO3 {
        float:right !important;
    }
    

    Here, P1_RADIO1, P1_RADIO2, P1_RADIO3 is the name of the element, so you can replace the Radio group element name.

    I tested in my instance, check this screenshot

    Hope this helps you,

    Kind regards

    Jitendra

  • remove the specific item in the arraylist

    Hey,.
    I just want to remove an element from a list of tables.

    private function addNewItem():void {
              object = new ObjectProxy();
              object.id = input.text;
              arrayList.addItem(object);
    }
    

    Now how can I remove the sound element identifying specific?

    something like this:

    arrayList.removeItem(object.id=="blabla");

    or

    for each (obj:Object in ArrayList){
              if(obj.id == "blabla"){
                   ArrayList.removeItem(obj.id);
              }
    }


    I hope you can help me.
    Greetings,
    Zombiecook

    Your second code example is close. Just remove the obj instead of the id when you find it like this:

    for each (obj:Object in list){          if(obj.id == "blabla"){               list.removeItem(obj);          }}
    

    Of course, it would be more efficient to simply do:

    for (var i:int = 0; i < list.length; i++){          if(obj.id == "blabla"){               list.removeItemAt(i);               break;          }}
    

    -Kevin

  • Restore specific items from the back to the top

    Hi guys,.

    I recently had to reset my phone to factory settings as it did not work properly.

    Before the reset, I made a comeback to the top with Sony PC Companion 2.1, and it succeeded. Now, I have reset the handset and reinstalled some of the apps (not all) I noticed the lack of data on certain apps and the lack of progress of games.

    Is there a way to extract the data for these applications ONLY from the backup stored on my laptop?

    When I look at the backup file, all that I can see is the file .dbk without options to explore.

    Any ideas? TYIA

    It's OK, I solved it. I used PC Companion and select 'Restore' and then just leave the "other" box checked.

    All sorted.

  • editing an item in the collection specific arraycollection

    What is the best way to update a specific item in the collection ArrayCollection. The only way I've been able to do is using the table-style syntax, but it will not ship the events needed to synchronize a DataGrid and I must 'refresh()' ArrayCollection collection. Y at - it somehting miss me in the ArrayCollection collection API?

    Thaks for the help!

    Carlos

    Try to use getItemAt() instead of using the syntax of support.

    Tracy

  • print with excel it breaks the grid lines

    Since getting my HP Envy 4500 printer, I have problems printing from Excel spreadsheets.   The "Print Preview" shows the document correctly, but when it prints it jumps a few rows of the grid.   My ink cartridges are filled and I marked settings to print the grid (which is correct because it prints some) lines.    What is going on?  Any help would be greatly appreciated.   Also, I tried to cut and copy into a new doc, but it still prints the same way.   Also made a new worksheet test and print it likewise - lack of grid lines.

    I saved the excel form XPS docs and now print all lines of the grid.    I don't know why, but it worked for me.

  • Definition of specific CSS on some items in the list of suggested items.

    Hi all

    IM using Jdev 12.1.3 and skin of alta

    I have a text entry field with bound to a method getSuggestItems in pageFlowScope.quickSearchBean AutoSuggestBehavior.

    The method returns a list of items. I want to add a select element at the end of the list and then style it

    Is it still set some specific css for some items in the playlist

    Thanks in advance

    DAT

    Hello

    You can do something like this:

    UL [id ^ = 'it1'] li [_afrlabel ='MySelectItemLabel ']}

    style

    }

    It1 the ID of your InputText and MySelectItemLabel is the label of the element you want to style.

    You can also use _afrvalue instead of _afrlabel.

    It will be useful.

    Kind regards

    Ruben.

  • Theme 25 - items are not correctly displayed in the presentation of the grid

    Hi all

    APEX 4.2.5.00.08

    Oracle 11g Enterprise Edition

    I am new to 4.2. I created an application on 4.1 and exported 4.1 and imported to 4.2. I'm trying to view the forms as they were posted in 4.1. But I have problems with the presentation of the grid. The elements are the overlap between them and the regions is narrowed. I read a blog and he said to remove all the colspan which will then automatically display elements. I did, but it did not work. The form consists of several parts using a list of tabs on the page. Parts of the tab using the model 'Region without the buttons and titles' of the region. I tried to replace the template "no model", while he was a little better, it has not corrected the problem.

    I've migrated the application and objects in the db at the APEX. ORACLE.COM (it took a few hours) and I hope someone can resolve my problem until the site is upgraded to 5.0.

    Workspace: RGWORK

    Application: KIMBERLY (33925)

    Page: Vehicle details (13)

    Username: TESTER

    Password: test456

    The first screen will be a Update/View vehicles 1 choice menu

    Choose this option and a report with a single line id.

    Select this line and display page 13.

    You have Developer access but please keep me on what has been fixed. I don't want remedy you. I want to know what has been resolved as well.

    Please get back me to me as soon as POSSIBLE because the site is upgraded to 5.0 this Friday.

    Robert

    sect55 wrote:

    I am new to 4.2. I created an application on 4.1 and exported 4.1 and imported to 4.2. I'm trying to view the forms as they were posted in 4.1. But I have problems with the presentation of the grid. The elements are the overlap between them and the regions is narrowed.

    Why you want to switch to theme 25 instead of simply retain the theme that was used in 4.1?

    Go wrote:

    Robert,

    Look at your application. just a simple change.

    change:

    Region: Veh/equip Information

    Presentation of the grid:

    Start the new row: Yes

    That helps, but it's not the whole story, as it appears the layout is still affected by the problem described in the thread previous Theme 25 region without buttons and issuance of securities

    Applying the fix I suggested it (in 78449 application I created a copy to ensure that I was working with the initial problems) Gets the items on the same line, but I guess that's not the same as the original provision and it doesn't look very good.

    Basically, I would say either stick with the original theme or by switching to a 4.2 theme that still use the page layout based on a table (for example, 24 or 26). Theme 25 is difficult to work with and works best with presentations created especially for her from the start.

  • Hyperlinks to excel in specific documents within the portfolio.

    Hi, I would like you to click on a link to excel that would open a specific document within the portfolio. Is this possible? Currently, we use a code that is 'filename.pdf #page = X' in the hyperlink in excel. ThanksHyoer

    Hi pas7a

    No, it is not possible, you can link to a file specific pdf to excel, but you cannot link Excel to PDF in a pdf portfolio.

    Kind regards

    Rahul

  • How the auto fill a field based on the drop-down list unless the specific item is selected

    Hi all

    My apologies if I posted this in in the wrong place, but I am new to these forums, JavaScript and Adobe LiveCycle.

    I am trying to build a form using LiveCycle Acrobat but have problems with the drop-down lists.

    Inititaly I just wanted to fill in the fields in a table based on a matching menu selection dropdown in another table.

    I used the following code and it worked fine:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    The problem is that now I want the code above works UNLESS one of the items in the drop-down list is enabled specifically in this case, I want the text box in the other table to display a message such as "Details of the entry in the field below.

    I tried to create an If Else statement using the following code:

    Workbook.Content.Table1.Row3.AppropriationDetails.Row4.Cell1::change - (JavaScript, client)

    fFrom var = xfa.resolveNodes ("Workbook.Content.Table1.Row3.AppropriationDetails [*]. Row4.cell1');

    OTF var = xfa.resolveNodes ("Workbook.Content.Table2.Row3.AppropriationDetails [*]. Row4.cell1");

    for (var i = 0; i < = fFrom.length - 1; i ++) {}

    If (fFrom.item (i) .rawvalue = "Option 3") {}

    fTo.item (i) .rawValue = "enter the details in the field below.

    }

    else {}

    fTo.item (i) .rawValue = fFrom.item (i) .boundItem (xfa.event.newText);

    }

    }

    The code now filled the field with "Enter the details in the field below" any item I select in the drop-down list.

    Your help is greatly appreciated.

    See you soon,.

    ozzy_q

    Hello

    You use .rawValue in the change event. This will cause problems because the selection of the users has not received .rawValue from the drop-down list at the time when the change event is triggered.

    Move your script as it should to the output of the dropdown event.

    Hope that helps,

    Niall

  • Import data from the grid using Excel Option not available

    On the grid, we have the ability to import the data in grid. However, on the Import Wizard, the only option that appears is import values separated by comma (CSV). Options for importing to Excel not displayed. Why is it other import options is not available?

    You may need to register the OCX that offer this feature.

    You can check out a place like this OCX files:

    C:\Program Files\IBM\WebSphere\AppServer\installedApps\E1DVWEB1Node01\EA_JS_Prototype.ear\webclient.war\axctls\jdeexpimpU.cab

    and

    C:\Program Files\IBM\WebSphere\AppServer\installedApps\E1DVWEB1Node01\EA_JS_Prototype.ear\webclient.war\axctls\jdewebctlsU.cab

    Put the OCX files in a network location, and then put cela in a connection/GPO script or run it manually:

    copy '\\somenetworklocation\jdeexpimpu\jdeexpimpU.ocx' 'C:\windows\system32\.
    copy '\\somenetworklocation\jdeexpimpu\jdewebctlsU.ocx' 'C:\windows\system32\.
    regsvr32 "c:\windows\system32\jdeexpimpU.ocx".
    regsvr32 "c:\windows\system32\jdewebctlsU.ocx".

  • Adding clip at a specific time on the timeline

    This seems to be a very simple task, but I'm pulling my hair out trying to understand this.

    When you put the clips in the timeline, imovie, they automatically move at the end of the previous element, all the way to the left of the timeline. Is it possible that you can move a clip at a specific point in the timeline, say, 01:30, but a gap of no content between 0 and 01:30? I have an audio track at the moment and I try to sync the audio clips, but I take pieces out one at a time and don't want any film from start to finish crafts. There MUST be a way to put videos where I want, at the top of the audio without having to move and attach it to the previous item. I want to just place them where I want to, at some point, and they have to stay there.

    I updated my software and iMovie version (I'm on a macbook pro).

    No, you can only leave spaces between clips in the main FCP timeline.  However if you put a (probably black) background in the iMovie timeline and extend to the duration of the video, then you can put top clips whenever you like and it will display when you play the movie (picture in picture).

    Geoff.

  • Printing of Excel file is missing a few horizontal grid lines

    WXP Pro Sp3, MS Office Pro 2003, ENVY 4500 Printer.  When I print Excel files, some grid lines are missing.  If I remove the "Wrap text" option in all cells, all the lines of the grid print.  This is not a solution (readability-wise), but indicates that the driver does not support the cells with "Wrap text" causing correctly printed on corruption.  Anyone else seeing this or have a fix?  BTW, I can print the file very well to two other remote printers (from the same computer).  In addition, all web pages, Word and pdf print very well of the 4500.  File does not correctly print the W8 4500, MS Office 2010, either.

    We had the problem of the grid of inconsistently printing lines, is a mixture of single-spaced and double horizontal spacing, most of them double spacing. After trying various settings, we changed to normal at best print quality, which produced what we wanted to know everything simple spacing. Weird, but it works!

  • Questions to filter items in the Finder Automator

    Hi all.

    I'm having a problem with the action of the filter Finder items in Automator, and after traveling through post after post, I am not able to find a solution.

    I'm trying to pull a file created today in an email and send it to a specific contact. The files I need from this search action ARE emerging in Spotlight, kind of indexing has already taken place.

    My workflow looks like this:

    The filter window Finder items should be displayed a number of results, but instead, he gets up as stated above. Of course, since no files are, nothing can be attached to an e-mail message, so there is a mistake.

    Anyone can shed some light on this? I'm willing to use a workaround, because it seems that this issue has been plaguing OS - X. Please and thank you!

    Follows don't spare well because the found documents prior to the invocation of messaging application and are passed to the last action. Tested on OS X 10.11.3. Just add the action to send outgoing Messages to the next, and it will be complete.

Maybe you are looking for