Accommodation of multiple space characters without using nbsp - request

I have dot matrix printer and i want to generate a report using character position and line position.
For example a line can accommodate 80 chacters and in a page generally accoomdates 72 lines.
I need to display column value padded with space characters and concatenate with other column and can generate 80 character data set.
For example name column has varchar2(50) and date_of_birth as date and pay number(10,2)
I just concatenated as rpad(name,50,' ')||to_char(date_of_birth,'dd-mm-yyyy')||lpad(pay,20,' ') so that all the 80 characters are filled with some characters.
'dr.s.raghu 01-01-2001 123.45' In between quotes 80 characters are placed including space characters. But while using report and print multiple spaces are getting shrinked as single space character and displays as 'dr.s.raghu 01-01-2001 123.45' If i use nbsp as padded characters, the lettes are getting displayed as nbsp but while on page printing it displayed as space characters.
I want to accommodate multiple characters of space characters in screen display and as well as in printer image. How to achieve it?
yours
dr.s.raghunathan

dear Piotr
have seen the example you have shown. I am confident that can be achieved by defining column width and height and example used only three columns. Whereas now i edited my requirement with code tags. Within the column value itself i need multiple spaces between word. Why even in this forum message box unless i use code tag, i am unable to display multiple space characters between any two words. Infact, i am very happy someone also has having the sampe problem and definitely solution will be achieved through some gurus.
yours
dr.s.raghunathan

Similar Messages

  • Replace multiple space characters with a single space

    Hi,
    Oracle 11g R2.
    Looking for a way to replace multiple space characters in a row with a single space. For example, the text "abc abc" should look like "abc abc". I tried toying with replace, but it only works for the case of 2 spaces. Need a solution for the cases where there could be 2 or more spaces.
    select replace(column1, chr(32)||chr(32), chr(32)) from tablea

    Hi,
    If you had to do this without regular expressions, you could use:
    SELECT  REPLACE ( REPLACE ( REPLACE (str, ' ', '~ ')
                     , ' ~'
              , '~ '
              )     AS new_str
    FROM    table_x;assuming there is some sub-string (I used '~' above) that never occurs right next to a space.
    However, unless you're uisng Oracle 9 (or earlier, which you're not doing) you don't have to do this without regular expressions. As you can see, the way Solomon showed is much simpler.

  • Is there a way to send and receive SMS on multiple cellular devices without using iMessage?

    I currently own a cellular iPad mini and an iPhone 4s and would like SMS to be the same on both devices as well as my desktop.
    After many months of struggling with iMessage, I decided to turn it off entirely.  I discovered that my best friend did not receive dozens of my texts over the span of a few months (I compared our message history side by side).  Seems like it had something to do with traveling in and out of wifi zones or possibly conflicts between our two carriers, ATT and Verizon.  Regardless, I am not willing to dive into iMessage fully until this gets sorted out.  Further, SMS is the standard message format for everyone outside of the Apple sphere, and I do not feel comfortable lumping them together into one app.  If I decide to switch to Android, will all of my contacts with iPhones continue sending me iMessages?
    Thank you for your help!

    Is there a way to send and receive SMS on multiple cellular devices without using iMessage?
    Search the iTunes App Store for any 3rd party SMS apps that may be available.
    If I decide to switch to Android, will all of my contacts with iPhones continue sending me iMessages?
    Android phones don't receive iMessages, they can recieve SMS messages sent through the iOS Messages app. The app that your contacts choose to use to send you messages is completely up to them.

  • Create a Multiple-Line JButton Without Using HTML format

    I used html format for multiple-line JButton and it took a long time to load that button up (about 5 seconds more). Does anyone know how to create a multiple-line JButton without using html?
    Any suggestion or sample code will be appreciated.
    javamesser

    Hello,
    You could try using the following:
    -give your button some layout (e.g.: BoxLayout.Y_AXIS, or BorderLayout).
    -create the wrapped text in separate JLabels (one line in each label)
    -add your labels to the button
    Advantage:
    this solution does not affect the laf classes
    Disadvantage:
    focus rectangle is not calculated accurately
    Regards,
    G

  • Is there anyway to have multiple signature blocks without using an app?  Will IOS 5 have that functionality?

    Is there anyway to have multiple signature blocks without using an app?  Will IOS 5 have that function?

    "No" and "We don't know yet"

  • Multiple Hit Button Without Using The Timeline

    Hello. I'm pretty much a beginner when it comes to flash. So,
    I assume there's been a post about this topic already. But, does
    anyone know how to script a code that lets you hit a button
    multiple times to execute an action without using the time line.
    For example. on
    http://www.group94.com/ website
    under menu / projects they use arrows to move the text on the y
    axis. Every time you click down on the text, it shifts upwards. I
    assume this a multiple hit action since the text shifts to? Can
    anyone help. Thanks.
    George

    Well, every action assigned to a button is executed multiple
    times when the button is hit repeatedly. I assume you mean kind of
    different actions? This could be done with a counter variable and a
    switch statement, like this:
    var count:Number = 0;
    button.onRelease = function(){
    count++;
    switch(count){
    case 1:
    // actions for 1st click
    break;
    case 2:
    break;
    case 5:
    count = 0; // reset counter
    break;
    However, in the website you linked, I suppose they don't do
    it this way, but with a more dynamic approach: Load the data (links
    and linktext) from a xml or text file, then build an array out of
    the contents and display the first entries. When the button is
    clicked, the first entry goes off, the next entry comes in. When
    the end of the array is reached, go back to entry 1 (not sure they
    do that, I didn't try it so far). So you would need a function,
    like displayNext(), that executes on every click and checks for
    itself which is the next entry to display and goes through the
    array this way.
    That's just a guess how they did it, or rather, how I would
    do it. ;)
    hth,
    blemmo

  • How to Set multiple Global Variables without using Controls or Indicators

    I have to set many Global Variables (i.e. declare and initialize them) in a subVI in order to pass them to various other subVI's. The only way I know how to do it in LabView is to create a Globals.vi on which you create a control or indicator for EACH Global Variable. That's fine if you have only a few variables. But I have close to a hundred Global Variables (which come from a configuration file for a large program) and clearly it is impractical and cumbersome to create a control for each global variable. In Agilent Vee, there is a simple function called "Set Variable" that sets the data value of a global variable. Then in other module, you simply use the "Get Variable" function to get back the v
    ariable and its value.
    In LabView you can use the "Invoke Node / Set Control Value" and "Get Control Value" properties to achieve the same thing. But as mentioned above, you need to create a control for each global variable and that is a big pain in my case, with many global variables. Furthermore, the global variables are read from a Configuration Text File to this VI. Is there a way to do it without using the control? Thank you in advance for any help.

    Actually you could create the same sort of facility in LV. All you have to do is create a LV2-style global that behaves as follows:
    To write a value to it, you supply a value name and the value. These pieces of data are save internally in seperate arrays.
    To read a value, you supply a value name. The VI looks up this name in the value name array to return an index into the value array. Output the value you find.
    Frankly though, it sounds like what you really need is not hundreds of globals, but a good way to manage configuration data.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Is it possible to group multiple columns individually without using union?

    Hi, if I have a table with a numebr of columns I want to group eg gender, nationality, age and I want to produce a summary such like:
    Group Count
    Male 10
    Female 23
    British 19
    Irish 14
    18 10
    etc.
    Or even better:
    Group Count
    Gender-Male 10
    Gender-Female 23
    Nationaility-British 19
    Nationality-Irish 14
    Age-18 10
    Is this possible without using loads of unions? I just want to do this in the best, most efficient way as the table involved has >100 million rows.
    Many thanks
    Jen :)

    May be this
    --Test data
    with t
    as
    select 'M' gender, 'INDIAN'  nationality, 25 age from dual union all
    select 'M' gender, 'INDIAN'  nationality, 25 age from dual union all
    select 'M' gender, 'INDIAN'  nationality, 30 age from dual union all
    select 'M' gender, 'IRISH'   nationality, 30 age from dual union all
    select 'M' gender, 'IRISH'   nationality, 40 age from dual union all
    select 'F' gender, 'IRISH'   nationality, 40 age from dual union all
    select 'F' gender, 'BRITISH' nationality, 50 age from dual union all
    select 'F' gender, 'BRITISH' nationality, 50 age from dual union all
    select 'F' gender, 'BRITISH' nationality, 45 age from dual union all
    select 'F' gender, 'BRITISH' nationality, 45 age from dual
    --Test Data Ends
    -- Main Query
    select decode(no, 1, 'Gender-', 2, 'Nationality-', 3, 'Age-') || decode(no, 1, gender, 2, nationality, 3, to_char(age)) val,
           count(*) cnt
      from t
    cross join (select level no from dual connect by level <= 3)
    group by no, decode(no, 1, gender, 2, nationality, 3, to_char(age))
    order by no;
    VAL                                                  CNT
    Gender-F                                               5
    Gender-M                                               5
    Nationality-BRITISH                                    4
    Nationality-INDIAN                                     3
    Nationality-IRISH                                      3
    Age-25                                                 2
    Age-30                                                 2
    Age-40                                                 2
    Age-45                                                 2
    Age-50                                                 2
    10 rows selected

  • Chaining iBots without using Conditional Requests?

    I am using iBots with delivery content and a java script to export this to excel files. Now I want to chain these iBots.
    If I use the first iBot to run the 2nd iBot I need to have a conditional request. But these iBots don't have conditional requests.
    Using conditional requests equal to the delivery content would be requesting the same report twice. The reports are large and time a lot of time.
    So how can I create a chain without requesting all the reports two times?

    Hi,
    May I know how you configured the Conditional Formatting in detail? Especially what conditions you selected.
    As for the question, there is no build-in feature in Outlook to realize your request, the only method I can think of is to use VBA.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Can you make a multiple track selection without using a modifier key?

    i think this is mainly a wishlist kind of question as i'm pretty certain it's not possible. while the track tool can be accessed with a single key command, in order to select multiple tracks, you have to hold down the shift key. in FCP, the track tool had several options. for instance, TTTT would select all tracks forward but you could map this to a single key. so many things about premiere are great, but certain keyboard shortcuts are sadly lacking.

    yes, really. if i do something more than 5 times in any given day then i'd like to do it as efficiently and quickly as possible. as an editor, i use the select all tracks forward command in FCP at least 20 times a day, but probably more. so even though it's not a "big deal", it does slow down my workflow when i have to hit 2 keys. it's not a big deal to go to the post office but it really makes life easier when the mail carrier stops at my house.

  • Uploading a file without using multipart request

    I want to upload a xml file from my java application(standalone, no webserver involved) ... please suggest. I am able to do it through servlet multipart request but don't want to continue with that just to bypass the browser interaction the client have to perform to choose the said file.
    thanks

    Upload to what? You need something running on the machine where the file is to be uploaded to. If it's not a web server, then you'll have to run something else. Once you decide what that is going to be, then you will have to change your program to send the XML file to that server.

  • Multiple IDOC to Multiple IDOC scenario without BPM steps????

    Hi
    Could you please give me the solution for this ???
    I want steps for sending all IDOCs at a time- ---"Multiple IDOC to Multiple IDOC scenario without using BPM".???
    thanks
    3nadh

    Hello,
    Refer the below, for certain details!
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi     ALE configuration for pushing idocs from SAP to XI
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change     XI: IDOC bundling - the "trick" with the occurance change
    Regards,
    Jilan

  • Single step workflow with multiple approvers (without using a group)

    Hi,
    is it possible to have a single step workflow with multiple approvers without using a group? This is for a contract document.
    i want to add a number of users based on particular logic. The approvers are random and do not belong to any particular group.
    DO let me know if it is possible or if any of you have done that.
    thanks in advance.
    regards,
    rubio

    Hi Rubio,
    I believe the behavior would be, if individual users are added as approvers then the system would require each approver to approve the document. However, if you use the user group, you could set the role so that it would be either ALL or ANY.
    Regards,
    Vikram

  • How to manipulate data in multiple rows without using cursor??

    Hi all,
    I have a form in which there is a push button & 4 text fields.
    Push button : Process
    Text fields: Year, Month, Financial_To_Year, Financial_From_Date.
    In database , there are tables like, CUSTOMER_MASTER, FD_ACCOUNT_MASTER, FD_ACCOUNT_DTL, CUSTOMER_YEARLY_INTEREST, etc.
    In table FD_ACCOUNT_MASTER, there are columns, like CUST_CODE, FD_ACCT_NO, FD_AMOUNT, ACCT_OPEN_DT, ACCT_CLOSE_DATE, ACCT_TYPE, INTEREST_RATE, etc.
    There are thousands of records in the table.
    For Push button : Process , TRIGGER: When button pressed,
    I have to do all the process of FD for all the FD_ACCOUNTS at once. Process means i have to calculate Interest for all the accounts, calculate interest monthly, quarterly, yearly and make the FD_Accounts disable after the date of ACCT_CLOSE_DATE is reached, make the accounts renewed , etc all the process.
    But to do this process for multiple rows at once, we use cursor, but i don't want to use cursor as i feel its too tedious to do.
    Is there any other way , where i do process of multiple records at once without using cursor??
    Help me, Thank You.
    Oracle Forms Builder 6i.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    An Update statement certainly can update sets of data instead single row updates:
    UPDATE Statement
    if you can't do it in a single statement you can use bulk processing as well:
    PLSQL 101
    cheers

  • I have all my pictures in an external drive, how do i create a library in iphoto without using my internal drive space?

    i have all my pictures in an external drive (around 1tb), how do i create a library in iphoto without using my internal drive space? thanks!

    In iPhoto use the command "File > Switch to Library" and then click "Create New" in the Library Chooser panel.
    Select a folder on your external drive as the destination.
    You can also get to this panel by holding down the alt/options key when you launch iPhoto.

Maybe you are looking for