Any Function which can solve my problem.

Hi all
I am working on Character based report from which i use to take print on my check using dot matrix printer.
my query is
1) when i want to type my amount in words there may be chances of overlapping my amount in words with other field because may be the value is too large.
for e.g here in front of rupee that much character be fix other may go to other line.
PAY............................................................
RUPEES....................................................... RS.2206
i have tried
SELECT SUBSTR('Two Thousand Two Hundred Six only',1,25) FROM DUAL
SELECT SUBSTR('Two Thousand Two Hundred Six only',25,100) FROM DUAL
but some time the value get changed then like 3206
then
if we will use same in report
SELECT SUBSTR('Three Thousand Two Hundred Six only',1,25) FROM DUAL
SELECT SUBSTR('Three Thousand Two Hundred Six only',25,100) FROM DUAL
PAY............................................................
RUPEES.Three Thousand Two Hundre. RS.2206
ed Six only.
run time in report.it should not come like this.
is there any function or solution for this.

assuming your max length is 25, this sql will split the string at the last blank:
WITH t As (
    SELECT 'Three Thousand Two Hundreed Six only.' text FROM dual UNION
    SELECT 'Two Hundreed Six only.' FROM dual UNION
    SELECT 'Three Thousand Three Hundreed Three only.' FROM dual
SELECT
    SUBSTR(text, 1, INSTR(SUBSTR(text, 1, 25), ' ', -1) - 1) row1,
    SUBSTR(text, INSTR(SUBSTR(text, 1, 25), ' ', -1) + 1) row2
FROM t;
ROW1
ROW2
Three Thousand Three
Hundreed Three only.
Three Thousand Two
Hundreed Six only.
Two Hundreed Six
only.

Similar Messages

  • I guess the problem come from me or I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?

    I guess the problem come from me but I really need those contacts before he calls me for it. I'll try some method that I got from some responders on your support website. Do you have or can you recommand any software that can solve this problem?
    One more thing. I just update my iphone that my boss gave to me but it seems to be like it giving me some trouble. My iphone was updated not too long and was successful. I try to lock into it and it telling me emergency call. I plug it to my itune and it telling me that the sim card is not valid or supported. So I inserted my sim card that I usually use to call and it still saying the same. Please help me get into it.

    And as far as paying for phone support, here are a few tips:
    If you call your carrier first and then they route you to Apple, you usually don't have to pay for phone support.
    If you are talking to Apple and they ask you to pay a support fee, ask if you can get an exception this time.  That usually works once, but they keep track of the times you've been granted such an exception.
    If you still end up paying the support fee, that fee only applies if it's not a hardware related issue.  In other words, if it can be fixed by just talking over the phone and following Apple's instructions, then the fee applies.  But if your device is deemed to have a hardware failure that caused the issue, then the fee should not apply, and you can ask for it to be waived after the fact.
    This forum is free, and almost all of the technical support articles the Apple tech advisors use are available on this website.  Literally 99% of what they can do over the phone is just walking you through the publicly available support articles.  In other words, you're paying the fee to have them do your research for you.  It's like hiring a research consultant to go look stuff up in the public library so you don't have to.  You're capable of doing it; you'd just rather pay someone to do it for you.
    It's like Starbucks.  You know how to make coffee.  Everyone knows how to make coffee.  And Starbucks coffee isn't any better than what you could make at home for far less.  But you want the convenience.  So you're really paying a convenience fee.  Milk is more expensive at 7-Eleven than it is at the grocery store... because it's a convenience store.

  • Any body please can solve my problem that iam facing with JTable

    Dear sir,
    Iam doing an educational product using Swing as front end in that
    iam using JTables. And back end iam using sqlserver. With jtable iam
    facing very serious problem the problem is actually iam entering the values
    in all the columns after that iam pressing the save button its not
    saving but if i click on any of the columns and try to save its saving.
    please anybody can solve my problem.Please if a piece of code is there ill
    be very thankful to you. my mailid is [email protected]
    regards
    surya

    The problem is, the cellEditor does not know that editing has stopped and therefore has not updated the model (where the data actually resides). When you click off the cell to another cell, the first cell knows it must be done editing because you are leaving it. If you click a button (or anything other than another cell), the cell being edited has no knowledge of this. You need to call stopCellEditing() on the cell editor and your problem will be solved. To do this, put the following method into your code and call it when you click the button to clear, save or whatever you need to do.
    public void ceaseEditing() {    int row = this.getEditingRow();
      int col = this.getEditingColumn();
      if (row != -1 && col != -1)
        this.getCellEditor(row,col).stopCellEditing(); 
      }Hope this helped...

  • Any body please can solve my problem  iam getting the exception

    hi
    Any body can give me the solution to how to solve the problem. Actually iam working on swing and EJB when iam trying to import 100html pages and trying to save that part its giving this below error.
    Exception occurred during event dispatching:
    java.lang.OutOfMemoryError
    <<no stack trace available>>
    Please ill be waiting for the reply.
    regards,
    surya

    Hi,
    Run your application using ...
    java -Xmx300m MyApplication
    300m is for 300 meg of virtual memory.
    JRG

  • Is there any extension that can solve this problem

    please click on the bottom link to get a better idea of the
    problem:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12&catid=189&threadid =1386919&highlight_key=y&keyword1=nav%20bar%20trouble
    any help is appreciated

    Great post:
    Texas Holdem sitemap
    http://texasholdemz.com/sitemap1.htm
    Texas Holdem tips
    http://texasholdemz.com/sitemap2.htm
    Texas Holdem news
    http://texasholdemz.com/sitemap3.htm
    Play Texas Holdem poker
    http://texasholdemz.com/sitemap4.htm
    Great texas Holdem bonuses
    http://texasholdemz.com/sitemap5.htm
    Online poker.

  • I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem?

    I want to sync tasks in Outlook with my iPhone. I have tried Toodledo (not good) and Todo. Todo works, but it cuts off most of the text. I only get the beginning of my (long) lists. Any ideas how I can solve this problem? I starting to regret that I switched to iPhone...

    Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
    So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
    Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
    Memory can be tested with memory diagnostics programs like Memtest+
    Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
    If the motherboard has no response then do the basics first:
    Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.

  • My dvd player will not let me change regions, it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    My dvd player will not let me change regions, it says i have one more chance to change it, then it just quits when i do, now its stuck on region 1. Any thoughts how i can solve this problem or get round it in some way?

    Usually if you have some kind of hardware failure there is some beeping during POST or most motherboards now have LED indicators to produce and error message based on the type of failure
    So if its bad memory, not place properly, mismatched, processor not inserted properly, mismatched voltage or voltage connector not present etc it beeps or generates the error id.
    Power supplies can be tested for failure. There are some walk throughs for testing just them with a switch, paperclip or a jumper (I'd suggest not doing this if you are not familiar with the dangers of electricity).
    Memory can be tested with memory diagnostics programs like Memtest+
    Processors can overheat if the proper precautions have not been taken usually you will get a POST beep or error code for that.
    If the motherboard has no response then do the basics first:
    Check power connectors and power supply. Once you determine that is not the case move on to other items like graphics cards in all the way or memory.

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • Hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225

    hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225 error, but without success. thanks a lot and best regards

    BS heißt "Bull___****". *lol* "Betriebssystem" heißt imemr noch "operating system". GoLive wirste wohl gar nicht zum laufen kriegen. ohnehin würde man es nicht mehr verwenden, weil es noch nicht mal CSS2 voll unterstützt geschweige denn HTML 5 und andere moderne Webstandards. Wenn überhaupt, dann findeste vielleicht noch 'ne OEM CD von Strato oder 1und1 bei eBay. Die haben das damals mit jedem neuen Hostingvertrag rausgehauen. Aber wie gesagt, es ist den Aufwand nicht wert. Illustrator sollte sich durchaus installieren lassen. Eventuell einfach nochmal die Installer im Win XP Kompatibilitätsmodus laufen lassen...
    Mylenium

  • How I can solve this problem or manipulate it ports 80,443 are closed by ISP and they don't want to open it

    hi,
     I see that I have a particulier abonnee of my ISP , which has closed all the ports for security reason and they don't want to open  any of it 80,443 ect.
    suppose If I want to use Essential server 2012  how I can solve this problem , essential wants domain name whith A record.
    I asked DDNS service provider if I lease from them a domain name whith A record  would that help to open or manipulate the port 80,443  they said that I have to solve this problem myself . they lease only domain names with dynamic dns records.  
     so what can be a solution the ISP provider won't open this ports , how I can solve this problem .   domain name with ip adres is not helping so what it's go to help?
    thanks
    johan
    h.david

    The domain name in this instance is only used for remote access, and is seperate from the active directory domain name.
    If your ISP blocks port 80 and 443, and you dont intend to use remote access anyway, the wizard will likely not complete successfully whether you have a valid domain name or not.
    Robert Pearman SBS MVP
    itauthority.co.uk |
    Title(Required)
    Facebook |
    Twitter |
    Linked in |
    Google+

  • Help me please ,I dont can solve this problem

    please How I can solve this problem?(SQL)
    Display each employee’s last name, hire date, and salary review date, which is the first Monday after
    six months of service. Label the column REVIEW. Format the dates to appear similar to “Monday,
    the Thirty-First of July, 2000.”
    Flickr: abbasovv's Photostream

    Where you get this task?  I didn't understand anything, really! what do you want to do? what is the purpose? to get next 6 months function ADD_MONTHS, to get next monday, tuesday ... use function NEXT_DAY, to get number of week use function TO_CHAR.
    WITH T AS(
    select to_date('17-JUN-1987','dd-mon-yyyy') D from dual union all
    select to_date('21-SEP-1989','dd-mon-yyyy') from dual union all
    select to_date('13-JAN-1993','dd-mon-yyyy') from dual union all
    select to_date('03-JUN-1990','dd-mon-yyyy') from dual union all
    select to_date('21-MAY-1991','dd-mon-yyyy') from dual union all
    select to_date('07-FEB-1999','dd-mon-yyyy') from dual union all
    select to_date('16-NOV-1999','dd-mon-yyyy') from dual )
    SELECT D,
           ADD_MONTHS(D,6),
           NEXT_DAY(ADD_MONTHS(D,6),'MONDAY'),
           TO_CHAR(ADD_MONTHS(D,6),'W'),
           TO_CHAR(ADD_MONTHS(D,6),'fmDay, fmdd fmMonth fmyyyy')
    FROM T
    WHERE TO_CHAR(ADD_MONTHS(D,6),'W') = 1
    Ramin Hashimzade

  • Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?

    Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?
    I already provided my 3 digit CVV number but Itunes again need to confirm the code whereas on my Office Computer I am purchasing Apps on Itunes without verifying my billing information again and again except once at the time of creation of account.
    Please help me as I am charging by my Credit Card bank by US$ 1 each time when I give verification code.
    Thanks
    Talat Khatri

    Try the following steps,
    Sign into your computer and removal of credit card information. Here are the steps:
    1) Open iTunes and sign in to the iTunes Store.
    2) Select "View My Account" from the Store menu.
    3) Enter your password and click the View Account button.
    4) Click the Edit Payment Information button.
    5) Select "None" as the payment type.
    6) Click the Done button at the bottom of the page.
    Reset your account password from the following link:
    http://iforgot.apple.com
    Phase 3:
    Download a free content on to get recognized in iTunes.
    To ensure your account is functioning, try downloading a free item from the iTunes Store. To do this, navigate to the iTunes Store main page by clicking the Home icon near the upper-left corner of the window. Scroll down and click the "FREE ON iTunes" link near the bottom of the main page, then select an item to download.
    After you are able to download the free App try updating the billing information as usual.

  • I have a problem in my iphone 4 with wi-fi after update to IOS6 please can help my how can solve this problem?

    I have a problem in my iphone 4 with wi-fi after update to IOS6 please can help my how can solve this problem?

    Nope
    One needs to press the home and sleep / wake keys together for the phone to reset
    The other thing I could recommend
    Let the battery run out and the phone completely "die"
    It may take a day or two with it not being used
    Then plug it in to charge and see if there is any change in behavior
    If you cannot get this to work - you may need to bring it to an Apple store

  • HT1386 I recently bought a new laptop and installed itunes. I was trying to sychronize my ipad and iphone, but it seems that the itunes was unable to recognize the devices. Can you tell me how I can solve this problem?

    I recently bought a new laptop and installed itunes. I was trying to sychronize my ipad and iphone, but it seems that the itunes was unable to recognize the devices. Can you tell me how I can solve this problem?

    how new is the Notebook ?
    Also double check your firewalls and virus protection that they are not blocking any ports also make sure you are plugging in the fastest USB

  • Yosemite is very slow when i switch on. can someone say why and i can solve the problem??

    yosemite is very slow when i switch on. ten or more seconds. why? how i can solve this problem??
    Thanks riccardo.italy.

    The following items or conditions can slow a Mac. Please see if any of them apply:
    1) Are you running any anti-virus/internet security applications?
    2) Are you running any "cleaning/tune-up/optimizations" applications?
    3) Any peer-to-peer or torrent downloading software?
    4) Any third-party disk backup software that came bundled with an external hard drive?
    5) Any online backup scheme other than iCloud or DropBox (Carbonite; GoogleDrive; MS One Drive)?
    6) Did your financial institution ask you to install Trusteer EndPoint Protection (also known as Trusteer Rapport)?
    If you can answer "yes" to any of those questions, you have some unneeded and performance-robbing software installed.

Maybe you are looking for

  • Satellite A210-15Y - How to install Windows XP?

    I had Windows Vista and I upgrade it with Windows 7. Now I really want to install Windows XP. When I put Windows XP CD in after a while I get an blue screen whit an error . pls tell how to install Windows XP on my notebook and if I need some drivers

  • Help! can't locate site files

    This isn't a Dreamweaver question per se, and I feel a bit dumb even posting this question, but here goes: Some friends would like for me to update their web site as their former web master deserted them. I've been given login info and created a site

  • 12 volt charging plug

    I have an HP Laptop and would like to be able to plug it into a standard 12 volt DC outlet. I have checked several computer stores for this type of plug in device and no one has them. My sailboat has many 12 volt outlet receptacles connected to a lar

  • App Update History Somewhere?

    Is there some way to check and see, either on your phone or on itunes, which apps were udpated most recently? A number of apps had updates from the app store this morning and I did the "Update All" and now one of those updated apps is killing my batt

  • IQ DB Auditing

    Hi All, I did some readings  on IQ auditing  , I followed below steps : 1. SET OPTION PUBLIC.AUDITING = 'ON' 2. sa_enable_auditing_type('DDL') 3. dbtran -g mydb.log mydb.sql I am able to view the  Audit details in mydb.sql  But all the time I need to