Horizontal elasticity of fields within frames (Bug?)

Hi all,
I have a small esthetic problem that might be a small bug in Oracle Reports. I'd be glad to know if you guys can reproduce this problem and let me know wheter I'm doing something wrong or not...
I want a field to have its width the same as I draw in the Report Editor. Ok, now you say : "HellOoo! Just make sure your horizontal elasticity in fixed and you should be good to go." Well, I can't let it fixed because my field is preceded by a field that is variable in width, and I want those two fields together to not excess a specific width. Picture this :
LogicalColumn1MaxWidth OtherColumn
Field1--|Field2------- Field3
Field1----|Field2----- Field3
Field1|Field2---- Field3
So, I've put Field1 and Field2 into a frame - which is of course contained in the repeating frame). If I let the H.Elasticity of Field2 to fixed, Field2 might not display beside Field1 when this one expands but under it (or not at all, depending on the value of the property 'Print Object On' of the frame). Well, this make some kind of sense : Field1, when expanding, pushes Field2 out of the bounds of the frame, so it get displayed elsewhere if permitted.
So, what I've done is to put the H.Elasticity of Field2 to variable. I've figured out that Field2 will contract when Field1 will expand. And it work, almost.
Here's the problem : when Field2's data is truncated (because it contains too much information to display inside its frame), there's always ONE character that display a little bit outside the frame. Seems to me like the algorithm that do the truncation misses a -1 somewhere in its calculation...
Whatever. Could someone take 3 minutes of its time to try this :
-In a repeating frame, create a small frame.
-Select a fill color for the frame
-In the frame, create a smaller field.
-Set the source of that field to contains some text (with enough lenghty data to normally exceed the width of the frame)
-Set the H.Elasticity of the field to 'variable'.
-Set the 'Print Object On' property for the field to 'All Pages'
-Select 'no fill' for the field
-Run the report.
Do you see that the field always display one character more than supposed? Is that a bug or am I doing something wrong?
Thanks to let me know,
Frederic
null

Hi Sudha and thanks for your reply.
I'm working with Oracle Reports 6i. The properties I've found that were related with anchoring objects are 'Base Printing On' (values being 'Anchoring Object' or 'Enclosing Object') and 'Keep With Anchoring Object' (values being 'Yes' or 'No'). I've tried all four different possibilities with those values and none of them changed something to my problem. Maybe this has to do with our different version.
Has someone tried this under Report6i and got the same behavior as I described earlier?
I'm eager to know if I'm doing something wrong or if it's a bug...
Thanks in advance (again)
Frederic :-)

Similar Messages

  • Corrupted image shown when horizontal elasticity set to "contract"

    Hello.
    Using Forms and Reports 10.1.2.3.0
    I have a report where I try to show images horizontally centered in their surrounding frame.
    For this I created an image-item inside the frame (a repeating-frame, because the images are fetched from the DB), manually centered it inside the frame, attached it with an anchor to its surrounding frame, and set its horizontal elasticity to "contract" (vertical elasticity is set to "fixed"). This is actually the preferred method for doing this and a few threads in this forum recommend it.
    What I got in the resulting PDF was a corrupted image under certain circumstances.
    To narrow this down I created three different images (width*height)
    1. 1000*666
    2. 1000*750
    3. 1000*800
    loaded them into the DB, and tried to run the PDF. You can see the result in the following screenshot:
    When I set the horizontal elasticity to "fixed", the image is not corrupted (this is not a solution since the image gets left-aligned then).
    Setting the OUTPUTIMAGEFORMAT to something different than the default (JPEG) didn't change anything.
    Interestingly enough the Foxit PDF-Reader shows it correctly, while both AdobeReader X and XI and even Inkscape show the image corrupted (not only on my PC).
    We tried this with several images/photos, and the only ones being shown correctly seem to be images with an aspect-ratio of 4:3 or higher. I was not able to pinpoint exactly at which ratio this behaviour manifests itself.
    Anyone got an idea what may have caused this?
    Thanks in advance
    Markus

    Addendum:
    Setting the vertical elasticity to "expand" fixes it too, but since we often have images with an aspect-ratio of 3:4 or even higher I can't use this, since they would use way too much vertical space (and would negatively impact our layout).

  • Accessing both video fields of frame in workspace?

    I am new to video and have just learned there are two video fields per frame of video.
    Is it possible to access both video fields of the frame within the workspace of PP CS6?
    I am working with 29.97 fps dv.
    Thanks in advance.
    Thomas
    iMac late 2012  Mac OS X 10.8.3

    Hi Thomas,
    If you are asking if you can somehow "edit" at the field level, then no. But if you want to see the full frame (combined fields), in the Program Monitor, right-click in it (or Mac equivalent) or there is a wrench there to click on as well, and in the drop down list, look at Fields options and set to BOTH rather than upper or lower.
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • How to define target window when redirecting within frames using servlet?

    Howdy:
    Is there a way to define target window when redirecting within frames using servlets?
    How to do it in JSP as well?
    T.I.A.
    Oriental Spirit

    Your servlet (or JSP) can't decide where it is going to be displayed. The browser has already decided that when it makes the request to your servlet.

  • Checking for a value in a field within a subform before allowing a user to add a new Instance

    Form setup:
    Page name = Page1
    1st Subform within Page1 = Info (set to flowed)
    Objects within Info subform: Name (textfield) and Email (textfield)
    I also have a 2nd subform within Page 1 which contains an add instance button
    What I'm trying to do:
    1. The user needs to enter their Name and Email address then click "Add Instance button" to create a new instance of the Info subform :  _Info.addInstance(1);
    2. If the user fails to enter an email address, I want there to be a mesage box that infos the user that an email address is required before he/she can create a new instance. Note: It would also be nice if the cursor is Set to foucs on the email field within that particular subform instance.
    3. As long as the user tries to continue adding an instance, he/she will be denied if they do not enter an email in that instance
    4. If the user includes an email address in that instance, then the script will create add a new isntance
    5. The process should continue in this manner for each each click of the add instance button
    I presume there nees to be a loop and perhaps a somExpression scipt, but I'm not sure.
    Here's what i have so far (see below)....The script works for the first instance on the page, but it doesn't prevent new instances from being created when the email field in that "current instance" is empty. I want it to prevent the user from adding new instances if the email field is balnk in that "current instance". So, I guess I'm not sure how ot test a field in the current instance in a repeating subform.
    var vName = Info.somExpression + ".email";
        var vEmail = xfa.resolveNode(vName).rawValue;
        if(vEmail == null)
    xfa.host.messageBox("PLease enter an email address.");
    else{
    Form._Info.addInstance(1);
            var i = Form._Info.count - 1;
            xfa.host.setFocus(xfa.resolveNode("Info[" + i + "].Name")); //This set's the focus of the cursor in the Name field of the newly created subform
    Please advise, and thank you in advance!!!!!!

    Hi,
    I think you can acheive what you want just by adding "lastRow.presence = "hidden";" when you do the addInstance, so it now looks like;
    var lastRow = Form.resolveNode("Info["+(_Info.count - 1)+"]"); // Get last row
    if (lastRow.Email.isNull) // If email field empty
        xfa.host.messageBox("Please enter an email address.");
    else
        lastRow.presence = "hidden";
            var newRow = _Info.addInstance();
        xfa.host.setFocus(newRow.Name.somExpression); // set focus to Name field on the row just added
    So whenever you add a row the previous one is hidden?
    For your second issue, if you could have another button on your form, you could ask the user for a password and if they enter it correctly then show for the Info subforms, so;
    var response = app.response({ cQuestion: "Do you want to see all respones?",
                                  cTitle: "Unlock Form",
                                  bPassword: true,
                                  cLabel: "Please enter the password:" });
    if (response === "Password")
        var infoSubforms = Form.resolveNodes("Info[*]");
        for (var i = 0; i < infoSubforms.length; i++)
                    var infoSubform = infoSubforms.item(i);
            infoSubform.presence = "visible";
    You would want to password protect your template as well (in Form ... Form Properties ... PDF Security) so people couldn't just open the form and look at the password.
    Probably the simplest approach.
    Hope this helps
    Bruce

  • Looking at Data in the IP_IN_QUEUE -- Payload Field within IP_MESSAGE_TYPE

    Does anyone have any sql, that would display the contents of the PAYLOAD field within the IP_MESSAGE_TYPE object, once a message gets queued after an incoming EDI transaction gets processed by B2B successfully --> note BPEL/SOA is not running at this point --> I just want to dump the XML itself.
    I tried using the following code, but can not get the dbms_lob.read function to work properly; my dbms_lob.getlength function returns 5700, but I can not even read 250 bytes --> get sql "06502" PL/SQL numeric or value error: bind too small
    --> I however can read 150 bytes .
    Can someone perhaps figure this out.
    CREATE OR REPLACE PROCEDURE b2b_deq AS
    dequeue_options dbms_aq.dequeue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    ipmsg ip_message_type;
    inp_clob               clob;
    output_data_clob varchar2(2000);
    len_clob               binary_integer;
    start_pos_clob integer;
    BEGIN
    dequeue_options.consumer_name := 'b2buser';
    dequeue_options.dequeue_mode := dbms_aq.remove;
    dequeue_options.navigation := dbms_aq.next_message;
    dequeue_options.wait := dbms_aq.forever;
    dbms_aq.dequeue ( queue_name => 'IP_IN_QUEUE',
    dequeue_options => dequeue_options,
                        message_properties => message_properties,
                        payload => ipmsg,
                        msgid => message_handle);
    dbms_output.put_line('Message ID: ' || ipmsg.msg_id);
    dbms_output.put_line('Message Size: ' || dbms_lob.getlength(ipmsg.payload));
    SELECT ipmsg.payload INTO inp_clob FROM dual;
    dbms_output.put_line('Message Size #2: ' || dbms_lob.getlength(inp_clob));
    start_pos_clob := 1;
    len_clob := 250;
    dbms_lob.read(inp_clob,len_clob,start_pos_clob,output_data_clob);
    dbms_output.put_line('Message XML: ' || output_data_clob);
    Thanks.
    Arthur (203-921-5925)

    Thanks for the info --> it worked fine now.
    Also Ramesh, with regards to an example/sample of a BPEL process that reads an 850 from an IP_IN_QUEUE and processes this txn via a PL/SQL api (OAD) -
    someone has told me that this does exist somewhere --> do you have any knowledge on this piece of code perhaps.
    My key point here is in the ability to post multiple line items into 11i via the process. I posted this question on the SOA forum, but no replies have come through in five days or so.
    Thanks as always.
    Arthur (203-921-5925)

  • Map Filename to field within mapping

    I have a requirement to map the filename to a field in the header of a file to file scenario and then create a new filename based upon the fields of the data structure of the header record.
    I am comfortable using the variable substituion to either map the filename from sender to reciever and to use dynamic file names to create the new file name, but I am unsure how i can the read filename from the Adapter Specific Message Attributes and pass this value to a field on the outbound structure of the mapping.
    Can anyone give me some pointers on how i can map the sending "Filename" to the outbound field within PI7.1 SP6?

    Is it any different from PI 7.0?
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    In your UDF, just use .get() (no need for .put() ).
    Regards,
    Henrique.

  • Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO

    Is there a way to sort a PDF file with multiple pages by a specific field within the PDF? All pages have the same invoice format and i would like to sort by a field within and then print the documents. (Vendor, PO#, Date, ect.)

    When you say field, do you mean specifically a form field, such as a text field? Or is the information regular text on the page?

  • Create fill in fields within pdf document

    I'm trying to create fillable fields within a converted pdf.  However, the instructions given on your video do not conincide with my screen.
    I need help please.

    Check you have the product shown in the video. Common error: finding a video on Acrobat, assuming that the free Adobe Reader is Acrobat. No, Acrobat isn't free.

  • Error when executing OraclePortal within frames

    I've tried to run Oracle Portal within frames, but the javascript links do not work properly, i.e. javascript:nac(...) etc.
    Please help!!
    - kvikings -
    - Oracle Consulting -

    Oracle9iAS Portal is not certified or tested for use within frames.

  • 'Notes' field within the Address Book is greyed out

    The 'Notes' field within the Address Book is greyed out. The resolution seems simple enough yet this does not work: "Select the person in the Name column in Address Book, then click the Note field in the card."
    It's still grey after doing so and data cannot be entered into the 'Notes' field.
    Any help much appreciated.
    Thanks!

    You'll want to post this in the Mail & Address Book forum. That link will take you to the Mail & Address Book forum for Tiger, and there is a link at the top of the page to the Mail & Address Book forum for Panther and earlier if you need to go there.

  • Block individual field within a table

    Hello everyone,
    Is there an option to block a specific field within a table observed by SE16, without building a "view" for it?
    I'll explain myselfu2026. There is a table containing credit card numbers, but this table also containing critical data for my client, that can not be drawn from elsewhere.
    I'm looking for an option that would allow him to watch the whole table through  the SE16 , without the credit card numbers.
    Thanks,
    Julia

    Hi Julia,
    The alternative option is to use SAP Queries using SQVI transaction code. You have an option to select the required fields for the table.
    Further, you can assign the query to a transaction code in SE93 and assign the same to the users. Below are the steps to create a transaction code.
    1. Goto SE93
    2. Enter the transaction code name and description.
    3. Select the option "Transaction with Parameters"
    4. Transaction should be START_TRANSACTION.
    5. Check Skip initial screen
    6. Under the default values, enter the following:
    D_SREPOVARI-REPORTTYPE     AQ
    D_SREPOVARI-EXTDREPORT     Query name
    D_SREPOVARI-REPORT     Query user group to restrict (not SU01 user groups)
    However, the users should be assigned to the query user groups. These are further maintained using SQ03 transaction code.
    Ofcourse, my recommendation would be to stick to SE16 views and restrict the authorization to the table views
    Hope this helps!!
    Regards,
    Raghu

  • How to conditionally encapsulate fields within ECC 6.0

    I'm interested in strategies to conditionally encapsulate fields within ECC 6.0.
    The requirement would be to mask specific fields (e.g. Vendor Name) within a particular data set (e.g. a particular Company Code) by default while allowing those fields to be visible by some users.  The key is that we do not want to mask these fields globally, nor do we want them masked for every user.  Even more important, we do not want to modify all the transactions and programs where these fields are available.
    I know one option is to add custom code at the Domain level of the fields.  We're currently investigating this further to see if it will satisfy all our needs and perform well.
    I'm looking for any other options we should explore, including 3rd party options.
    Thanks,
    ~Matt

    Alex Ayers wrote:Taking the example of the vendor master, i dont think retrcition on F_LFA1_AEN would really help. when a display transaction is used the protected fields are also shown. I understand it is a "no worry' on the complaiance front, but i suppose there could be a valid reason for not allowing users to display something (the operator can shed light on that)
    And from what i understand, the object doesnt get checked during the creation of master records too - its primarily to control the changes made on certain fields of the master record.
    and it needs a certain amount of effort to understand & check  the implications before starting with the filed group customizing
    >
    > For the benefit of Shekar there may be the opportunity to use transaction variants    
    thanks, Alex. This need could in all fairness end up with that.... a transaction variant
    > 1. Don't give access to the transaction if you can't trust users to use it properly
    > 2. Use a detective control to identify where users have changed things that they shouldn't have.
    Why do i feel an Auditor posted this????
    > Finally, using parameter ID's for this purpose generally will not work and should not be considered for security reasons
    100% agree with you

  • Accessing instance variables within frames.

    I have 2 jsf within frames that is having one managed bean.
    i would like to access the instance variable defined in one jsf from another jsf. Since the managed bean is getting instantiated for the second jsf, the values in first jsf is getting reintialized.
    Is it possible to access like this? or do we need to have a separate backing bean and call the first from second.

    <script language="JavaScript">
    var scriptVar = "<%= jspVar %>";
    </script>

  • Create Input Field within ALV Toolbar

    Hi,
    I've created an ALV table using the CL_SALV_TABLE class. I'm now trying to include an input field within the ALV toolbar. I would also require this field to do an F4 to obtain its values. Can anyone help me?
    Thanks and regards,
    Adeline.

    Hi Adeline,
    as Rich explained: Not inside ALV toolbar. If you do not use full screen display but have a screen container for this, you may define a subscreen area on top of ALV container. Use CALL SUBSCREEN <area> INCLUDING <prog> <dynp> syntax to process the subscreen. Define PROCESS ON VALUE-REQUEST for F4. In PAI (PROCESS AFTER INPUT) you can modify the table displayed in the grid and do a new display.
    Regards,
    Clemens

Maybe you are looking for

  • Cannot Install Itunes 10.2.1

    I am so lost I can't even figure out how to reply to the correct one...You posted, "Find and run Windows Installer CleanUp utility. For win 7 you have to right click the install file and run it as an admin. Then you run Windows Installer CleanUp util

  • Unable to export certain files from a collection

    Hi, I made a collection from certain picks from 3 other collections. As the 3 other collections were a mixed bag of images I wanted to put together for one show. - the collection that I made, consisting of images from the other collections, will not

  • Data centre connectivity options

    Hello I am currently investigating a dual data centre design running in active/active mode. The data centres will each have connectivity to our WAN (MPLS) and to the Internet. They will have also have dedicated links to each other for site replicatio

  • Photoshop CS6 crashes with nVidia OpenGL Error Code:3

    CS6 13.0.1.1 64 bit is crashing from time to time with the nVidia OpenGL Error Code:3.   It most often occurs when waking the system if it entered sleep mode while Photoshop was running but I also get it without entering sleep mode and it doesn't hap

  • WARNING before relying on Number for iPad

    Warning - I have recently built a detailed new spreadsheet directly in numbers on iPad. Everything was working fine last night as I made some adjustments to it. This morning I go to open the spreadsheet again and halfway through loading all I get is.