With Reports 10G can you customize you message and stop formatting?

Oracle, states to come here for answer. they said, OTN should be able to help.
If any one knows how this can be done can you please help me out?
thanks,
We were told this was fixed with 10G so we upgraded to 10G. We have a
report and we want it to execute if it's less than 10 records if not we want a
message to come up that the report needs to be scheduled.
Well we run the report and it displays exceeded record count but the format
still runs so no time saved on the web.
If the record count was exceeded we want to HALT the system and not go any
farther.
Now if we could modify the system message 1825 we would be o.k. But we don't
know if that is going to work. If we could change the message we would be
o.k. with that. that would mean changing the system codes though.
### How is the Report being called (Command line, URL or via Oracle Forms): ###
If false comes back in the beginning then we don't want any report formatting
to be done. Right now the format is done it seems but no data is displayed
because criteria isn't met.
So we dont wnat the formatting to be run when criteria isn't met. But for
some
reason it still runs and takes time.
See we have some reports on the web that can only be ran by date range right
now the clients can only run the reports for a 6 months range.. Well some
clients have a lot smaller record count. So we want to change the way the
reports are ran to a records count. If the count is large than said amount
then a message comes up that states the report has to be scheduled. If the
amount is under said amount then the report runs.
So at this time in the report we do a count then we move onto will the report
run or not if over the amount we want to abort the process but we don't want
the client to see the abort. We definately don't want the client to sit and
wait for the format to run when NO Data is to be returned.
### Error messages and error scenario: ###
So what we want is too see a message "Schedule the report count exceeded" and
NO formatting done. If under amount we want the report to run.
### Provide a detailed step-by-step description of your problem or question: ###
Or is there a way to customize the messages the client / users will see. And
no formatting time for no records returned.
Contact me via : E-mail -> [email protected]
Text continued in next action...
20-SEP-04 18:39:53 GMT
Text continued from previous action...
20-SEP-04 19:18:51 GMT
New info : Is there a way if the error messages have to come up that we can
hide the message or have another screen cover that error message something to
cover the message so that the user doesn't see the error message.
20-SEP-04 19:30:23 GMT
Hi Darlene,
Thank you for using MetaLink. Iam currently working on a very critical issue.I shall review/research your issue at the earliest opportunity and w
ill update the SR / call you as soon as we have relevant information. Thank you
for your patience.
Best Regards,
Seema,
Oracle Support Services
STATUS
=======
@WIP -- Work In Progress
20-SEP-04 19:30:30 GMT
Email Update button has been pressed: Sending email to [email protected]
21-SEP-04 00:32:18 GMT
Hi Darlene!
If you are calling the report from a form, try using the EXIT_FORM line in your code.
Thanks and Regards,
Seema
21-SEP-04 00:33:01 GMT
Email Update button has been pressed: Sending email to [email protected]
21-SEP-04 14:09:20 GMT
New info : We will try it and let you know.
21-SEP-04 14:19:04 GMT
New info : We are not calling the report from a form so this won't work. Any
other way. We are needing to do this badly.
21-SEP-04 14:39:06 GMT
New info : Can I get detailed steps about how to customize the system message
or hide the message when we abort the report?
21-SEP-04 15:38:39 GMT
Hi Darlene!!
As talked to you on phone, here are the steps for you to try.
The below has been run as a test case using emp table in scott schema of a database
1) create a summary coloumn say cs_1 in the data model.
2) point the function to count.
3) Point the source to what ever's count you want it to be pointed to(say empno of emp table of
scott schema)
4) create a user parameter say NO_ROWS
5) in its property palette make its data type number and initial value as 1
6) I had teh following query for my report:
select empno, ename from emp
where rownum <= :no_rows
This means that the report that will be generated will consist of a total no of NO_ROWS(that we
shall be specifying at run time). The before report trigger(mentioned in 7 below) shall assure
that whenever we specify NO_ROWS greater than 5 then the report will display a customized pop up
message.
7) create a before report trigger as:
function BeforeReport return boolean is
user_excp EXCEPTION;
begin
if :cs_1 >5 then
raise user_excp;
return (false);
else
return true;
end if;
EXCEPTION
WHEN user_excp then
SRW.MESSAGE(30, 'Data is more please schedule this report:');
raise SRW.PROGRAM_ABORT;
return (false);
end;
This way when u run a report, an argument is asked whether how many rows do you want to be
displayed as in the parameter NO_ROWS. then you specify the number. If that number is greater
than 5(in this case, due to if :cs_1 > 5 then....) then it will pop up a message saying "Data is
more please schedule this report:"
In case you do not want to specify NO_ROWS..then you need not put that and modify the report
query as "select empno, empname from emp;" i.e. without where clause.
21-SEP-04 16:49:30 GMT
New info : we will try this then update the TAR.
21-SEP-04 16:58:09 GMT
ok you update the tar when you try the above steps.
STATUS:
@CUS
23-SEP-04 02:16:00 GMT
New info : Information from the person that did this suggestion step by step.
I tried this step by step, but unfortunately, it doesn't work the way we want.
First with this suggestion, the user needs to choose how many records they
want
to get, or we default a number of records, in order to run the report. The most
important thing is, whenever you specify the statement return false or raise
SRW.PROGRAM_ABORT in the before report trigger, the system message will pop up.
I really hope that people from Oracle would let us know how to customize the
system message or hide it.
23-SEP-04 14:23:04 GMT
New info : I just thought that we have some sort of message, which I guess is
from the database, when we do claim search on client inquiry. I am just
wondering if we could try the same thing to the report.
The some sort of message looks like this on dev box:
Your search exceeded 5000 records and will surpass the capabilities of this
connection. Please narrow the search criteria and resubmit.
It's just a thought, not sure if it's going to work.
When could we have the DBA Make this change. The servlet.properties???
23-SEP-04 17:30:55 GMT
REQUESTED INFORMATION PROVIDED
===============================
Hi Darlene,
Thank you for providing the requested information. I am currently reviewing/resea
rching the situation and will update the TAR / call you as soon as I have additi
onal information. Thank you for your patience.
Best regards,
Ajit
STATUS
=======
@WIP -- Work In Progress
23-SEP-04 18:04:31 GMT
UPDATE
=======
Hi Darlene,
We cannot modify the system messages nor do I think there is a method to hide the system message. The message that was coming is
due to the raise srw.program_abort command, which is the element through which
we can abort the program.
Thanks
Best Regards
Ajit
@CUS
23-SEP-04 18:29:26 GMT
New info : Can you please look into a way that we can get something to work?
23-SEP-04 18:49:28 GMT
Hi Darlene,
I am sorry to say that but I don't think there is any any workaround to this because the system message is what is generated by the oracle reports i
nternally. Still if you wish you may refer to the otn discussion forum which is
maintained by teh product management group and post a new thread on it. the link
to the forum is Reports
Also since nothing can be done on our side I don't see any reason to keep this TAR open an
d if you wish we can soft close this.
Thanks
Regards
Ajit.
New info : Shouldn't there always be a way to do something? I don't understand
why we were told in 10G that this could be done and now we are told it can't.

K T wrote:
Yep - not nice...unless you do a TE 'Get Info' in the Finder and √ the 'Open in 32-bit mode' box and try again...then, all seems well in snow leopard land.
Really? I figure since I have a Core Duo chip, everything always opens in 32-bit mode. In any case, I did file a bug report and will give your suggestion a try later today.

Similar Messages

  • HT5129 I keep getting the message MobileMe has been discontinued - iPhoto willmove albums you have published to MobileMe Gallery. . .  but I have not knowingly published any photos to MobileMe.  How can I get this message to stop.  It's getting annoying.

    I keep getting the message MobileMe has been discontinued - iPhoto willmove albums you have published to MobileMe Gallery. . .  but I have not knowingly published any photos to MobileMe.  How can I get this message to stop.  It's getting annoying.
    Also, how can I remove duplicate photos in an album without doing it manually?
    Thanks!

    When the prompt pops up next time you start iPhoto select Learn more. Then click on iPhoto preferences and select the Accounts tab. Delete your MM account and the quit iPhoto. Next time you open iPhoto the problem should be eliminated.

  • My brother gave me his iphone and i activated it with my phone number but i can not receive any message and i notice that  on iMessage stills appears his phone number, what do i have to do?

    my brother gave me his iphone and i activated it with my phone number but i can not receive any message and i notice that  on iMessage stills appears his phone number, what do i have to do?

    Launch iTunes on your computer, plug the phone in & on the "Summary Pane", select "Restore". This will restore the phone to factory settings with all of your son's stuff gone. You can now use it as an iPod touch. To do this REQUIRES the deactivated sim card be still installed in the phone.

  • How do you remove telstra messages and go back to visual messages on iphone

    How do you remove telstra messages and go back to visual messages on iphone

    Should be pretty easy as follows:
    1 - Make sure you have copies of any pictures you want that are inside Aperture somewhere on your computer.
    2 - Quit Aperture > Remove any Aperture icon from dock > drag the Aperture program (lens icon) from Applications folder to the Trash > proceed through any warning dialog (including entering password as required) to complete the process.
    Note - new security features in OS X Lion may present those warning dialogs to prevent accidental deletion of Apple programs.
    3 - Hold down the 'Option' key and use the 'Go' menu in menu bar and select the 'Library' option.
    4 - In the Library folder, open the 'Application Support' folder and delete any Aperture folder found.
    5 - While still in the Library folder, open the 'Preferences' folder and delete both the 'com.apple.Aperture.plist' and 'com.apple.Aperture.plist.lockfile' file.
    6 - While still in the Library folder, open the 'Caches' folder and delete the 'com.apple.Aperture' folder.
    7 - Go the your 'Pictures' folder and drag the 'Aperture Library' (may be named Aperture Trial Library or similar) to the Trash to delete it as well.
    8 - Empty the Finder Trash to remove Aperture.
    Note - there are some files and Aperture folders in the '/Library' folder (which is in the root of your system drive), but you don't really need to remove those. Since you are a beginner, it is probably better not to for now.
    That should do it.
    Additional edit: There are two Library folders I am referring to. The first is the one in your user account 'Home' folder which is the one you are going to by using the 'Go' menu. This is the one you are deleting files from in the steps listed. The second Library folder is the one in the root of your system drive and is not typically a location for beginners to work with (thus the final note above). Hope that is clear enough.
    Message was edited by: CorkyO2 to add clarity concerning the 'Library' folder.

  • I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    I have 2 games Words with Friends and Cityville that receives a Pop-up message form iTunes...  "Connect to iTunes to use Push Notifications" and will not allow me to exit out of the app or play.  How can I get this message to STOP?

    Yes - I connected my phone to my computer / Itunes and went into the apps section, but from there I have no idea how to manage the push notifications.  I even tryied going into itunes that is installed on my phone.  I still cannot find anyplace to manage these popups.  I have also gone into settings - notifiations - and tried turning all notifications for these apps all off but that didnt work either.  Any guidance is MUCH appreciated - Im not sure where to go from here.

  • Server can't be found messages and real slow page loads or failing to load

    I'm getting "server can't be found" messages and pages not loading happening alot lately. I thought it was the latest Firefox I had (1.5.0.2) but it's happening with Safari 2.0.3 as well. I thought it might also be my ISP since the cable modem line that comes in from the street now gets taped for my landlady's house for internet access as well as her tv service. I have had internet using this connection for about 3 years now and she has had tv service since before I moved in but only lately did she start to get internet access as well. I thought perhaps they screwed up something when they connected her to the internet as well. I live in a separate house a little back from the road than she does. (I haven't checked but I would assume there is only one cable feed coming to her house. Mine got split off of hers and then is buried underground til it reaches my house. I want to look at the connections on her house and tighten anything that is loose too.) These slowdowns/can't connects happen when she is not home so we can rule out her using the line causing trouble.
    With all these clues, what do you think it can be? I'm visiting sites I've always visited, not new ones. I let autocomplete pick the URL so the URLs are all from my current bookmarks and are places I go all the time.
    Pages tend to either load right away or they take forever. I'll get some progress on the location bar (with Safari) or the progress bar with Firefox and then after a LONG wait (a minute or so), it will say it can't connect. If this was a car it'd be driving VERY haltingly. Refreshing either does nothing or loads the page instantly.
    What do you think it is? the normal ups and downs of the internet or something wrong with a) my machine/OS or b) my internet connection. One change I've made lately are to use and then reset to default, Tiger Cache Cleaner's Optimize Tune for Broadband (and cache cleaner to troubleshoot a Yahoo IM problem which was solved by deleting all Yahoo IM related files and reinstaling the IM).
    Many thanks.
    John L

    I looked at this thread: http://discussions.apple.com/thread.jspa?threadID=453191&tstart=0 and it suggested I stop Safari from caching. I didn't see any way to do that without using something like what someone suggested elsewhere: Safari Enhancer (3.3). I set Safari Enhancer to Deactivate Cache. I also tried accepting All cookies; I'd had it set to only 'accept only from sites I navigate to'.
    What do you know. My browsing is mostly fantastic! I've never seen a browser act so fast on a Mac. Over the years (since 1997 or so) I've used Netscape, IE, Firefox, Mozilla, iCab, Opera, and others but all were always sluggish (w/ OS 7, 9 and X on a 500 mhz Powerbook Firewire and this machine.). Now, pages mostly load - boom; I don't watch them load as I always did before. I still do get some that hang while the one remaining item out of the total loads but overall it is much better. No 'server can't be found messages' since doing this.
    I am not certain that accepting All cookies has anything to do with this but I am pretty happy with turning the cache off. (I have a cable modem.)
    Maybe this will help others?
    I'll keep posting if anything changes. I do look forward to going back to Firefox, assuming turning the cache off will be the cure there too, since it has the features I like but at least it is encouraging the Safari can be so fast. (And so far has better bookmark management than Firefox's which are horrendous.)
    Cheers,
    John L

  • My Gf has my iphone. How can I see recent messages and calls from another device?

    My Gf has my iphone. How can I see recent messages and calls from another device?

    Depending on your carrier, you may be able to see recent calls by logging into your account on the carrier's web site, if they offer such a feature, though incoming calls being shown is not usual. There will, as diesel said, be no way to see messages already received, either SMS/MMS or iMessages, without having the phone.
    Regards.

  • Outlook closes and will not download a particular message.How can i get that message to stop coming to my inbox?

    outlook closes and will not download a particular message.How can i get that message to stop coming to my inbox?

    Hi,
    May I ask your intention by doing this? Is the particular message harmful to your computer?
    Which type of email account are you using? If you want to prevent a particular message from being downloaded to Outlook, we can login to the web interface of your email account and then remove the particular email from your Inbox.
    If I've misunderstood something, please feel free to let me know.
    Regards,
    Steve Fan
    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.

  • I can't access my Messages and Safari.  How do I correct it?

    For some unknown reason, I can no longer access "Messages, and Safari."  The only thing that I remember doing differently is activating "Genius" to find apps for me.  But I don't know how to turn it off because I don't know how I got to it.  What can I do to fix these things?  Are they correlated?  I've ruled out the network problems.

    Eureka!  I've found it!  All I needed to do was to turn off and on again by holding down the On/Off button at the top until the red slider appeared.  I then turned it off and after several seconds, turned it on again by holding down the On/Off button until the apple logo appeared.  "You know what?  I'm happy."

  • HT201269 My Iphone 4 is water damaged and won't work at all so I've bought a new Iphone 5c - can I get my messages and whats app chats from my old to my new phone - they have different sized sims?

    My Iphone 4 is water damaged and won't work at all so I've bought a new Iphone 5c - can I get my messages and whats app chats from my old to my new phone - they have different sized sims?

    There is nothing saved on the SIm card in an iphone.  If you have a backup of the old phone restore that to the new phone

  • Elements 9 - How can I customize the look and color of the organizer and edit screens?

    Re: Elements 9 -
    How can I customize the look and color of the organizer and edit screens?
    I recall doing it initially but can't find any place to redo it.

    Unless you did it in pse7 or pse 8, then you really can't change the interface colors in pse 9 or pse 10.
    The only color you can easily change in the interface of the editor is the padding color around the document by right clicking outside the document bounds.

  • I have win7, outlook 2007 tried to sync with icloud but i get an error message and the calendar is blank.  Thanks apple? Any suggestions from the community?

    I have win7, outlook 2007 tried to sync with icloud but I get an error message and my calendar is blank.  I do not see my outlook calendar, on the left pane under all calandar I see my me account checked and all others are unchecked. I looked at icloud and all the data is in and the iphones syncl with ipad but something is not right with my PC Outlook.   I cannot get back to the good old mobileme. Thanks APPLE? Any suggestions from the community?

    This issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • How can I customize af:query and af:queryCriteria

    Dear all,
    I have a question,How can I customize <af:query> and <af:queryCriteria/>, for example change "search" button label to "find" ,
    Best regards,

    These changes must be made within the application skin.
    --RiC                                                                                                                                                                                               

  • How to set up the iPhone 5 so that I can receive iMessage (incoming messages) and send text messages (outgoing) every time?

    How do I set up the iPhone 5 so that I can receive iMessage (incoming messages) and send text messages (outgoing) every time? I have limited internet quota but unlimited sms!

    Thanks!!
    The reason I don't want to set it off is because I want to let others send me iMessage - most people prefer that according to their plan.
    How do I bring this request to the hands of the people doing the ios updates? Maybe they could work on this for the future...

  • Re: Elements 9 - How can I customize the look and color of the organizer and edit screens?

    Re: Elements 9 -
    How can I customize the look and color of the organizer and edit screens?
    I recall doing it initially but can't find any place to redo it.

    Rorbie I would recommend posting your inquiry to the Photoshop Elements forum.

Maybe you are looking for

  • New Apple TV = No Hard Drive = Bumming!

    I am really thrilled by the lower price, and size profile. It looks awesome. I also love the fact that it will stream from Netflix without needing a Wii or Play Station or other peripheral. However, there are a few things I question. I am bumming tha

  • How do you determine how much ram is on your iPad?

    I can't seem to find anything that shows how much ram my iPad has. Also, similar to releasing or clearing cookies on my desktop, does the iPad also have this as something that needs to be cleared out occasionally?

  • Apartment number not listed in Verizon Database

    Hi, my apartment number is not listed in Verizon's database. Somehow, Verizon can provide Internet services to everyone else in my apartment building except mine because mine is not listed. My address is {edited for privacy}. Can you please help? - J

  • My iMac Keeps Restarting and The Next Step Is Throwing It Through A Window

    Hey I have had an iMac since December (not sure how many inch it is but was the bigest one they did in December 2008), I went out and when I came back in my iMac was trying to restart after what I think was a Firefox update, it now loads up alright a

  • Flex and the browser

    when I run a flex application, my favorites side bar disappears. When I go into my browser and turn on the favorites panel, it then covers my web page. Anyone know how to fix this? Sincerely Sammy.