Controling space between Text Items when using htp.p('HTMLDB_ITEM.TEXT')

I'm using the following code inside a table tag within a loop to generate a multi-row printable form
htp.p('<td cellspacing="0" align="right" width="100%" style="font-size:8pt">'||HTMLDB_ITEM.TEXT(p_idx=>2,p_size=>1)||'</td>');
I'm still getting gaps between rows.
How do I control the space between each row ? I want each text item row packed up like a spreadsheet with no gaps between rows. Although not shown (border="0") there is the enclosing table cell for each field, so what I want is no cellspacing and maximized item height within each cell.
But with the above code I'm getting...
etc.
but I want
Anyone know how to do this?
regards
Paul P

Hi Chris , how's it goin'...
thanks for the response. I know how to control a table cell area's height but it's the height of the inner textitem that I'm having trouble with. When I turn on border="1" There's not much space left between cells, just the default width of a line. I just don't know how to expand the height of the text item. The CSS code you suggested, where do I put the code and how do I apply it?
Here is the guts of the PLSQL report code
for des_rec in des_cur loop
htp.p('<table height="100%" width="95%"border="0">');
htp.p('<tr>');
htp.p('<td style="font-size:8pt;font-family:Arial" width="80%" nowrap >'||
des_rec.DES_SERVICE_DESC||'</td>');
htp.p('<td cellspacing="0" align="right" width="5%" style="font-size:8pt">'||
HTMLDB_ITEM.TEXT(p_idx=>2,p_size=>1)||'</td>');
htp.p('<td cellspacing="0" align="left" width="5%" style="font-size:8pt">'||
HTMLDB_ITEM.TEXT(p_idx=>3,p_size=>1)||'</td>');
htp.p('</tr>');
htp.p('</table>');
end loop;
regards
Paul P

Similar Messages

  • Both my boss and I have the iPhone 5C for Verizon.  When I text, I have the little microphone next to the space bar, allowing me to use the speech to text function.  He does not.  How do you turn this on or remedy this problem?

    Both my boss and I have the iPhone 5C for Verizon.  When I text, I have the little microphone next to the space bar, allowing me to use the speech to text function.  He does not.  How do you turn this on or remedy this problem?

    Does your boss have Siri turned ON? See Settings > General > Siri.

  • How to know theis a space or carrier return when java read read a text file

    Hi,
    Please help.
    How to know theis a space or carrier return when java read read a text file.
    for example a text like this:
    5
    <---how to let tell java they is a space here
    item1
    item1
    item1
    item1
    item1
    <---how to let tell java they is a space here
    item2
    item2
    item2
    item2
    item2

    hi!
    The reason is that. I want to use java for loop to read each part of value. for example: first part is the items name. After the space (I need to tell java when this is a space here and its need to skip) , following by the items prices in double value and space again (need to skip also) and etc.
    item name1
    item name2
    item name3
    item name4
    item name5
    <--- here is the space to skip and another loop to read following items prices
    item price1
    item price2
    item price3
    item price4
    item price5
    <--- here is another spcae again. and so on
    Thank in advance for your help.
    jet

  • How to do to appear records in a text item when I  run my  form?

    In a form I have a block with BASE TABLE=OPTIUNI_COD.
    In this block I have a text item named DENUMIRE.When I run my form the text item is empty and I use F7 , F8 to have some records in the text item.
    But I want to appear records in this text item when I run my form without use F7,F8.
    How can I do this?
    Please help me!Thank you!

    In a When-New-Form-Instance trigger you can use this:
    Go_Block('your_block');
    EXECUTE_QUERY;

  • Problem with space between rendered items in a list component

    Hi,
        Thanks again for taking your time to read my newbie posts. I found (and prove) over the internet that I can set some space between rendered items of a list based component using paddingTop and padding Bottom (vertical space), so I asume that I can do the same thing with paddingLeft and paddingRight. But as a matter of fact, it didn't work, why? that's what I would like to know, and how can I solve this. I would really apreciate if you help me do this.
    Thanks again
    Sebastián Toro O.

    Yeah, it is inconsistent.  The renderer has to implement paddingLeft/Right.
    It was done this way for performance reasons.  The Spark List in Flex 4 is
    more consistent.

  • When using Hotmail my email text appears black, but when I look at them in my sent folder they are going from black to grey. Can this be resolved?

    When using hotmail my email text appears blac, but when I get replies or look at the sent folder the emails are partly black text and then go grey, how do I stop this happening all the time please

    Which email service provider are you using?  You can install DropBox and share links to the files that way.  When you snd to your self (cc or bcc) do the items show up?  What file types and sizes are these attachments?  Are you sending over WiFi or cellular connection?  Try using more than one email account from a different provider (Gmail, yahoo, iCloud, etc) and see if it is email provider specific.

  • How to get rid of an extra space between news items in news module

    My home page is www.turbocam.com. Notice on the left side that there is an extra space between news item 1 and 2.  Between news item 2 and 3 the spacing is normal. I haven't touched the template. Any thoughts as to why this is occuring? The module is listed as:
    {module_announcement,l,3}
    Thanks.
    Liz Dorsett
    Turbocam

    Never mind! I figured it out. I had break tags outside the div tag!

  • HT5622 We have two iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself

    My son and I both have iphones with the same Apple ID. Since I installed iOS this morning I have started receiving all my sons texts and when I send him a text it is delivered to both of us. How can I remove my phone from the joint Apple ID and remove myself from finding out what he is up to during Freshers week!

    You have to use a different Apple ID for your son.
    Read this note:
    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family
    still valid for ios 7

  • Where to put page redirect code when using htp.prn

    Apex 4.0 oracle 11g.
    The user starts on page 7, chooses rows from a list and clicks a Run button which redirects them to page 10 which has a process (on load before header) using htp.prn to create a text file which the user then can save. The end of this process has apex_application.g_unrecoverable_error := true; because if it doesn't have this, the HTML gets put into the text file too.
    Anyway, when the user is done saving this text file, to all appearances they are still on page 7 (since page 10 doesn't really load, just runs that process) but I want them to go to page 14 after saving, not stay on page 7. I can't figure out where to put the redirect. The branching on page 7 doesn't seem to get activated after they hit the save button of the popup file save window, page 10 never loads for a branch on that page to work and I tried to put
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    after the htp.prn call in but then the popup file download window doesn't come up at all and the user is immediately redirected to page 14.
    This is the process - I've tried the redirect inside its own begin end; and it didn't make any difference. If I put it in a separate process, it never gets run because as soon as the htp.prn is done, all processing stops. Any ideas on how I can get this file created and then redirect user to page 14? Thanks!
    begin
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="this_file_add.txt"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    -- Loop through all rows in CLIENT_TABLE
    for x in (select HEADER_TRANS_TYPE
    , HEADER_FILLER
    , TRANS_TYPE_CD
    , SOURCE_DEPT_NBR
    , DEST_DEPT_NBR
    , ENV_TYPE
    , FILE_SEQ_NBR
    from TEMP_CRA_EXTRACT
    loop
    -- Print out rows
    htp.prn(x.HEADER_TRANS_TYPE|| x.SOURCE_DEPT_NBR|| x.DEST_DEPT_NBR|| x.TRANS_DATE || x.ENV_TYPE || lpad(x.FILE_SEQ_NBR, 4, '0') || rpad(x.HEADER_FILLER, 48) || x.TRANS_TYPE_CD || rpad(x.XREF_NBR, 12) || chr(13) || chr(10) );
    end loop;
    -- Send an error code so that the rest of the HTML does not render
    apex_application.g_unrecoverable_error := true;
    htp.init;
    owa_util.redirect_url('f?p=&APP_ID.:14:&APP_SESSION.');
    end;

    I would recommend using Thread Safe Queues. Your acquisition callback can place items in the TSQ and then you can process the data in a separate thread. TSQs are nice because they allow you to install a callback function to run for certain events. Most importantly, you can install a callback for the Items in Queue or Queue Size Changed event which will run the callback if a certain number of items are in the queue. This lets you take advantage of multithreading in a simple and safe way using a standard Producer/Consumer architecture. However, you may still run into problems with this architecture if your acquisition thread is running much faster than the consumer thread. You could eventually overflow the queue. In that case, your only options are to either get a faster system, slow down the acquisition or do the data handling post process.
    National Instruments
    Product Support Engineer

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Firefox copy feature always adds extra space before or after when double clicking to select text

    I have only just started using Firefox but I've noticed a strange "feature" (I'm not sure if it's a feature or a bug, thus the quotes). I'm used to Opera and IE where by when I double click some text the text will be automatically selected. Firefox does something like this but for some reason I don't yet understand it adds an extra space at the beginning or end of the selection. This is a problem for someone like me who for work does a lot of copy and paste. I use web software that is intolerant of extra spaces and this feature/bug is going to end up causing some major issues.
    Is there a way to alter this behavior so that it behaves more like all my other computer programs? Your help is greatly appreciated.

    Not sure if this will help with your issue, but can try.
    In the URL bar type about:config
    Then change layout.word_select.eat_space_to_next_word to false.

  • How to introduce Space between currencyCode and number using convertNumber in adf

    Hi,
    We are trying to use the af:convertNumber tag inside the af:outputText to apply the currency code in front of the number.
    We would like to introduce a space between currency code and number by using the currency converter.
    Sample code snippet is as below.
    Eg.
    <af:outputText value="#{pageFlowScope.myManagedBean.annualSalary}" id="aot8">
        <af:convertNumber type="currency" currencyCode="USD"/>
    </af:outputText>
    Output shown from the above code is as: USD11,234.00
    but we want to display as : USD 11,234.00(space after USD)
    Please suggest us as what we can use to achieve the above requirements.
    we are using jdev version 11.1.1.5.0 on windows 7 OS.
    Thanks,
    Shivaji

    Timo,
    if we use value="USD #{pageFlowScope.myManagedBean.annualSalary}", other default formats for the number will not work, it will treat as a string, even if we pass the number/bigdecimal type to the outputtext.
    And if we write two separate output texts that will be bad way, to achieve this, as we have many fields to apply the same in our application.
    Looking for better options on this.
    Thanks,

  • Why are there white spaces between my images when I preview my html design on a web browser?

    I am creating an email newsletter with Dreamweaver CC and after being unable to find a way to use layers I opted to create the entire image in Photoshop and then break it into pieces to create the image links.  I'm using tables and I have the padding and everything set to "0", but when I view it in the browser there are white spaces between each image. It looks solid in Dreamweaver, but in pieces on web browsers.  I do not understand how or why this happened and I cannot figure out how to fix it.  If anyone can help, I'd greatly appreciate it.  Thanks.

    I only used Photoshop for the layout.  Then I created web-safe images for everything that I used for Dreamweaver.  I uploaded the images to the internet and then image sourced them into the code so that they will be viewed properly in the correct circumstances.  I haven't used HTML since about 2004 and I wasn't very good then.  I've just been thrown back into it and I'm pretty much learning as I go.  This is my second attempt because I wanted to make the newsletter more eye-catching.  My first one is very basic and without a background image at all and that looks fine in pretty much all email clients.  I tested it with Litmus.  All except for Windows Live Mail, where the images didn't act as links but as static images.  It works fine with the others I tested manually.  Those being Gmail, Yahoo and AOL.  I will try the display:block and get back to you.  Thanks for your suggestions.

  • Text "disappears" when using text box tool

    We are running Adobe Acrobat Standard vers. 7.0.9 inside Thomson Corporation's GoFileRoom vers. 6.0. When using the text box tool to add comments to a pdf, the text within the text box "takes on" the color of the background of the box, making it seem that the text has disappeared. The only way to see the text is to edit the text box and change the font color OR to view the contents of the text box in the Comments section. How do I resolve this? Would appreciate any help.

    I am having the same problem. Both with text boxes and text in the actual document. Do you think it is GoFileRoom related? I never made the connection but I wouldn't be surprised. It seems worse when different versions of Adobe are used. Some have ver 7 and other ver 8 but we are all using GFR.
    Have you had any help?

  • Controlling Access to Certain Reports When Using Crystal Reports Server

    Hi,
    I was wondering exactly how security is managed when using Crystal Reports Server?  Do you assign rights to individual reports via user ids in Active Directory?  Or what exactly is used for user authentication?  Is it possible to create local accounts?  Thanks.

    Usually access is controlled by permissions which are set in the CMC (BO web admin tool). You can map 3rd party groups from AD or LDAP and then assign permissions to those groups or set up security with built in enterprise groups as well. You may elect to use any combination of the above. For more complex security models there can use database and row level security built into our meta layers called business views and universes.
    Regards,
    Tim

Maybe you are looking for

  • Converting a single frame swf to a gif

    I have a couple of really cool animated 'shockwave flash movie windows projector' images that i would love to convert into animated gif's so that I can edit them to work in a theme I'm designing for my sony ericsson w580i. I was finally able to conve

  • ITunes 7 and 6.5 crash on startup

    Hi there, I'm gonna try to explain correctly the issue I experimented with iTunes 7 AND 6.5. I used for months iTunes 6 with my iPod 5G first version. Then, I upgraded iTunes to ver. 7 and all my problems began. First of all, the iPod firmware upgrad

  • HT204409 iPhone 4S says "no wi-fi"

    This issue just started today... My new iPhone 4S can not connect to any wifi. If i go into the settings, where you normally select your wifi, its greyed out and says "no wi-fi" Whats going on?

  • CRM ISA b2b Vs ECC ISA b2b - IPC and BADI

    Experts, 1. In CRM ISA b2b - We use CRM_COND_COM_BADI to implement the userexit logics and to populate custom attributes. What is the equivalent BADI or procedure in ERP scenario assuming I am using IPC in both the scenarios. 2.   in CRM ISA b2b scen

  • Can I find a free movie site in Safari and airplay it to Apple TV?.

    I am thinking of buying a Apple TV, but wwas wondering if it is possible to use a free movie site from Safari and airplay or mirror it to Apple TV?. I have a original ipad and a iPad mini. I am also buying a iPhone 5s.