Extra blank space in formula and summary fields

I have a report that gives text output. In that I have 3 fields which are numeric.
One of them has source as summary column- numeric 3 digits(format mask 000) and other 2 has source as formula column- numeric format mask (0000.00)
Here is my problem- When the value in my summary column is 3, it prints space(instead of 0) and 03,
if the value is 56, it prints a space and 56. if the value is 139, it prints a space and 139. Now this increaases the size of my line by 1 space, which is acceptable to the system that we are feeding this data.
Similar thing is happening for the formula columns, 1 space (instead of 0) and then 000.00 is printed, if the value is filling the format mask, then it will have an extra space before giving out the value 1234.56.
Can somebody please help me with the situation.
Thanks
Anna

Finally, I got the fix.
Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
Now my data looks like this, which is what I wanted:
04/23/20120020123.451234.5610/24/2008
If you look close, there are no spaces now as compard to my previous data line.
Thank you all both for spending some time and giving me pointers.

Similar Messages

  • Ordering of formula and summary fields - Reports6i

    Hello,
    I want to know if it is possible to make certain order of field (XML tags) in XML.
    If I have ordinary field that I get from SQL I can put it in the place that I want it to be and position in xml is OK, but when I put formula or summary field on certain place in xml file it is always on last place.
    For example:
    I have sql with 3 fields (one, two, three) and two formula fields (fo1, fo2). In report they are in this order:
    1. one
    2. fo1
    3. two
    4. fo2
    5. three
    but in xml file I get this order:
    <body>
    <edp:bodyContent>
    </one>
    </two>
    </three>
    </fo1>
    </fo2>
    </edp:bodyContent>
    </body>
    and I wish to have this order in xml:
    <body>
    <edp:bodyContent>
    </one>
    </fo1>
    </two>
    </fo2>
    </three>
    </edp:bodyContent>
    </body>
    Is this possible and if so how?
    Thanks for your help

    Finally, I got the fix.
    Here is what I did: Instead of the format mask '000' or '099' or '0nn' I used '000Y'
    adding a Y supresses the extra space that is reserved for + or - sign. And supression need to be added at the end like I showed, not like 'Y000'.
    Now my data looks like this, which is what I wanted:
    04/23/20120020123.451234.5610/24/2008
    If you look close, there are no spaces now as compard to my previous data line.
    Thank you all both for spending some time and giving me pointers.

  • New line break and extra blank space characters disappear after submit form?

    Hello,
    I have a PDF form with a Submit button that is dynamically created in my code to send the form data to the server in HTML format.
    After the form data is received on the server side, all strings with new line break and extra blank spaces are gone.
    For example, if I enter string in a text field as shown below on the form:
    Hello   ,  
    this is  
        just a
    test
    After the form data is sent to the server, this string would become:
    Hello , this is just a test
    New line breaks are gone. Also, if there is more than 1 blank space character between 2 characters, the extra blank space characters would be removed as well.
    It does not only happen to multi-line text field, even with single-line text field. If I have a string like this in a single-line text field:
    Hello         this is just              a         test
    After the form data is sent to the server, it would become:
    Hello this is just a test
    The form is created in OpenOffice then converted to PDF. The Submit button is created in my program using iText.  I have no idea it is iText that trims my string or PDF itself does it.
    Can anyone give me any possible explanation? Thanks.

    That is not what I get. Since it's URL-encoded, spaces are represented by the "+" character and carriage returns are represented by the "%0d%0a" (cr/lf) sequence.
    Are you looking at the actual data that getting sent to the server or the output from the server after it processes it?

  • Extra blank space problem in af:selectOneChoice

    Hi All,
    I m using <af:selectOneChoice> to display few items in combo box. Now the problem is when the page gets load 1st time, its show an extra blank space in item list, but after selecting any item from the list page gets refreshed and reload again, now it does not have any extra blank space in the list.
    How do I remove this blank space from the combo box ???

    Hi Usha,
    1. Remove the Condition from you Context tab.
    2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
        the adobe form.
    3. Make the subform (under which the field is added in the hierarchy view) as flowed.
    4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
    for e.g
    if (xfa.form.FORM.SUB_FORM.matnr == "123") {
        xfa.form.FORM.SUB_FORM.Region = "hidden";
    NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
    Hope this proves to be useful.
    Thanks,
    Swar.

  • How to add extra blank space in xml

    I open the xml file in notepad I get this
    <XXON_EXT_BANK_ACCOUNT_NAME>創名聯合會計師事務所                                        </XXON_EXT_BANK_ACCOUNT_NAME>
    But when I open the xml file in html format the blank space is gone.
    How can I add extra blank space in xml?

    Hi
    Why do you need the extra space for?
    This difference in display that you see between your browser and notepad/notepad++
    will not affect your generated report.
    Bogdan 

  • Replace with a blank space instred of , and _

    Dear all
    I am using oracle 10g.
    I want to replace with a blank space instead of , and _.
    example
    i have a string like ABCD_EFG,HKL
    Then it should come like ABCD EFG HKL ..
    How can i do it?

    Try this:
    SELECT 'ABCD_EFG,HKL', TRANSLATE ('ABCD_EFG,HKL', '_,', '  ') FROM DUAL;

  • Issue with Duplicate Results and Summary Fields

    My report is based on an Access Database. For the purposes of this current issue, there is the Master Table called u201CCnu201D and then a related u201CTable Au201D which includes multiple records related to the Master and also a related u201CTable B,u201D also with multiple records related to the Master.
    For my report, I want to output results from Table B based on criteria in Table A. This naturally produces duplicate output on the report. As a result, the Summary Fields that I want to include are incorrect.
    I have tried multiple combinations of the Select Distinct function, suppression based on u201Cprevious fieldu201D being equal, summary fields, running totals and if-then statements and still cannot find a solution that works in all of the cases involved.
    Below are descriptions of three different scenarios that are occurring:
    EXAMPLE #1: Entry 1 has 2 records in Table A and 2 Records in Table B so "Select Distinct" including the Table B ID # and then a Summary Field for the Total produces the correct results, while a Running Total is Incorrect.
    EXAMPLE #2: Entry 2 has 2 records in Table A and 1 Record in Table B so a suppression formula of the field based on the "Previous =" Table B ID # and the Running Total produce the correct results, while Summary Field is incorrect.
    EXAMPLE #3: Entry 3 has 6 records in Table A and 6 Records in Table B. Neither Summary or
    Running Totals produce correct results.
    I would greatly appreciate any advice in terms of creative formulas, etc. that would help produce correct results here.
    Iu2019ll be pulling my hair out soon! Thanks so much-

    Hi Berry
    Try to create a command with a subquery. The subquery will be returning the the duplicate records and the main query that uses this subquery will find distinct records out of the resultset returned by the subquery.
    Let me know if this helps.
    Regards
    Nikhil

  • How do I clear the blank space between content and footer?

    In the process of revising a Muse website, I deleted some content from one of the pages and revised the content that remained on the page. Now I have a blank area between the bottom of the revised content and the top of the footer, and I can't seem to get rid of the blank space. It doesn't appear that there are any text blocks or other images in that area, so I can't find any objects to delete. Help?
    The website is currently published in a draft mode for client review. You can examine it at: http://page7creative.com/clients/coremove_jun2012draft/retreats.html. The page in question is the Retreats page. Restarting Muse made no difference. I work on the Mac platform.
    Before I sent this post, I decided to try creating a new page, then copy/paste the content onto the new page, and save the Muse site under a different name. Lo and behold, the page (and the site) works like it should...without any extra space above the footer on that page. It would appear that something went astray when I deleted content on that page. I can use the new page to get the site working properly, but decided to go ahead and send this post so that you can look at the page code and perhaps see what is wrong that is causing the blank space...in case I ever run into this again.
    Thank you.
    pyxis83

    Thanks for sending your file.
    There is a graphic at the bottom of the content area of the Retreats page that's been cropped to a size of zero width and 2 pixels in width.
    Unfortunately, there's a bug with pointer tool drag selection (aka marque selection) that prevents it from selecting an item that has zero width or zero height. Therefore the easiest way to select this item to delete it is to select any other item on the page, then hit the tab key repeatedly to cycle through every item on the page. When you get to this item you should see a little pile of selection handles at the left edge of the third column and right at the bottom of the content area. The width and height will display as zero and 2. Delete this item and the page will resize to fit the remaining content.

  • Functions in Calculation and Summary Fields

    Hi,
    I'll give a bit of background to my situation before describing the advice I'm looking for here.
    I am experienced Mac user and I have used AW a fair bit in the past, but since I've been working in a job which has Windows machines and uses a complex custom-written relational database for its main tool, I use it less often than I did, so I am a little rusty. It is the shortcomings of the complex relational database (which I do not have admin rights to) that has led me back to AW and its database module.
    Essentially, I am a complaints investigator, and the relational database provided by my employer is used to keep track of correspondence and various metadata associated with the investigation of the complaint. However, although it is called a Complaints Management System (CMS), it does not help me manage my caseload very well. I've previously tried to create an Excel spreadsheet that would help me manage my work, but it is not a database (or I am not sufficiently skilled with Excel) and I cannot get it to provide me with what I want.
    So, my problems.
    I have complaints (cases) assigned to me to investigate. These cases have differing priorities, which means differing time limits for completion of the investigation. The priorities and time limits are set out below:
    J (jurisdictional issues) - time limit = 1 month
    D (discretion not to investigate) - time limit = 3 months
    1 - time limit = 4 months
    2 - time limit = 6 months
    3 - time limit = 12 months
    The priority field in my AW DB is currently a 'pop-up menu' field, but I could change this to another type if this would be advisable.
    I have a date-type field in which I enter the date the complaint was received. I have an calculation-type field in which I calculate the age of the complaint using the function:
    =(NOW()-'DateReceived')
    This returns an age in days, which I input into a separate calculation field that divides the result of 'age in days' by 30, to give a rough approximation of the number of months old the complaint is (If AW has an equivalent to Excel's 'workdays' variable, I'd love to hear about it). This latter field is the one that I display in the main data entry view of the database.
    Given the priority assigned to the complaint, and the age of it, I am either 'On Target' or 'Over Target' for completing the investigation.
    Each month I have a meeting with my manager to review progress, and since the reports that can be extracted from the CMS are not very useful for this purpose, I want my AW database to help me generate reports that can form the basis of discussion in these meetings.
    Part A of My Query
    At present, I have a manually operated field, in the form of a pop-up menu, to indicate for each record (complaint) whether I am over or on target for completion of the investigation. I would like to make this a calculated field, so that the database keeps track of this for me automatically. Unfortunately, I'm either too dense, or not good enough with the syntax of AW functions, to be able to write a function which essentially does the following:
    IF 'Priority'=1 AND 'Age in Months'<4 THEN 'On Target' ELSE 'Over Target'
    - and then repeats that for the other priority possibilities.  It seems likely that the 'IF' function is what I'm after, but I haven't been able to get the syntax right to combine 'Priority' and 'Age in Months' in the format spelt out in the AW help, which is:
    =IF(logical,true value,false value)
    Getting the syntax of one part of this function right would be a good start. However, I suspect that I have a larger problem, in that I have 5 priorities to measure against and I need the overall calculation (that produces the 'On Target' or 'Over Target' results) to report in one result field. This means nesting the functions that look at the 5 priorities and 5 age limits. I've tried and failed to get the syntax of such nesting right, so advice on this is doubly welcome.
    Unfortunately, I have a sneaking suspicion that unless the answer is much more concise than I imagine it to be, there will be an additional problem: AW appears to have a character limit for the length of a function string in a calculation field which may be too short for my needs.  If you think this is an issue but that it can be solved through the use of intermediate fields (which don't need to be displayed in the main 'data entry' layout), I'm happy to give that a shot.
    Part B of my Query
    Even if the problem above cannot be solved, and I have to manually enter whether a complaint is 'On Target' or 'Over Target', I have a separate but related question for the reports I have to present to my manager.
    On these reports, I would like to have a summary at the top of the first page (in a grand-summary part, I assume) which gives a count of how many complaints are 'On Target' or 'Over Target' for each priority. Below that is a sub-summary part, ordered by the type of action that must next be taken in the investigation. (Getting that right may be a subject of a separate post at a later date.) The report must, of course, only report on those complaints that are still being investigated ('open complaints') and not those which have been completed ('closed complaints'). So, I need a function in a summary field which will present an accurate count of the number of open complaints that are 'on target' for priority J (with separate summary fields that do the same thing for priorities D, 1, 2, and 3), and a separate set of summary fields that will present a count of open complaints that are 'over target' for each type of priority.
    It might look a bit like this table below, with figures from the summary fields populating the cells in the third row:
    Priority
    J
    D
    1
    2
    3
    In / Out of Target
    In
    Out
    In
    Out
    In
    Out
    In
    Out
    In
    Out
    Number of Complaints
    My guess is that it is easier to have the summary field simply count all the complaints that are on or over target for a given priority, regardless of whether they are open or closed, since the report could be based on a saved search (match) which strips out all closed complaints. But if I'm off-beam with that idea, I'm happy to have another way of cracking this nut.
    Many thanks in advance to any Community members that take the time to try and help me with this.
    Andrew
    PS Cross posted in AWUG forum too, if people prefer to answer there.

    Hi Andrew,
    Part A:
    I've done some restating of the question, and distributed the calculations among several fields, not all of which need to be included on the visible layout. Other than formatting the Date fields and moving the 'Completed Date' field and its label, I've left this in the default "Layout 1" produced by AppleWorks.
    Field List:
    Priority: Popup menu with six items: 00, J, D, 1, 2, 3  Defaults to 00
    TL (time limit in months): Calculation:  CHOOSE('Priority',0,1,3,4,6,12)
    Received: Date. Option: Automatically insert today's date (ie. Date Record created) (may be edited)
    Target Date: Calculation:
    DATE(YEAR('Received')+INT(MONTH('Received')+'TL')/12,MOD(MONTH('Received')+'TL', 12),DAY('Received'))
    Remaining (Days): Calculation: INT('Target Date'+1-NOW())  (see revision below)
    Completed: Checkbox. Set default value to Unchecked.
    Completed Date: Date: Entered manually
    OnTarget: Calculation: IF('Completed',IF('Completed Date'<'Target Date',"On Target","Over"),IF(INT(NOW())>'Target Date',"Over","On Target"))
    The On Target field shows the current status of the case while still open, and the state on the closing date when it was closed.
    Having done that, I was unhappy with the Remaining field continuing to calculate an ever larger negative number after the case had been closed. Hence this revision below:
    Remaining: Calculation: IF('Completed','Target Date'-'Completed Date',INT('Target Date'+1-NOW()))
    Shows the number of days remaining while the case is open, the days remaining at completion if the case has been marked Completed and the completion date entered.
    Rsults (and some further formatting of the Layout) below.
    Part B:
    You will need Subsummary parts when sorted on Completed and on On Target. Fields can appear on  a Layout only once, so each subsummary part will need a separate Summary type field for each field to be summarized.
    Regards,
    Barry

  • Removing extra blank space after Header in IE

    This is my first webpage in Dreamweaver (actually it's my
    first webpage!) I'm still super new and can use A LOT of help.
    First off, I'm using the two column elastic left sidebar
    header/footer template from DW. When I preview my page in IE I get
    an extra gap between the header and the sidebar/maincontent portion
    of the screen. I've tried zeroing all of my margins and padding and
    that seems to have no effect. I read some of the other posts and
    found some code that sounds like it should fix the problem, so is
    this all I have to add to my code?
    Attach Code:
    <!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional
    comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout
    it needs to avoid several bugs */
    </style>
    <![endif]-->
    Also, I am trying to add an image placeholder to my header,
    but everytime I try, the placeholder becomes part of the <h1>
    tag. I don't want it to be part of the <h1> tag (I don't
    think). I would like to be able to just place it in the header so
    that I can float it left and have it not effect my <h1> tag
    at all. Is there a fix for that? I would assume that there would
    be, but seeing as I'm still at Newb status, I have no idea what
    that code would be.
    Thank you!

    Ewww - made the page in Word, did you?
    span.style81 {mso-style-name:style81;
    mso-ansi-font-size:17.5pt;
    mso-bidi-font-size:17.5pt;
    font-family:Arial;
    mso-ascii-font-family:Arial;
    mso-hansi-font-family:Arial;
    mso-bidi-font-family:Arial;
    color:black;
    font-weight:bold;}
    Try changing this -
    <table width="795" border="0" bordercolor="#000000"
    bgcolor="#000000"
    style="border-color: #333333;">
    to this -
    <table width="795" border="0" bgcolor="#000000"
    style="border-color:
    #333333;" cellspacing="0" cellpadding="0">
    Be aware that without specifying a border-style, and
    border-width, your
    border-color style will have no effect.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "moon64" <[email protected]> wrote in
    message
    news:en1idh$kca$[email protected]..
    >I am getting a small space on some of my pages in-between
    the header and
    >the
    > first table. The problem only shows itself in IE, not
    through Firefox. I
    > have
    > encountered the same problem on some other things I have
    been working on.
    > Here
    > is a portion of the file if anyone could kindly see what
    is casuing the
    > problem. Thanks in advance. This board must have
    answered 100 questions
    > for me
    > so far.
    >
    >
    http://www.1candlemarketing.com/fund/headertest.html
    >

  • How to remove extra blank spaces from log file.

    i have created a log file which contain the logs of a program. the logs are getting created fine for the first execution of the program but from the second time the log file is getting blank space's after every character.
    i have used the code to append the text in log files few examples : 
     'Clean up process started....' >> $log
    File name :'+ $files +'Time-Stamp: '+ $endtime +'Search complete.' >> $log 
    .i want to remove the extra spaces after each character but not all the spaces from the file. Thanks in advance.

    hi  mjolinor
    add-content is used to insert text it does not append text at the file .i used >> to append the text on log file ..
    from 
    Get-Help ADd-Content
    Synopsis
    Appends content, such as words or data, to a file.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Subreport causing an extra blank space in PDF export of SSRS 2008 report

    Hi All,
    I have a requirement of showing individual report and a Supervisor report.
    In the individual report, I will run the SSRS report for a particular worker. In the supervisor report, I am supposed to show the report for each worker working under the supervisor.
    I have created the individual report and it works fine(even when exported to PDF).
    Now in order to create the supervisor report, I will get the supervisor ID which I broke into various individual ID's of workers working under the supervisor in DataSet and created a subreport which points to the Individual report. I embedded this subreport
    in a Tablix and gave a group by on the ID so that for each ID, the report runs one time.
    The issue that I am facing is that when I export the Supervisor report in PDF, after each page, I get an extra blank page.
    The Supervisor report only contains the Tablix which has only one column containing the sbureport which points to the Individual report and a Header and footer and nothing else.
    Still I am getting this extra page on PDF export. Please help on the same.

    Hi HiddenIdentity,
    According to your description, you have a report to display subreport for each ID and you have set page break between each group instance. Now when you export the report into PDF, it generate an extra blank page between each group instance. Right?
    In Reporting Services, Reports exported using PDF and Image are optimized for a book-like or printed experience where pages are a consistent size. Page breaks are inserted vertically and horizontally at specific locations within the report body. These specific
    locations are determined by the page width and page height settings. Please see the following link:
    Rendering Behaviors (Report Builder and SSRS)
    In this scenario, when you put a sub report in a cell, the whole subreport body will be displayed in this cell. If the total width exceed the page width of a PDF page, the content will goes to the next page. That's it need two pages to render each subreport.
    So please modify the subreport report size to make it as big as the tablix so that it can be rendered within one PDF page.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Formulas and updating fields

    I have a PDF document that has a bunch of forms to calculate mileage, etc. I have entered formulas into "total" fields, but once i fill in the other fields, the "total" number does not update. Is there a secret trick to making the number automatically update or is it possible that my formula is just wrong? It's in simplified field notation as "Ending MileageRow1 - Beginning MileageRow1."  (Ending MileageRow1 is the name of one field and Beginning MileageRow1 is the name of another.) Any help with this would be great!

    The field calculation order is not correct. To set it, go into forms editing mode (Forms > Add or Edit Fields) and then select "Forms > Edit Fields > Set Field Calculation Order". Set the order to whatever makes sense for your form.

  • Blank space on left and right of page.

    I have (2) computers using the exact same version of Firefox and same model of monitor. On some web pages (e.g. CNN.com), one monitor has the content fills up the entire page (starting from the top right to bottom left), while the other monitor has a 1.5-inch blank space on both the left and right sides. I matched all the Firefox settings between the two but I still see the difference. How do I eliminate the blank space? Thanks.

    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/

  • Pages go from right to left, blank space on left and cannot see all of page at one time

    All my screens move to the right and there is blank space on the left which is about 4 inches wide. Then my screen goes back to normal for a second or two and then back to the right again and I cannot see the whole page.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you increased the minimum font size then try the default setting 'none' as a high value can cause issues like you described.
    * Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    * Tools > Options > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"

Maybe you are looking for