System does not allow to attach the document of more than 300 KB of data.

Dear Sir.

I have the attached document form option. But I want that the system does not allow to attach the document of more than 300 KB of data.


How can I do that.




Thank you

Hello

Body of validation function, something like

DECLARE
  l_size NUMBER;
BEGIN

  BEGIN
    SELECT dbms_lob.getlength(BLOB_CONTENT)as file_size
    INTO  l_size
    FROM wwv_flow_files
    WHERE NAME = :Px_FILE_BROWSER
    ;
  EXCEPTION WHEN NO_DATA_FOUND THEN
    l_size := 0;
  END;

  l_size := ROUND(NVL(l_size,0) / 1024);

  IF l_size > 300 THEN
    DELETE FROM wwv_flow_files
    WHERE NAME = :Px_FILE_BROWSER
    ;
    RETURN FALSE;
  END IF;

  RETURN TRUE;

END;

I hope I'm doing things. Change Px_FILE_BROWSER to your name of the file browser item

Kind regards
Jari

Published by: jarola May 19, 2011 07:34

Published by: jarola May 19, 2011 08:07

Had code he made a few mistakes. I fix those.

Tags: Database

Similar Questions

  • I document for which the security of the document does not allow me to assemble documents, copy of content, page extraction, form filling, signature & creating the model. Buy adobe acrobat won't solve all?

    I document for which the security of the document does not allow me to assemble documents, copy of content, page extraction, form filling, signature & creating the model. Buy adobe acrobat won't solve all?

    The result is that Adobe does not provide any software to defeat the security of a PDF file. If the creator of the PDF file set to this level of security, intentionally or not, that's what it is! The solution to your problem is to go to the creator of the document and ask the password or an unprotected PDF file version.

    -Dov

  • my system does not allow me to type in my password

    my system does not allow me to type in my password

    Could you give a bit more information?
    The keyboard does not work? Or it simply not work when you try to enter a password somewhere

  • Cannot install Office97pro after system recovery using windows XP. System does not seem to recognize the drive.

    After system recovery cannot reinstall dvd office97pro. It seems that windows XP does not recognize the program on the disk.  Tested the dvd on my computer laptop windows 7, charges fine. Help!

    Hi Fred Chandler,.

    1. What happens when you insert the DVD in the drive?
    2. You receive an error message?
    3. You are able to use the other DVDs on the computer?
    4. Do you have any third-party DVD burning software installed on the computer?

    If you are facing a similar problem with all DVDs on the computer, refer to the article below and then try the steps mentioned, check if it helps.

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/314060

    If you face this problem with the Office 97 DVD then I would suggest that you post your request in the forums of Microsoft Office.

    http://answers.Microsoft.com/en-us/Office/Forum

  • laptop screen does not light and the system does not start most of the time.

    my hp g62 lptop started not starting and the monitor not turns sometimess even if it lights. with the time he had this problem more frequently. now it does not start and the monitor turns at all.  It will fuel yet but it's going to be okay. Ive tried a recovery disk, but it does not start the machine or be the monitor lights. im a beginner so any help will be appreciated.

    Hello

    This may be a trial outcome disply to connect an external monitor to your laptop and see if you get display it.

    You can connect to an external monitor via VGA or HDMI connection.  The usual process to transfer the video output to an external source is to press and hold the fn key and press f4.  Use the arrow keys to select "Projector" only and press ENTER.

    http://support.HP.com/us-en/document/c02013758

    and I also found some links that may help you

    http://support.HP.com/us-en/document/c01884928

    http://support.HP.com/us-en/document/c01443371

  • Parts of model does not allow most of the changes

    Hi all

    I have a strange situation where I have a template, which seems to be configured correctly, but does not display styles (IE - displays the page as if there is no style) and not whether me stick to the content in the editable regions, or apply styles, insert images, etc. - He simply refuses.

    When I do it in the code - amount of the fine, in the design pane - basically just typing hand is allowed.

    Other pages (not based on templates) and other models - are very good.

    No idea what it could be?

    Thank you!

    Thank you - I finally worked it out - I have an include file after the tag instead of seizure.

    Who would have thought

    Thank you!

  • basejpi.htm does not allow to load the form on some machines

    Dear gurus... when I add the following parameters in my part of the configuration of the formsweb.cfg, my form does not load in the browser and it gives also no error. Values as given:

    baseHTML = basejpi.htm
    baseHTMLjinitiator = basejpi.htm
    baseHTMLjpi = basejpi.htm

    I copied this portion of a place to configure webutil although webutil also works without these values. Can someone tell me what what is the purpose of thise settings and why these values block form? This behavior is not the same on all machines. I think that his happens on systems with different bridge than these machines on which form is running.

    Hello

    All three parameters are different htm file names as values. The content of all htm files three are different.

    So, to change as follows.

    baseHTML = base.htm
    baseHTMLjinitiator = basejini.htm
    baseHTMLjpi = basejpi.htm

    Arun-

  • GMAIL does not allow typing into the text box

    This seems to have occurred shortly after the upgrade to 22 FF... but I don't think it's directly related to the upgrade

    Everyone knows a problem using the interface of GMAIL and Firefox 22 when you try to type a new e-mail... send or answer?

    When I try to answer / transfer... or create a new email... the box opens... and if answer or forward... I get the ellipses (...) and when you click them... I can even see the message... but when I try to type in the message box. I have nothing happening... the RET works... but it's like the rest of the keyboard is disabled

    I tried

    (1) reload the page

    (2) logging out and in GMAIL

    (3) clear cache and cookies

    (4) close and restart 22 FF

    (5) demotion at FF 21

    (6) I have tried other browsers

    Using IE - managed
    Using Chrome - managed
    Using Safari - managed
    Using Opera - managed

    < < None allow me to type in GMAIL > >

    I noticed one thing... When Gmail loads... It crashes (more than usual) and then a bar FF popup comes up with the message

    "Gmail has already been added as an application for mailto links."

    I searched on this... and it seems to be related to setting FF to use Gmail as a customer MAILTO... I use Thuderbird... so I did not want to use Gmail as my client MAILTO...

    Someone at - it silt had this problem?

    I am reluctant to reset to the factory settings, as I did a few changes looking for work... and are not to lose

    Ideato - will take a look at the bug and article... tomorrow when I use the profile again... Thank you

    Qpixzy - 64 bit Windows Pro... Every night?... like in Firefox Nightly Builds?

  • Recently no matter what I do, Firefox does not allow me to use Adobe Reader rather than his own

    I used to be able to display pdf documents using Adobe Reader instead of Firefox built in. I tried everything that you suggest and what Adobe suggest. I uninstalled and reinstalled Firefox. I uninstalled and reinstalled Adobe Reader (11.0.09). I went to the options of Mozilla, but when I try to change the settings of Document Portable, I don't get the option "Use Adobe Acrobat (in Firefox)". I get the Adobe forms but not for PDF documents. If I change to use Adobe Reader, it downloads and then open drive which is not I want. I want to use the plugin installed (I go to modules and it is installed and "always enable").

    Help? This only started happening in the last month or two. I use the latest version of Firefox (33.0.2), Windows 7 (updated with all the updates, etc.).

    I did a Reset Firefox. Then reactivated the plugins. Now he works with the Adobe Acrobat plugin, even if Firefox think (at least according to the Options-> Applications) that he uses the Foxit plugin. It does not give me the option to select the Macromedia software. But which loads when I access a PDF file!

    As long as there is the work, I don't care on this issue.

    Before that I started posting here, I already tried to uninstall and reinstall Firefox, uninstall and reinstall Adobe Reader, by removing the file pluginreg.dat, etc. and everything that I could find on the Mozilla site, the Adobe site and the rest of the web.

    Thank you for all your help.

  • System does not boot: failure of the video card or viruses? I do not know...

    Here's the deal: on a computer running Windows XP Pro SP3. Athlon, dual-core processor (2.4 gHz); 4 GB of memory; NVidia GeForce 7300 video card; and a Western Digital SATA, I met a failure while watching a DVD (using Media Player 11) and now I can't start.

    I have been having problems for a few days with my Dell flat screen monitor "energy saving" mode because it has detected no signal. After playing with this and obliging to recognize a digital signal rather than the automatic detection, all seemed well.

    During the film, the picture froze, the sound became a loud, grating buzz and shut down the system.  It has restarted as usual, but then would not start the rest of the way, stopping at the Windows XP screen.  The progress bar froze and spinning to stop the drive.

    However... on occasion, for example when the system remained some time, I can sometimes start in safe mode (but still, it hangs when starting "mup.sys") or he will move to the XP logon screen and freeze it.  I replaced the mouse and keyboard (whiched USB connections) used with their equivalents of PS/2, but nothing has changed.

    When I try to start, I hear all the clicks Associates, snoring and whatever else as if the startup continues normally.  However, when it stops, I can't "see" it on my network.

    I have a hunch that it is a damaged video card because also the failure during the film and previous issues of monitor, when I hit the map to try to reinstall, he felt much warmer that it should have, but a video card failure would prevent initialize to top?

    Any ideas?  I'm all that.

    It does for me, but of course as I said in my previous notice of Disclaimer: I want to emphasize that you should not take what I wrote as a definitive diagnosis. I can't see or test your computer from here. I give you my opinion on your computer based on my experience as a computer tech and what you have written. MS - MVP - Elephant Boy computers - don't panic!

    I understand that.  I was looking for another opinion by giving an update.

    However, it certainly seems that the jury went.  It freezes even trying to boot in the BIOS setup.  Thanks for the directions.

  • Mail is active and does not allow me to the closure or the journal of the computer unless I log on Messaging. I was not able to do.

    Air Mac OS El Capitan memory of 4 GB, 256 GB of storage, 1.6 GHz Intel Core i5

    When I try to disconnect from one account to another, or when I try to stop, I get a message "Mail" interrupted logout. To continue a disconnect, quit "Mail". I was not able to do. I went into system preferences; iCloud; uncontrolled mail but Mail remains active. I can't find another way to stop mail. Mail "quit" is grayed out.

    Force an application to close on your Mac - Apple Support

  • System does not boot after changing the appearance settings

    I installed XP Home successfully, but the resolution of the screen to be changed. When I followed the instructions of troubleshooting, I was unable to get to the drivers. I changed the settings on the advanced screen prompt to auto, and now after the Windows XP logo load and it I hear the hard drive running, the next screen is completely white/black. Help!

    Is this the same solution for: in the advanced options of monitor, I selected "do not use this device"?  I tried to update the driver for the monitor and reach for straws when the button 'update driver' has been 'grayed out' (not available).  I have a new HP 2009 flat screen and have just installed XP on a new hard drive.  Monitor worked, although some resolution.  The type of monitor has been defined as "default monitor" and driver is VgaSave.  Thank you!

  • Why Adobe flies from our customers, me in Colombia, does not allow to cancel the monthly renewal membership?

    Where is the option to cancel?  When I bought the plan was very easy. Cancel becomes a living HELL.

    It's not a lie.  You should not judge your attempts to get help in this way.  You must contact the Support from Adobe to cancel.  He was probably not a phone number for your region but cat will work.  Try following my instructions for cat.

  • How can I insert a Wordpress page in my site of Muse?  I need a client to be able to change links on specific pages.  Inbrowser does not allow client to the ad links.

    I need to be able to give my client access to a few pages with links.  These links change often and they want to make the changes.  What is the best solution if you can insert a Wordpress page in Muse?

    Hi Vickichic,

    It is not possible to insert a wordpress page in Muse. You can refer to this post for a similar description: Re: How can I integrate Wordpress into my Muse site?

    Kind regards

    Aish

  • filmmaker does not allow "add to the timeline.

    Hello everyone
    I have vista 32 bit and moviemaker 6.0
    I installed a plugin called ShaderTFX
    After a fact that I tried to add a transition to a video on the timeline
    but each transition I click on the option. Add to the timeline. is off
    I uninstall the plugin ShaderTFX but I still have this problem
    and I need your help please.
    Thanks for all the assistants.

    Here is the screenshot of my problem

    http://www.siz.co.il/my/djzknmlymyvu.jpg

    Try the following:

    1. on the view menu, click Calendar.
    2. in the Collections pane, click the collection that contains the image that you want to add, and then click the clip you want to trim in the content pane.
    3. in the Clip menu, click Add to the timeline.
    4. on the timeline, select the item you want to cut.
    5. on the timeline, click the playback indicator and drag it to the point where you want to split the clip.
    -or-
    Use the playback controls to monitor up to the point where you want to split the clip.
    6. when the playback indicator is at the location where you want the selected video or audio clip to play again, in the Clip menu, click Start Trim point.
    7. when the playback indicator is at the location where you want the selected video or audio clip to stop playing, on the Clip menu, click set trim end.

Maybe you are looking for