Creating a magnified detail view of a portion of an image

I have PSE11 and I am trying to create a magnified cutaway of an area of an image for a tutorial but I cannot find instructions for how to do this for PSE11 anywhere on the web.  I am also not very literate when it comes to the lingo so I would need some instructions in layman's language.  Can someone help me with this problem?

I suggest try these two links:
<http://www.elementsvillage.com/forums/showthread.php?t=44970>
<http://graphicssoft.about.com/od/photoshop/ss/magnified.htm>
The second link is for photoshop but you can adapt the technique to work
in PSE11.
Good luck.

Similar Messages

  • Possible bug when creating multiple detail view objects

    using jdev 11.1.1.0.0 to build jsf/adf applications. I wanted to report what seems like a bug in 11g. I have a parent table which has two child tables. After creating the appropriate entities, associations, views, and view links, the app module looks like this:
    MasterView
    --DetailView1
    --DetailView2
    The two detail view objects are on the same level, they are both direct children of the Master view.
    Here's what's happening:
    1) I create the master entity/view objects (MasterView)
    2) I create one of the detail entity/view objects (DetailView1).
    3) I create the association and view link to establish relationship between MasterView and DetailView1. Everything works fine.
    4) I create the entity/view objects for second detail view (DetailView2)
    5) When I attempt to create a second view link (based off an association) to establish the relationship between MasterView and DetailView2, the query clauses of the Create View Link wizard (screens 4 and 5) do not get created properly. I finish the wizard and save. Not only does this view link not get created properly, but in the process the query clauses that were defined in the first view link between MasterView and DetailView1 are wiped out. This will break any coordination between master and detail views in both the app module tester and runtime. Has anyone seen this problem?

    fyi, it looks like this issue has been resolved with jdev 11.1.1.0.2 (Update 2)

  • Creating a master-detail relation between a view and a table

    Hi all,
    I have a problem with creating a master-detail relation between a database-view with lots of customer data and a small table with per customer a list of entities of our companies who may work for that customer.
    Somehow I seem to be unable to create a relation between these two. I can't find where I can make a foreign key using Toplink to implement the relationship. And neither can I get a Viewlink object doing the job using ADF Business Components.
    Somebody any suggestions on this problems?
    Regards,
    Birgit

    There is a key relationship between two fields which form the primary key in the main table of the view and two fields in the second table.
    I created a viewlink manually, but I still couldn't get the data correct i.e. a form with one record of a customer from the main view and a small table with all entities of our company who can make performances for that customer.
    I tried to find a manual or a how-to on this topic but I didn't find anything helpfull yet.
    Regards,
    Birgit
    After a couple more tries, I got the master-detail working. With all the fiddling I am not sure what caused the problem but I think the finally action was checking which fields of the view were marked as primary keys.
    Now everthing is up and running.
    Birgit
    Message was edited by:
    user492355

  • Problem occured when create a tree table for master-detail view objects using SQL queries?

    I am programming a tree table for master-detail view objects using SQL queries and these 2 view objects are not simple singel tables queries, and 2 complex SQL are prepared for master and view objects. see below:
    1. Master View object (key attribute is SourceBlock and some varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK,                   
            sum(                   
             case when cntr_list.cntr_size_q = '20'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr20 ,                   
            sum(                   
             case when cntr_list.cntr_size_q = '40'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr40 ,                   
             sum(                   
             case when cntr_list.cntr_size_q = '45'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr45                    
    FROM (       
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,       
               scn.CNTR_SIZE_Q,        
               count(scn.CNTR_SIZE_Q) AS cntr_qty        
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2       
        WHERE       
        scm.cmr_n = scn.cmr_n             
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                 
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                 
        AND scm.shift_mode_c = :ShiftModeCode                           
        AND scm.end_terminal_c = :TerminalCode      
        AND scm.start_terminal_c = yb1.terminal_c                  
        AND scm.start_block_n = yb1.block_n                  
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                  
        AND scm.end_terminal_c = yb2.terminal_c                  
        AND scm.end_block_n = yb2.block_n                  
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n           
        AND scn.status_c not in (1, 11)             
        AND scn.shift_type_c = 'V'             
        AND scn.source_c = 'S'       
        GROUP BY yb1.BLOCK_M, scn.CNTR_SIZE_Q       
    ) cntr_list       
    GROUP BY cntr_list.SOURCE_BLOCK
    2. Detail View object (key attributes are SourceBlock and EndBlock and same varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK,                
            sum(                     
             case when cntr_list.cntr_size_q = '20'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr20 ,                     
            sum(                     
             case when cntr_list.cntr_size_q = '40'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr40 ,                     
             sum(                     
             case when cntr_list.cntr_size_q = '45'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr45                      
    FROM (         
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,     
               yb2.BLOCK_M as END_BLOCK,  
               scn.CNTR_SIZE_Q,          
               count(scn.CNTR_SIZE_Q) AS cntr_qty          
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2         
        WHERE         
        scm.cmr_n = scn.cmr_n               
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                   
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                   
        AND scm.shift_mode_c = :ShiftModeCode                             
        AND scm.end_terminal_c = :TerminalCode        
        AND scm.start_terminal_c = yb1.terminal_c                    
        AND scm.start_block_n = yb1.block_n                    
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                    
        AND scm.end_terminal_c = yb2.terminal_c                    
        AND scm.end_block_n = yb2.block_n                    
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n             
        AND scn.status_c not in (1, 11)               
        AND scn.shift_type_c = 'V'               
        AND scn.source_c = 'S'         
        GROUP BY yb1.BLOCK_M, yb2.BLOCK_M, scn.CNTR_SIZE_Q         
    ) cntr_list         
    GROUP BY cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK
    3. I create a view link to create master-detail relationship for these 2 view objects.
    masterview.SourceBlock (1)->detailview.SourceBlock (*).
    4. I create a tree table using these 2 view objects with master-detail relationship.
    When I set default value for variable bindings of these 2 view objects and the matching records exist, tree table can work well. I can expand the master row to display detail row in UI.
    But I need to pass in dymamic parameter value for variable bindings of these 2 view objects, tree table cannnot work again. when I expand the master row and no detail row are displayed in UI.
    I am sure that I pass in correct parameter value for master/detail view objects and matching records exist.
    Managed Bean:
            DCIteratorBinding dc = (DCIteratorBinding)evaluteEL("#{bindings.MasterView1Iterator}");
            ViewObject vo = dc.getViewObject();
            System.out.println("Before MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            System.out.println("Before MasterView1Iterator ShiftModeCode="+ vo.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo.executeQuery();
            System.out.println("MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            DCIteratorBinding dc1 = (DCIteratorBinding)evaluteEL("#{bindings.DetailView1Iterator}");
            ViewObject vo1 = dc1.getViewObject();
            System.out.println("Before DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
            System.out.println("Before DetailView1Iterator ShiftModeCode="+ vo1.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo1.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo1.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo1.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo1.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo1.executeQuery();
            System.out.println("after DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
    5.  What's wrong in my implementation?  I don't have no problem to implement such a tree table if using simple master-detail tables view object, but now I have to use such 2 view objects using complex SQL for my requirement and variable bindings are necessary for detail view object although I also think a bit strange by myself.

    Hi Frank,
    Thank you and it can work.
    public void setLowHighSalaryRangeForDetailEmployeesAccessorViewObject(Number lowSalary,
                                                                              Number highSalary) {
            Row r = getCurrentRow();
            if (r != null) {
                RowSet rs = (RowSet)r.getAttribute("EmpView");
                if (rs != null) {
                    ViewObject accessorVO = rs.getViewObject();
                    accessorVO.setNamedWhereClauseParam("LowSalary", lowSalary);
                    accessorVO.setNamedWhereClauseParam("HighSalary", highSalary);
                executeQuery();
    but I have a quesiton in this way. in code snippet, it is first getting current row of current master VO to determine if update variables value of detail VO. in my case, current row is possibly null after executeQuery() of master VO and  I have to change current row manually like below.
    any idea?
                DCIteratorBinding dc = (DCIteratorBinding)ADFUtil.evaluateEL("#{bindings.SSForecastSourceBlockView1Iterator}");
                ViewObject vo = dc.getViewObject();           
                vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
                vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
                vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
                vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
                vo.executeQuery();
                vo.setCurrentRowAtRangeIndex(0);
                ((SSForecastSourceBlockViewImpl)vo).synchornizeAccessorVOVariableValues();

  • Webapps.  How can I create a link to a page instead of showing the details-view

    I want my client to define what page a webapp shall point to in list-view, instead of showing the  details view, but I cant figure out how.  I have tried this, but it seams that tags don't work inside links:
    <a href="{tag_my_custom_link}">{tag_name}</a>
    .. does any one know how to do this?

    The problem is the format of your tag.  If your field name in the web app is "My Custom Link" then your tag is {tag_My Custom Link} (note the spaces).
    Cedric is right though, make sure the field is a textfield and not a hyperlink field in your web app.  If you use BC's new "Develop" tab up top you can navigate to your web app detail layout in /Layouts/Web Apps/<yourwebapp> and find "list.html".  Then, you can use the toolbox on the right (click the data tab) to insert tags without having to guess.  You can choose your custom field and insert the tag.

  • Not able to display bar chart in details view

    Hi every one,
    I created Tiles and when click on Tile it is going to SplitContainer. in SplitContainer container i have two HTML views. I am trying to dispaly bar chat in Detail view. but its not displaying. Can you please help me?
    Here is my code.
    Here is my details view.
    <template data-controller-name="view.LrDetail">
      <div id="page" data-sap-ui-type="sap.m.Page" data-title="Leave Request" data-show-nav-button="true" data-nav-button-press="back">
      <div data-sap-ui-aggregation="content">
      <div data-sap-ui-type="sap.m.ObjectHeader"
      data-title-active="true"
      data-title-press="showRequestor"
      data-title="{lr>requestor}"
      data-number="{lr>days}"
      data-number-unit="days">
      <div data-sap-ui-aggregation="attributes">
      <div data-sap-ui-type="sap.m.ObjectAttribute" data-text="{path:'lr>type', formatter:'util.Formatter.lrType'}">
      </div>
      </div>
      <div data-sap-ui-aggregation="firstStatus">
      <div data-sap-ui-type="sap.m.ObjectStatus" data-text="{path:'lr>agoDays', formatter:'util.Formatter.agoDays'}">
      </div>
      </div>
      </div>
      <div id="reports" data-sap-ui-type="sap.viz.ui5.Bar">
      </div>
      </div>
      </div>
    </template>
    and here is my details controller
    onBeforeRendering: function()
      var oModel = new sap.ui.model.json.JSONModel({
      businessData : [
      {Country :"Canada",revenue:410.87,profit:-141.25, population:34789000},
      {Country :"China",revenue:338.29,profit:133.82, population:1339724852},
      {Country :"France",revenue:487.66,profit:348.76, population:65350000},
      {Country :"Germany",revenue:470.23,profit:217.29, population:81799600},
      {Country :"India",revenue:170.93,profit:117.00, population:1210193422},
      {Country :"United States",revenue:905.08,profit:609.16, population:313490000}
      sap.ui.getCore().setModel(oModel, "MyJSONModel");
      var dataset = new sap.viz.ui5.data.FlattenedDataset({
                dimensions : [ {
                  axis : 1,
                  name : 'Country',
                  value : "{Country}"
                measures : [ {
                  name : 'population',
                  value : '{population}'
                }] ,data : {
                  path : "/businessData"
      var chart = this.getView().byId("reports");
      chart.setDataset(dataset);
      chart.setModel(oModel);
    here is my output screenshot.
    Can you please help me where i am doing wrong.

    Hi Sakthivel Elango,
    My code is working in Normal view and displaying Chart. the same code put into detail view chat is not displaying. Inside HTML code i am posting please check the code.
    <div id="LrDetail--reports" data-sap-ui="LrDetail--reports" class="sapVizChart" style="width: 640px; height: 480px;">
       <div id="UIComp_0" style="position: relative; overflow: visible; font-size: 10px; box-sizing: border-box; left: 0px; top: 0px; width: 640px; height: 480px; display: none;">
          <div id="UIComp_1" class="UIComp_1-2ebc44e6-2f93-46d1-964e-e823b0afe432 v-viz v-bar" style="position: relative; overflow: hidden; font-size: 10px; box-sizing: border-box; display: block; width: 640px; height: 480px; -webkit-user-select: none; left: 0px; top: 0px;">
             <canvas style="width: 0px; height: 0px;"></canvas>
             <svg class="v-m-root" width="640" height="480" style="left: 0px; top: 0px; direction: ltr; position: absolute; box-sizing: border-box;">
                <defs></defs>
                <g class="v-m-title"></g>
                <g class="v-m-legends">
                   <g class="v-m-legend"></g>
                </g>
                <g class="v-m-main">
                   <g class="v-m-background"></g>
                   <g class="v-m-xAxis"></g>
                   <g class="v-m-yAxis"></g>
                   <g class="v-m-plot"></g>
                </g>
             </svg>
          </div>
       </div>
    </div>
    in this svg tags there is no bars.

  • How can i use row set iterator to create multiple dummy detail rows upfront

    Hello i am new to ADF and jdeveloper and have a Forms 9i/PLSQL background.
    I have a 1 to many master to detail view link and 2 vo's one for each of the master and detail table.
    I am trying unsuccsessfully to create 7 unique detail rows up front to populate at a later stage.
    I have created a master record with primary key being staff number and week ending date.
    i then use code below to try and create 7 detail records - P.S i have trimmed it to the first 2 for demonstration.
    I am using
    RowSetIterator rsi = this.mydetailVO.getRowSetIterator();
    Row newRow1=rsi.createRow();
    newRow1.setAttribute("Staff Num","123456A");
    newRow1.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow1.setAttribute("Claim_Date", "2010-01-01");
    newRow1.setAttribute("Day", "Sun");
    rsi.insertRow(newRow1);
    Row newRow2=rsi.createRow();
    newRow2.setAttribute("Staff Num","123456A");
    newRow2.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow2.setAttribute("Claim_Date", "2010-01-02");
    newRow2.setAttribute("Day", "Sat");
    rsi.insertRow(newRow2);
    However it does create two rows but it always writes over the first row with the details of the second row so they are not unique.
    How can i get a new unique row inserted with different details to the firat and how then do i access it uniquely.
    Thanks

    John thanks for reply.
    I have tried the following and still i get 2 rows created but the first one gets overwritten with the last one. I'm confused as to why the inbuilt insert row doesnt move it on to the next available row. Any idea what i'm not doing in between inserting rows?
    ViewObject vo1 = this.getmyVO1();
    vo1.executeQuery();
    Row newRow1 = vo1.createRow();
    newRow1.setAttribute("Staff Number","123456A");
    newRow1.setAttribute("Week_end_date", "2010-04-04");
    newRow1.setAttribute("Date", "2010-04-01");
    newRow1.setAttribute("Day", "Sun");
    vo1.insertRow(newRow1);
    Row newRow2 = vo1.createRow();
    newRow2.setAttribute("Staff Number","123456A");
    newRow2.setAttribute("Week_end_date", "2010-04-04");
    newRow2.setAttribute("Date", "2010-04-03");
    newRow2.setAttribute("Day", "Sat");
    vo1.insertRow(newRow2);
    P.S Yes they are dates but i made them strings for the time being until i get this working thanks for noticing.
    Edited by: user13012264 on 20-Apr-2010 04:19
    Edited by: user13012264 on 20-Apr-2010 04:20

  • How do I make a Portfolio open in Details view ?

    Anytime I create a PDF Portfolio it opens in LAYOUT View in both READER and
    Acrobat (it was created in Acrobat Acrobat 9 Pro).
    How can I program the Portfolio open in DETAILS View when a user opens the file in Reader ? (or Acrobat for that matter)

    When opening the JS Console by pressing Ctrl-K,  the PREFERENCES menu opens.
    There is an option in this dialog on the left for JavaScript - but this
    isn't necessarily a JS Console. Am I in the right place ?
    With JavaScript selected on the left hand of the Preferences dialog, on the
    right are JavaScript options, one being Enable Interactive Console - so I
    selected that. There is no TRASHCAN icon as you instruct.
    I believe where you want me to go is Control-J, is that correct ?
    Assuming it is the JavaScript Debugger (Control-J_, I click trashcan, then I
    am in INSPECT: Local Variables, VIEW: Console. I enter the text as
    instructed:
    this.collection.initialView = "Details";
    Now what ? Clicking ENTER just gives me a carriage return in the Console
    window.
    Please advise.

  • Bug in details view: index columns not shown correctly, stops at 4th column

    I do have two indices on a table which are shown in the details view. In the column 'columns' only the first 4 columns are shown that belong to the index.
    If I choose an index in another detail view, all columns are shown correctly.
    Where to report this bug?

    I just realized this was an issue today.
    Once one knows that only 4 columns are shown in the summary and that you have to click on the index name for any index that shows 4 columns to see if there are more, well that extra click is pretty simple and not a big deal.
    The problem is BEFORE one knows of this. For weeks, when reviewing some indexes created by others, I was under the wrong impression about some indexes because I thought they only had the 4 columns shown. I didn't know at that time that I had to select the index and look at the detail section.
    It wasn't until I just happened to click on one of them and saw more columns listed that I realized there was a bug. And yes, as far as I'm concerned, this is a bug not a feature.
    At an absolute minimum, there should be something done so users know they have to look at the details. Perhaps the heading could be changed to "Columns (up to 4)" or the ellipsis or (more) could be added as someone else suggested. Even just an additional comma would help. I can't imagine why it was written to stop at 4 anyway - why does that make any sense?
    This is the first time I've come to this forum so I'm not sure how to request an enhancement. I'll read a few other threads and see if I can tell.

  • How do I see a detailed view of what's on my hard drive and how much space it's consuming?

    I have an early 2007 iMac (3GB RAM) and a 320 GB hard drive.  I'm trying to clear some of the programs and files I don't need to free up space, but I'm not sure how to get a similar look at my files and how much space they take up individually (as I would with a PC).  Under system info I'm able to get the high-level overview, but how do I see a detailed view that I can then edit?

    Thanks for your help.  I did just that and was able to get a much better view with OmniDiskSweeper.  I was shocked to find that my MobileSync files were 125 GB of about 270 being used!  Guess I shouldn't be surprised with 4 iPhones and 4 iPads syncing to the same iMac at one time or another -- just kind of surprised Apple/iTunes doesn't make it any clearer that this can turn into a big problem if you don't initially create the appropriate backup settings for your devices.  Thanks again!

  • Update a detail-detail View

    I've created a JTree with the root nodes being the Master(Oracle Table Owners). The second level nodes are detail view(Oracle Tables owned by a Owner). Here's the problem: In a separate panel I've created a table that will ideally display the columns for a selected table name. Upon initial load of the application, the columns are populated. Once I try to drill down to a table, the table columns VO is blank and never to return. I tested the AM and all the relationships are setup correctly.
    Do i need to explicitly tell the VO to refresh, seems odd?
    Where should I start to discover where my problem is occurring?
    Thanks for your help.

    bump
    noone, anyone? pleaseeee

  • Create a magnifying glass on an image.

    I am pretty new to Flex. I am trying to create a magnifying
    glass for an image viewer. I want to move the cursor over an image
    that will zoom in on a 200X200 area. I don't want to zoom in on the
    whole image. I can see I can probably do it with the Bitmap class,
    but I do not see how I can cut out a piece of the original bitmap
    to display. Also, Flex seems to have a lot of similar features like
    Zoom, but I can't see how to use any of these cool features to do
    just what i want to do. Any help would be appreciated.
    Thanks

    The way I do this in Flash is to have a masked enlarged image
    on a seperate layer with the magnifier acting as the mask. The mask
    object is draggable, so it reveals to larger image as you move it
    around. There is some math involved to make it track like it is
    actually revealing the smaller image.
    The layering looks like this:
    mask object
    large image
    small image
    mask is a property of flash.display.DisplayObject and
    mx.core.IFlexDisplayObject. I haven't played with this yet in Flex,
    but I'm sure it should work similarly to what I've used in
    Flash.

  • How to save the detail view of a task in a database?

    Hi experts,
    I need to save the detail view which we get after selecting the work item in the table list in UWL. Can anyone provide me the solution for it step by step as I have no prior knowledge of portal.
    Thanks,
    Amit.
    PS: Points will be rewarded.
    Edited by: amit sinha on Jun 4, 2008 5:41 PM

    Hello,
    take a look on the below example :
    --Initialize data
    Create table #tmp (id int,name varchar(50),marks int)
    Insert into #tmp values (1,'a' ,3)
    Insert into #tmp values (2,'b',5)
    --Decalare variable
    Declare @maxid int, @minMarks int
    --Take data from table
    Select @maxid=max(id),@minMarks= min (marks) from #tmp
    --Select data storead in variables
    Select @maxid,@minMarks
    Drop table #tmp
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • Insert a row in master detail view & jboRowKey parameter

    Hi
    I hava a minor problem.
    On JSP page I have edit form for master view, beyond edit form is browse of detail view. I would like to insert or edit a row on master view and after update and commit, a would like to stay on the same page to insert some rows into detail view.
    When I editing rows it is Ok, becose jboRowKey parameter is always the same (to find proper row on master view).
    Problem appears when I want to Insert a row into master view, becose after transaction is commited, jboRowKey parameter is changed.
    Primary key on master table is sequence and it is inserted by (preinsert) trigger before commit.
    If anybody has some idea to solve this problem, please help.
    Gorazd

    Without knowing exactly the technology you are using, (JDev version, BC4J JSP tags/Components tags?),
    In general with BC4J after you do a commit, you do not necessarily have a record pointer on the new record that you just insert on the master table, so you would have to locate it again.
    Here is one way you could do this.
    After you commit your new inserted record, you could go back to a master "browse" page which shows the records of your master table along with a link to it's corresponding detail page. Encoded in the link you could pass the rowkey of the master record as a parameter and then in the detail page you could locate the master record that was clicked on by using the Find operation of the Row tag. When the master row is located, you automatically would be pointing to the correct detail records.
    In this case since the master was just created, there wouldn't be any detail records yet. You could then create new detail records for the new master..
    Let me know if this helps..
    -Chris

  • With PPT 2007 when I print my PPT file to Notes view why does the slide portion become an image

    I am trying to print a ppt file using PowerPoint 2007 notes view to PDF with Distiller and create a full text searchable PDF.
    Everytime I do, the slide portion becomes an image. The only textual portion of the PDF are the page numbers and the actual notes.
    This was not the case with Office 2003. The slide portion was full text searchable. Does anyone know why this is.

    Irma,
    Show the file in Finder with the pps or ppt extension, you want Powerpoint to open.
    Get info on the file, using command-I, and change the application to open all documents like this to Powerpoint.

Maybe you are looking for

  • Report Generation Toolkit

    I get the error 7 from runtime labview applic. that use the report generation toolkit. This work fine in the develoment environment. This question i did before and was solved.Right now i reisntall the software and i forgot the solution.But was somthi

  • CurrentDate() value refresing at report opening moment

    I have report, where is used function CurrentDate() to get date, when report refreshing and show that to cutomer. This report is scheduled to refresh once per week. Now i am looking into refresh history - each report instance(no matter how weeks ago

  • To create a return order with sales order as reference in CRM.

    Hi guys, How do i create a return order with sales order as reference in CRM. Is CRMD_BUS2000115 the transaction for this?? and if yes how do i pass sales order as reference??

  • Script redo migration to asm win2003 10.2.0

    I am trying this script for online log migartion to ASM(found on the internet) my databse name is orcl, asm instance is +ASM using 10.2.0 on win 2003 also i already done the previous steps correctly when i am firing this sql script its show me error:

  • Random Kernel Panics...Random Cause?

    I continue to have kernel panics with my MBP. They seem to occur pretty consistently after my MBP comes back from sleep or on startup. Startup seems to take about 15 mins. or so of me starting and shutting my MBP. On some of these startup tries, the