Populating secondary canvas in forms6i

Hi,
I am using forms 6i. In my form When i click a button it should raise an another canvas which only contains two fields, That canvas should be of size which holds only two multirecord fields. What exactly i need is that canvas should be in the_ middle_ of the primary canvas. Kindly help.
Thanks/Regards
Sakthivarman J.

Well, you'll need to know the width and height of your current canvas (Get_Canvas_Property('CANVAS_NAME',WIDTH)). Now, subtract the width of the second canvas and divide by 2 to get the X coordinate. You will have to do this for the height as well to calculate the Y coordinate. Display your secondary canvas in a seperate window and set the X Y coordinates based on your calculations. All of this code can go in your When-Button-Pressed trigger.
Craig...
Edited by: CraigB on Feb 1, 2011 9:22 AM

Similar Messages

  • Child block Stacked Canvas - Data population

    Dear Techies,
    I dont get data refreshed in my child block C1 which is present in a stacked canvas. I show or hide it based on a condition in my post-query. When C1 has to be shown, it is shown as expected but the corresponding data is not populated in C1.
    I disable another block items and get FRM-40106: No navigable items in destination block in post-query. Could this be an issue? Please assist.
    Regards
    Sri
    Edited by: hokoba on Nov 20, 2012 10:38 PM

    Hi,
    All the Data blcok items cannot be hidden and at least there should be one item which is navigable. Instead of making the items invisible, I changed the background color to gray and updatable and insert property as 'No' and it works fine now..
    But actually my intention was to hide all the block items based on certain conditions...:(
    Thanks
    Sri
    Edited by: hokoba on Nov 24, 2012 3:26 AM

  • How to send the canvas window to a secondary monitor ?

    Hi there,
    I already hooked up a secondary monitor.
    How do I send the canvas window to a secondary monitor ?
    Thanks

    Once you have your extenal display connected, you need to go into System Preferences > Displays and turn off mirror displays mode.  This puts your external display in extended desktop mode.  Then you can drag the canvas window from your primary display to your external display.
    Note: in my experience if you normally have the Dock on the right side of the screen it will disappear when you do this.  Just do  > Dock and select one of the other Dock positions.

  • InfoPath - Populating People/Group field works on Create, but not on Edit

    Hi- I have a scenario where there are a few data connections hooked up to a primary form. One of those data connections is connected to an assignment list. It consists of 3 columns (Warehouse(Text), Primary
    User(People/Group), Secondary User(People/Group). This list is meant to be a dynamic source that my main form uses to determine assignments. I have a button that pulls in the data from that list onto my form. I am assigning the DisplayName to my DisplayName,
    the Account ID to my AccountID and the AccountType to My AccountType. This works just fine when I go to create an item--> all values populate correctly, I can save my form with all of the newly brought in values.
    For some reason, every time I open the form after that and try to use the same button, the query runs as normal, but my people/group fields do not populate - assuming they are not already populated. I
    have validated that the rules are running and they are running with the values I want (I have written the values from the people/group fields to text fields and they appear to be correct).
    I did look at the SP logs and it gave me this: Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32
    value).The StateManager is disposing and calling ReleaseLockedStates() (Count=0).
    Any thoughts? I have not gotten any errors when interacting with the form. I had to pull this from the ULS logs.
     Thanks, Jesse
    Jesse A. Brandenburg

    The rules go as following:
    1) Switch Views to a more specific view (less fields showing)
    2) Query Data Connection for assignments
    3-12) Set primary contacts
    This looks at my assignment list and based on the location sets the display name, account id and account type on
    my form, based on what exists on the other list
    *I have the same thing happening for 10 fields based on location.  I am using a filter for each one to identify the correct location populates that person field.  
    13) I am setting a field to true that identifies that the rule was just run with a sign and date of username.
    I have verified that the values are trying to be populated by looking at bothe the default values of the display name, account id, and account type of my people picker fields, however they are not showing anything within the picker itself.  Additionally
    I have a view that shows my assignments data connection that is populated correctly.  
    Thanks for your response - 
    Jesse
    Jesse A. Brandenburg

  • Query a view w/data entered into a text field populated by 2 table fields

    Hello, Looking for advise!!! I have a tabular canvas thats datablock uses a view to populate. In this canvas I have a text field that has been populated with first_name || ' ' || last_name in the database node of the property pallate column name. The text field is not in the table or view. I have created it in the data block and make it a database item. However, I would like to have the user push a search button to go into ENTER_QUERY mode then the user would enter the criteria to search on in this text field. The user would then push button to EXECUTE_QUERY. The result is I retrieve all records. I want any search criteria entered into this field to be used against the last_name field to retrieve any records equal to the search criteria entered, for example A%. Does anyone know if this is possible?

    Hi!
    You have to use PRE-QUERY trigger to compose the search criteria. Below I put an example of it. You have to have at least one item in the block wich is true database item (e.g. it has to exist in table or view on which your block is based). In the following example EMP_DESC is your non-database search item and EMP_ID is the database one.
    Declare
    Dummy VARCHAR2 (2000);
    begin
    if :EMP.EMP_DESC IS NOT NULL and :EMP.EMP_ID IS NULL
    then
    Dummy := '#IN (SELECT emp_id FROM Employees WHERE Upper (emp_first_name)||'' ''||Upper (emp_sec_name) LIKE Upper (''%'||:EMP.EMP_DESC||'%''))';
    Copy (Dummy, 'EMP.EMP_ID');
    end if;
    end;
    Thats it. Note the # sign in the first position of the Dummy assignment. This is required by forms to glue your search criteria and block's where clause. You may analize LAST_QUERY property of your block in order to understand how this work. Remember also to set the QUERY_LENGTH property of the EMP_DESC item to the value that could contain the whole Dummy string (otherwise it will give you an error and cut the mar the query).
    Hope this helps.
    Sergey.
    P.S. And set your EMP_DESC database item property to NO.

  • How to create a secondary list of alv grid inside the function module

    Hi All,
    My requirement is to create a RFC function module to display the alv grid of one table.
    i have created that.
    while clicking on the records of the alv it should open the secondary list of another table.
    My problem is it is not fetching the records of the internal table of the primary list since it is created inside the function module(FUNCTION...ENDFUNCTION).
    pls help me on this.
    Thanks in Advance.

    hi,
    READ TABLE sel_sheet INTO wa_sheet INDEX rs_selfield-tabindex.
    here sel_sheet is the internal table for the primary list..
    i called the function module "reuse_lav_grid_display" inside Function...Endfunction.
    so when i am using  READ TABLE sel_sheet INTO wa_sheet INDEX rs_selfield-tabindex.
    inside the user command perform therecords in this internal table is not populating..
    pls help me on this.
    thanks in advance.

  • Flash video - YouTube/ iPlayer does not fit my secondary display, please help

    For the last few weeks, everytime I try and play video such as in iPlayer or YouTube on my secondary (1920x1080 Samsung TV 40") monitor, from my MacBook Pro 15" (New Thunderbolt version)  it has a border and does not fill the screen. The YouTube divx mode works fine and does fill the screen, it's happening on Chrome and Safari, I've reinstalled flash, but no luck - Please help

    You need to have Image+Wireframe ON to grab a drag point (little squares at each corner) to re-size to full screen.
    Ensure the Viewer and Canvas are set to "Fit to Window" before starting.
    Double click the small clip in the Timeline, it opens in the Viewer.
    Place the playhead over the Timeline clip.
    When you scale the clip in the Viewer you will see it update in the Canvas.
    This way you see waht you will get straight away.
    Al

  • Auto-populating Infopath fields from a Sharepoint list after selecting a drop down

    I currently have two lists one titled 'Book of Work' which holds details around on-going projects and the other titled 'Book of Work Amendments' which are requests submitted by users to change project details (through an infopath form).
    There is a column in the BoW Amendments list entitled 'Select Project' which has a lookup to 'Project Name' in the BoW list. The aim is that when a user chooses an option from the 'Select Project' drop-down, other fields in the form such as 'Project Manager',
    'Project Description' will be automatically populated with data from that row in the BoW table.
    I have connected both Sharepoint Lists as data connections with BoW Amendments being the primary and BoW the secondary. If we take the Project Manager field as an example the method I have attempted is as follows:
    . Create a rule with condition Select Project is not blank
    . Action - Set a field's value: Field: Project Manager (BoW Amendments - Primary) Value:
    Project Manager (BoW - Secondary) Add Filter: Project_Name (BoW - Secondary) =
    Select Project (BoW - Primary)
    Currently this is not populating the field when the project is selected in the drop down, any assistance would be greatly appreciated.

    Hi Josh,
    This should be straight forward. You do not need BOW Amend data connection. You are creating requests in this list so this will be your Main Data Connection.
    When creating the rule on the drop down, select Action:
    Condition: anytime the value changes, Set a field's value - Project Manager (Main); Value - Project Manager(BOW) where Project[BOW] = Project [Main]
    Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • How to include IE on form Canvas (same windows)

    I Use OLE Container Object to Show IE on the forms6i Canvas (same windows)
    It's work like separate frame on the same Canvas ..;but when I migration to forms 9i , It's not working 。Can I have any way to do this on the form9i

    Hi,
    Above 6i, all the host, ole command will do by WEBUTIL package.
    In OTN you can get how to configure the webutil. Download it and configure it.
    Thanks
    Radha

  • Problem refreshing canvas when multiple windows and canvasses.

    Ok I Have a form that has 2 windows and 2 canvases.
    They both get populated on When new Forms instance trigger with a parameter i pass in from teh previous form.
    On entering the form if the parameter is set (passed in by the form before) it should query the blocks on canvas 1 and display the second canvas/window via a seperate package of "canvas.open" which is a package to open and populate the second canvas which is a tree.
    If this code is fired on a key next item or a button press its fine. but not where it is on when new form instance trigger. The canvas.open simply stops on a synchronize early on. If i remove a sync then the second canvas never appears.
    You can see a commented out pause. If this is included then it all works fine. If i use a synchronize instead of the pause it doesnt even reach the canvas.open (i used messages on status to work this out)
    So my question is how can i get a synchronize to work as i assume this is whats missing?
    Any help much appreciated, Im sorry if i have not explained very well.
    IF :PARAMETER.I IS NOT NULL THEN                    
                   Go_Block('B1');               
                   Execute_Query(no_validate);
                   Go_Block('B2');
                   Execute_Query(no_validate);
    --PAUSE;
                   canvas.Open(:PARAMETER.I);                    
    END IF;          

    What happens if you do a
    IF :PARAMETER.I IS NOT NULL THEN                    
                   Go_Block('B1');               
                   Execute_Query(no_validate);
    SYNCHRONIZE;
                   Go_Block('B2');
                   Execute_Query(no_validate);
    SYNCHRONIZE;
                   canvas.Open(:PARAMETER.I);                    
    END IF;

  • Primary Barcode and Secondary Barcode

    Hi Experts ,
    Please let me know if its a good practice to have a Primary Barcode with with product number and a secondary barcode with fields of batch number,Expiration date and quantity in the product label.
    Also<b> i would like to know</b> if we need to have a <b>secondary barcode </b>if we have a Storage unit number Barcode on the pallet . Will the storage unit barcode give the information of materials or will the fields get populated in the RF device once we scan the SU barcode .
    If its possible to populate the fields (material number,batch,quantity and expiration date ) once we scan the SU Barcode then i ll just give a <b>proposal </b>to have only a primary barcode and a SU barcode.
    Your advise will be appreciated.
    Regards
    Albert.

    Then I'm going to stick with my original response.
    Looking at the documentation:
    http://www.oracle.com/pls/db102/print_hit_summary?search_string=%22secondary+index%22
    the term "secondary index" seems to be used primarily in conjunction with index-organised tables (where the primary key / primary index is part and parcel of the table) and with xpath.

  • Population of a dropdown based on another dropdown selection

    Hi,
    I'm trying to develop a form in which a secondary dropdown is populated based on a selection from a primary dropdown.
    The idea behind this is as follows
    The first dropdown is bound to a database.
    From this dropdown a user would select a project.
    This selection would form part of a 'WHERE' clause in a SQL query that would select a list of users involved in the project.
    This list of users would then be used to populate the second dropdown.
    By selecting a user from the second dropdown the database would be queried again and the result used to populate the rest of the form.
    I've seen examples where a single dropdown is used to populate a form but I've been unable to find any code examples in which the result of one dropdown is used to populate a second.
    Can anyone help? Many thanks in advance.

    You can get pretty close out of the box using some configuration manager applet voodoo
    1)First off create a Table that will contain the options for your list. Create the columns e.g. label and id and then also create a column called dSecurityGroup
    2)Add a view based on the table you just created, choose the Security tab and select "Use standard document security"
    3)Add some values to your view - make sure that you populate the dSecurityGroup column with real values of security groups
    4)Once it is all published, have a look at the checkin and search screens. You should find that UCM will evaluate the options in the same way it would documents - based on the dSecurityGroup value you applied to the row - e.g. you will see an option on the search screen if you have at least R permissions, you will see an option on a checkin screen if you have at least RW permission
    Try it out :-)

  • Need a way to speed up the initial population of the entire BDB

    We are transitioning an existing production system from flat file based DB to BDB. On the day we switch to BDB, we have to populate the BDB for more than 2 Million users. Once we populate, BDB serves the data vary adequately.
    However, the initial population is very slow. For some users with large set of keys, it takes up to 30 minutes. Just the thought of server keeling over creating the initail DB for all these users is keeping me awake at nights :-) I was wondering if there are any known tricks I can use to speed up this initial population.
    One thing that comes to mind is, disable BDB caching as we don't need to cache any entries during population. Is this possible? Profiler reports that BDB is spending the maximum time in eviction (Specifically xxx.tree.BIN.getChildEvictionType method).
    Does use of transaction or no transactions affect this use case?
    I have all the objects to put in DB in-memory. Is there some batch-put I can do to speed the operation?
    Highly appreciate any response.
    Cheers!

    Hi,
    I will try deferredWrite mode next. Good, I think it's worth trying. The DeferredWrite mode was originally added as a way to speed up database loading.
    Is it possible for me to avoid opening secondary
    database until after the full population of the
    primary database? Yes. See the SecondaryConfig.setAllowPopulate method. You can use this you load your database as follows:
    1) Open the primary DB (openDatabase) but do not open any secondary DBs (openSecondaryDatabase).
    2) Load all records into the primary DB.
    3) Create a SecondaryConfig and call setAllowPopulate(true). Use this config object to call openSecondaryDatabase.
    Note that when opening a secondary DB with AllowPopulate, the secondary DB will be populated only if it is initially empty or non-existent. It is populate by reading the entire primary DB and writing secondary key records as necessary.
    Also, even though we started out with entire load
    in-memory before population, we had to abandon that
    approach because of enormous memory constraint it put
    on the system. However data is being generated from
    walking a directory structure. Is there any thing I
    can do there (depth first vs breadth first search)
    that will help BDB do the inserts faster?Presorting the input records by primary key will provide a significant performance increase. If you can't presort them all, it will still help a lot to presort a subset at a time. In other words, trying loading them into memory in batches, where the size of the batch is determined by available memory. After loading a batch into memory, presort it, and then insert the records in sorted order into the JE database.
    Thanks as always. You guys are doing such a great job
    answering questions and providing support.You're welcome! (on my and Linda's behalf)
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • When bsik table profit center will be populated?

    can any one tell me when bsik table profit center will get populated?.
    we r doing fb60, miro?.
    so we want to see the profit center value in bsik table.
    Thanks in advance

    Hi Suresh,
    The actual table updated will be BSEG only but you will find the same document # in BSIK table if it is a open vendor items else if it is closed (i.e. payment for the invoice has been done to vendor), you will find it in BSAK table.
    Basically, BSIK(Open items) and BSAK(Closed items) are a secondary index tables for BSEG table. Whenever you update the profit center(PRCTR) in an accounting doc, you will find it in BSEG table. But its index will also be in BSIK table if it is still an open item.
    Cheers,
    Vikram
    Pls reward for helpful replies!!

  • Menu Modules in Forms4.5 and Forms6i

    I have some doubts regarding in forms4.5 and forms6i
    Recently I have migrated Forms 4.5 into Forms 6i. In forms4.5 I
    can crete a menu
    module and can attach into form without canvas. But I cannot in
    Forms 6i, I would like to call a menu module " FULL_SCREEN"
    property in forms6i, There are three types are in menu types,
    FULL_SCREEN,BAR,PULL_DOWN. I have used all these properties in
    forms6i, No difference. My question is I would like to call a
    menu module in " FULL_SCREEN" type in Forms6i. Can u help to
    come out of this.
    Thanks in advance
    Reddy
    mail: [email protected]

    If I remember right, the MENU% tables were not part of Forms 3, but SQL*Menu. Check the FRM40_MNU% about menu info (only if you store forms in a database).

Maybe you are looking for