Show stacked canvas when form is opened

Hi,
I'm working with forms 6i. My form has one multi-record block. Due to the amount of fields that need to be shown we split the block across 2 canvases, the first fields are shown in the primary canvas and next to it is something like an overflow, a stacked scrollable canvas.
The form is opened in query mode. In the beginning we only see the items on the primary canvas. Only after the user has executed his query and navigates (with tab) to the first item on the stacked canvas this one is shown. From that moment on the stacked canvas stays visible.
I want to change this behavior as such that the stacked canvas is visible all the time.
I tried to solve this using show_view in the when-new-form-instance trigger but the result is not what it should be. The view is shown but not in the same way as you would see it when you properly navigate to it. The alignment is totally out of control.
Any ideas, suggestions, are mostly appreciated.
Kris

Steve,
To maybe make things a bit more strange then they're already.
  GO_ITEM('DEELNEMERS.DROOMPLOEG'); -- Item in stacked canvas
  SYNCHRONIZE;
  PAUSE;
  GO_ITEM('DEELNEMERS.CODE'); -- First item (on primary canvas)It works with above code but not without the pause.
I'm really confused here :-),
Kris

Similar Messages

  • Ribbon not showing when form is opened

    I have a 2007 application.  In it I have create the Usys... table and created 3 ribbons.
    1- Hide everything
    2- Ribbon for my forms
    3- Ribbon for my reports
    I set my db option to startup with Ribbon 1, and this works.  I associated ribbon 2, in my form's properties "Robbon Name", but when the form open, the ribbon does not display?  Anyone have any ideas?
    I can set any ribbon as my startup ribbon, they all appear to work.  The issue is that it won't switch to ribbon 2 when the form is opened.  When a report is opened however, ribbon 3 does appear.  Why won't ribbon 2 appear when my form opens? 
    I have validated my XML using the Custom UI Editor & all 3 ribbons validate (Custom UI XML is well formed!).
    Now I know ribbon 3 works, but if I associate that ribbon to the form, it will not display either.  So it appear that it isn't because of the ribbon, but something else?
    Another question while we are on the subject of ribbons.  I litterally copy/pasted ribbon 2  to create ribbon 3 and then edited it as required, but some tabs, groups,... have the same names between the ribbons, can this be an issue or since they
    start for scratch = true, it will have no impact?
    Thank you,
    Question.Boy

    Hi,
    the two best sites (in my opinion) to learn about ribbons:
    www.accessribbon.de
    www.andypope.info
    and indispensable:
    http://soltechs.net/CustomUI/AllGal.asp
    I use the technique of just one ribbon (one XML file) edited with notepad ++ and the invalidate method conjungate with Application.CurrentDb.Properties("ribbonXXX").Value  to change the tabs.
    See the start of my xml (all I'vd learn so far...)
    <customUI
    xmlns="http://schemas.microsoft.com/office/2006/01/customui"
    onLoad="XXX_onLoad">
    <commands >
    <command
    enabled="false"
    idMso="ApplicationOptionsDialog"/>
    <command
    enabled="false"
    idMso="Help"/>
    </commands >
    <ribbon startFromScratch="true" >
    <officeMenu>
    <button idMso="FileOpenDatabase" visible="false" />
    <button idMso="FileCloseDatabase" visible="false" />
    <button idMso="FileNewDatabase" visible="false" />
    <splitButton idMso="FileSaveAsMenuAccess" visible="false" />
    </officeMenu>
    <qat>
    </qat>
    <tabs >
    <!-- _____________________________________________________________ TABS PARA APLICAÇÃO XXX -->
    <tab
    id="tb_XXX"
    getLabel="CB_getLabel" getVisible="CB_getVisible">
    <group
    id="gp_FICHEIROS_XXX"
    getLabel="CB_getLabel">
    <button
    id="btn_CRIAR_FICHEIRO_XXX"
    getEnabled="CB_getEnabled" getImage="CB_getImage" getLabel="CB_getLabel"
    getScreentip="CB_getScreentip" size="large" getSupertip="CB_getSupertip" onAction="CB_onAction"/>
    </group >
    </tab >
    </tabs >
    </ribbon >
    </customUI >
    then I have those subs CB_getEnabled, CB_getImage, CB_getScreentip in a module call AllCallbacks...
    Read this just like an example or hints, not the best way to go. 
    HTH
    João

  • Show stacked canvas on Save

    HI,
    I have a requirement as below.
    On click of Oracle forms default Save button, I should show a stacked canvas to the user to enter some values and then press save button in that canvas to commit all the changes in the form.
    Any idea how to implement this?
    Thanks & Regds,
    Nandakumar

    Well, let me put it in this way. I have a screen where the user enters some data first time. Next the user queries the data and does some changes, this time I want to capture the details of why this change was made. So I have to show a pop window by using stacked canvas and ask the user to enter the log details before committing the form.
    So that's why I want to override the default save button and call this stacked view and then after entering the data, press save button on the stacked canvas screen itself.
    Regds,
    Nandakumar

  • Show stacked canvas

    Hi,
    I have two canvas(1:content ,2:stacked) ,i used when-button-pressed trigger to show the stacked canvas using "show_view('canv_stacked');"
    but the stacked canvas is not displayed !!!!
    I think the problem is of dimension at the canvas stacked ..

    979155 wrote:
    the problem is on the "visible" property.
    explanation:
    I have 2 buttons 1: EMP(visible), 2: Insert(not visible).
    1:EMP has when-button-pressed trigger :set_item_property('insert',visible,property_true);
    2:Insert has when-boutton-pressed trigger :go_item('id'); show_view('canv_stacked');
    => the stacked canvas is not displayed, but when I change from the palette button "insert" and make it visible, the canvas will be displayed
    why !!Because you need to setup two more property to TRUE.
    Try this... at EMP button
    set_item_property('insert',VISIBLE,PROPERTY_TRUE);
    set_item_property('insert',ENABLED,PROPERTY_TRUE);
    set_item_property('insert',NAVIGABLE,PROPERTY_TRUE);Hope this works..
    Hamid
    If solution is correct mark it.

  • Pop up appears when form is opened?

    I am new to JavaScript and I have the following script that I hope someone can help me with.
    I am using LiveCycle Designer 7.0 from Acrobat Professional. I am trying to validate the entry in a test field. I want to make sure that the four digit year is not less than the current year and can be a year in the future.
    My problem is when the form is opened in Reader the alert box pops up before the actual form. When I key in the field the validation seems to be working. What do I need to do to stop the alert from showing when the form is first opened?
    ----- form1.Alabama.Yr::validate - (JavaScript, client) -------------------
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue === year || this.rawValue < year)
    app.alert("Year is not correct.");
    Yr.rawValue = null;
    Much thanks in advance.

    Hélène-
    Thanks for the detail regarding validation script, but I still am having a problem with it.
    I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.
    ----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------
    //Verify year is current or year+1
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue == year || this.rawValue == year+1)
    app.alert("Year is invalid.\n\nOnly current or next year is valid.");
    ----- form1.#subform[0].Y::validate - (JavaScript, client) -----------------------------------------
    //Final verification
    ScriptObject.ValidateField(event.target, this);
    This final verification script I have taken from the samples on the
    LiveCycle Developer Center (Validating field content in a form hosted in Adobe Acrobat).
    The alert only displays when 2007 or 2008 is entered. I am really confused now. I thought I had a handle on this with your explanation.
    I do not know where to go now. The Object Pallet is setup as:
    Field Tab
    Allow Plain Text Only and Limit Length are checked with a Max Chars: 4. Edit Pattern: 99999
    Value Tab
    Type: User Entered - Required
    Validation Pattern: 9999
    Validation Script Message is checked - in Message box Invalid Year.
    Binding Tab
    Default Binding: Normal
    Data Format: Plain Text
    I am hoping that you can explain what I have wrong.
    Thanks so much,
    Confused Nancy

  • Position cursor in text field when form is opened

    Another newbee question I'm afraid!
    I want to position the cursor in a text field when a user opens the form. I can't find a way to do it but I'm pretty sure it's straightforward!
    Also, can I remove fields from the tab order?
    Thanks (for your help and patience!)

    Hi,
    You would select the object that you want to receive focus and put the following in the docReady event.
    xfa.host.setFocus("this");
    The docReady event is a good one to use, because it only fires once.
    The tab order can be set in the Tab Order tab. Depending on the version of LC Designer that you have, the flexibility will vary. However I would do this as a last step, as any changes can throw the tab order out of sequence.
    Note that tab order is greatly affected by the relevant x/y coordinates of objects and where objects are in separate subforms.
    Hope this helps,
    Niall

  • Creating a date field that autogenerates when form is opened but the date is fixed upon signing.

    Hi,
    I have been creating a series of PDF forms on Adobe XI Pro that are designed to be filled in using Adobe Reader (hence are saved as Adobe Reader Extended). Once the form is complete there are signature fields that the user digitally signs which then deactivates specific form fields from further editing. Alongside the signature field I have got a date field which, at the moment, is using JavaScript to auto-generate the current date upon opening. However, the issue I am having is that I want this date field to be fixed when the form is signed, rather than updating again when the form is next opened. Is this possible?
    The document JavaScript that I am currently using to generate the date is as follows:
    this.getField("PR_Date1").value = util.printd("dd/mmm/yyyy", new Date());
    But obviously this is independent of the date field.
    I am very new to Adobe in general so I don't have much of an idea about how to go about doing this. Could somebody please help me to do this if it is possible?
    Thank you
    KC

    Hélène-
    Thanks for the detail regarding validation script, but I still am having a problem with it.
    I have tried what you told me (remove reset the value) the popup no longer appears when the form is opened. But the validation does not seen to be working. It is not working either in the validate or exit event. This is what I have now on that text field.
    ----- form1.#subform[0].Y::exit - (JavaScript, client) ---------------------------------------------
    //Verify year is current or year+1
    var today = new Date();
    var year = today.getFullYear();
    if (this.rawValue == year || this.rawValue == year+1)
    app.alert("Year is invalid.\n\nOnly current or next year is valid.");
    ----- form1.#subform[0].Y::validate - (JavaScript, client) -----------------------------------------
    //Final verification
    ScriptObject.ValidateField(event.target, this);
    This final verification script I have taken from the samples on the
    LiveCycle Developer Center (Validating field content in a form hosted in Adobe Acrobat).
    The alert only displays when 2007 or 2008 is entered. I am really confused now. I thought I had a handle on this with your explanation.
    I do not know where to go now. The Object Pallet is setup as:
    Field Tab
    Allow Plain Text Only and Limit Length are checked with a Max Chars: 4. Edit Pattern: 99999
    Value Tab
    Type: User Entered - Required
    Validation Pattern: 9999
    Validation Script Message is checked - in Message box Invalid Year.
    Binding Tab
    Default Binding: Normal
    Data Format: Plain Text
    I am hoping that you can explain what I have wrong.
    Thanks so much,
    Confused Nancy

  • Different messages on COMMIT_FORM ,when form is opened from another form

    hi,
    problem is when open form from another form. After change some data and execute COMMIT_FORM, message is : No changes to apply.
    Interesting is that when exit and open form again, changes is SAVED !?.
    If open that form directly, message is that like should be ( Transaction completed...).
    Has anyone idea where is problem?

    Hello,
    While calling the form try with 'DO_REPLACE' option.
    Thank U.

  • Auto-Create a form number when form is opened.

    Hello,
    I was wondering if I can auto-create a number to populate in sequence every time I open the form?  For example, Microsoft Word, Excel auto populates the date when the form is open.  I'd like the same functionality when creating a form to auto-populate a number counter each time the form is opened.
    Any ideas?

    That depends on how the PDF is being created and served to users.
    If you are simply putting an interactive PDF form on a file share or a web site, you could attach script to a form event to generate a unique id but it will not be a sequential number. To create a sequentially unique id you will have to call a server process which maintains the sequential number through a call to a persistent store (a database, XML file, flat file, etcetera).
    If you are generating the PDF form using LiveCycle (server solution), the server process used for generating the form could call a process as described above.
    Steve

  • Check for latest revision when form is opened

    I'm developing a form for work that will be distributed to many people and I won't always know who has the form.  My plan is to post the form to a website for users to download.  Is there any way to check the website for for the latest revision when the form is open??  In this case I'm thinking when a user opens the form it will check the website, and if a newer version is available I will have a message box stating a new form is available and give a URL.  How would I script something like this?

    Hi shippy84,
    Sounds like you will need a webservice.  Maybe this link will help http://blogs.adobe.com/formfeed/2009/08/version_control_for_forms_and.html
    Good luck
    Bruce

  • Hiding subform when form is opened

    I have the following javascript associated with a checkbox and a subform:
    form1.SHCognitionCheckBox::change - (JavaScript, client)if 
    (this.rawValue == 1)  CognitionBehaviorSubformCheckBoxes.presence
    = "visible";
    else  CognitionBehaviorSubformCheckBoxes.presence= "hidden";
    My intention is to make the subform visible only when the checkbox is checked.
    If the checkbox is MANUALLY checked or unchecked, the subform becomes visisble or hidden, as expected.
    HOWEVER, whenever a previously saved form is initially opened, the subform is ALWAYS VISIBLE, regardless of whether the checkbox is checked or unchecked.
    Is there a way to cause the subform to be HIDDEN when the form is opened with the checkbox unchecked?
    I have tried different approaches: reversing the logic (checking the checkbox to make it hidden instead of visible), and trying different default values for the checkbox. No matter what I try, the subform is ALWAYS open when the form is opened.
    I can close the subform only by MANUALLY either unchecking the checkbox (if it is initially checked) or checking and unchecking the checkbox (if it is initially unchecked).
    Thanks.

    I am having the same problem. I have subforms that are orginally "hidden", and become "visible" when an item in a drop down menu is selected. When I save the form, and re-open it, the subforms are hidden again.
    Did you find a solution?

  • Display Item not showing Text when form is opened in Forms 6i

    Hi,
    I am using Oracle Forms 6i & I have taken DisplayItem control on a canvas and want to show some text over that e.g., "Your Name". For that I set 'Initial Value' property of that control in Property Palette to "Your Name". But I am not getting any such text message when I run the form nor it is coming at form design time. Can anyone please let me know where I am missing and how to display text in forms using DisplayItem control?
    Can you also suggest from where to learn these basic things about Oracle Forms 6i?
    Thanks in advance.

    bootstrap escribió:
    Can I initialize this object using Property Palette? If not why so?
    can you please tell how to use go_block & where to call this method?
    Yes, just as you did with the initial value property, but you have to "initialize" the record in that block. Navigating in runtime to the block is a way to achieve that, so you have to put the "focus" in the block with built-in GO_BLOCK . For example, in the W-N-F-I trigger.
    Another way to put the focus there, as indrabudiantho sugested, is dragging the block to the topmost place in the list of block in design time. Thus, when you enter your form in runtime, the focus will go to the first navigable item in the first block as defined at design time.
    About the resource docs, I think there was a "Oracle forms developer guide" bundled in paperback with a quite old version of the product which wasn't too bad. Not the "forms builder reference" , which is more or less the online forms help, but the guide. Also, there must be commercial books about forms & reports.

  • Hidden subforms when form is opened

    I am having a problem with hidden subforms. I have subforms that are orginally hidden, and become visible when an item in a drop down list is selected. When I save the form, and re-open it, the subforms are hidden again. The only way to make them visible again is to manually re-selct the item on the drop down list.
    I have the following script for them:
    form1.SubFormPage1.Information.Row5.DropDownList2::exit - (FormCalc, client)
    form1.SubFormPage1.Information.Row6::initialize - (FormCalc, client)
    Information.Row6.presence = "hidden" ;
    and
    if (DropDownList2.rawValue == "Aircraft Operation" or DropDownList2.rawValue == "Aircraft Maintenance") then;
    Row6.presence = "visible" ;
    else
    Row6.presence = "hidden" ;
    endif
    I know that my issue is that I have the row "hidden" in initialize, but when I don't have that line of script, the subform is always visible.
    Hope that makes sense.
    Any help would be greatly appreciated!
     Leslie

    1. Change to subform presence  is hidden . (always . )
    2. While initializing the subform just check wheathere the required data is selected from the list box or not .
    3. If the value is selected then it should be visible . otherwise it should be hiddden .
    the above 2 and 3 is missing in the code .
    Add the code in theinitaialize of subform whatever you written in the list box .
    like same as
    if (DropDownList2.rawValue == "Aircraft Operation" or DropDownList2.rawValue == "Aircraft Maintenance") then;
    Row6.presence = "visible" ;
    else
    Row6.presence = "hidden" ;
    endif
    Now while openeing the PDF it will check the above condition and if its selected it will be visible otherwise it will be hide .
    Regards,
    Dhiyan

  • Gray screen shows after sleep when lid is open

    Sometimes when my computer falls asleep when the lid is open, I try to wake it up and it shows as a gray screen. The only thing I can do is force a shutdown at this point. I usually have some USB device plugged in when it happens, but it's a different USB device every time.

    Is there a way to non-destructively remove this magnet from my 17" PowerBook (older one with 1440x900 display)? I don't like that my PowerBook sleeps when I close it, and I've asked Apple if there is a way to disable this functionality. Short of plugging in an external display, they told me no.
    This option is built in to the Windows OS, and I've grown quite accustomed to putting my laptops to sleep manually. I'd really like to be able to have the lid closed and still let programs run, downloads continue, etc.

  • Why does Firefox (3.6.12) try to access the Net as it starts, but before the Ffx window first shows & once more when the window opens, if I've set updates to manual and "about:blank" as my home page?

    I click to load Firefox (3.6.12). The Comodo firewall warns me that Firefox is trying to connect to the Net. I block it, because I've not asked Firefox to do that, at that point. Then, when the Firefox window opens, the firewall warns me, again, that Firefox is trying to access the internet. I block it then, too. Use of Firefox is completely uncompromised by me doing this - that much is clear.
    Surely, if I have turned off automatic updates and use "about:blank" as my browser startup page, Firefox has no need, and no place, attempting to connect to the internet until I ask it to, by clicking a bookmark in the Bookmarks toolbar, or until I type a URL into the address bar.
    What is Firefox trying to do? and how can I stop it from trying to do it?

    See [[Firefox makes unrequested connections]]

Maybe you are looking for

  • Detect displays seems to have quit working? The secondary monitor is bleeding into the MacBook Pro monitor. How can I fix this?

    I am using a MacBook Pro 2009, Snow Leopard (OSX 10.6.8). All of a sudden last night after a long day of work, my monitor resolution changed without warning and the secondary monitor display started bleeding into my laptop monitor. When I go to detec

  • MacBook Pro 2013 doesn't turn on fully

    Hey, sorry for the quick and crappy question (I have to go for a road trip in a few hours and need my computer), but my MacBook Pro doesn't fully turn on. I have a YouTube video of what it does. It does what's in the video, turns off, and then repeat

  • Problem with lid closed mode

    So as far as i know, to get the computer to run in lid closed mode you press f7 until you get video mirroring, the second mode i believe, close the display, then wake the computer with the external mouse or keyboard. I've done this, but almost as soo

  • Illegal start of expression problem

    In my app I' creating an action listener to check for the click of a button, but this is my first try with an action listener and i'm having a few issues. I'll give you the part of the program that goes before where I get the error. import javax.swin

  • Cisco Phone VPN

    Probably a stupid question, but if you connfigure a Cisco VoIP phone for SSL VPN, does it provide VPN connectivity to the switch port on the back of the phone? Would a laptop connected to it get corporate access?