I think that the forms have a brain PET (dump)...
I use Forms 11g with WLS 10.3.4 on a Windows Server 2003 SP2 Server and I have little code I worked on a few months, I have a piece of this work and moved on the other piece on a totally different canvas and button and everything and did not touch the work piece since then, except to add an if statement and now suddenly the button does NOTHING if I get the negative side of the if statement. What I'm trying is upload and download features using webutil and I got the download work and be almost finished with the download and to use the download to put some more entries in the table so I could have more than 2 entries in the table until I tested my stuff to download and if I deliberately something that I know will throw an error, then it crosses the code exactly how it is supposed to, but if I do things the way they are supposed to do for work he thinks for a few seconds then does waits for nothing... no error... no success message no message... no entry in the database... nothing.Declare
Result_Upload BOOLEAN;
number of alert_button;
Begin
insert into JLIM. DOCS (FileName, file_size) values(:FILE_UPLOAD_BLOCK.file_upload_text,45);
Result_Upload: = Webutil_File_Transfer.Client_To_DB
(
: FILE_UPLOAD_BLOCK.file_upload_text,.
"JLIM. DOCS,
"DOC_IMAGE,"
' Filename =: FILE_UPLOAD_BLOCK.file_upload_text'
);
commit;
-If Result_Upload THEN
alert_button: = show_alert ('progress');
-OTHER
-alert_button: = show_alert ('upload_fail');
-END IF;
End;
Here is my code, I tried to comment the code to the if statement to see if somehow through a need in continuum space-time in some fucked up another dimension in another universe that long statement caused my code only works if it does not work and it works again as if I sabotage the upload by leaving blank the text box , in which case it updates a row in the table with no file name (obviously, since there is nothing in the text box to place in the table), an annual that is done by a sequence and trigger who are hard coded both in the table and the hard coded '45' that one day will be the size of the document in question.
Since it stopped working, I made a few changes that he's trying to see if I can make it work, I changed the where clause in the null webutil_file_transfer for ' filename =: file_upload_block.file_upload_text' I tried to comment on the if statement and I added "jlim." to "docs" in the webutil_file_transfer
A glance in the WEBUTIL_DB package showed that the when clause is passed as what; which means this:
'filename = :FILE_UPLOAD_BLOCK.file_upload_text'
did not do what you want, and should most likely be
'filename = '''||:FILE_UPLOAD_BLOCK.file_upload_text||''''
Take a look at your table. I bet that it contains a single record (with file name ': FILE_UPLOAD_BLOCK.file_upload_text') where the blob is actually containing the data you want to download.
see you soon
Tags: Oracle Development
Similar Questions
-
I have a frozen screen of Active recovery of white desk with a mouse. I think that the computer is frozen upward with a problem of recovery? Right?
How can I fix?
Hello- What were the changes made before the problem occurred?
You can try to restart the computer and check if it helps.
If above does not help, you can read the following steps to disable the active desktop on the computer and check:
a. to disable Active Desktop.b. right click on an area empty office, point to Active Desktop, and then click view as Web Page to clear the check box. -
Hi, I want to add a link back to a button in the muse. Any ideas? thinking that I'll have to add the following < a href = "javascript:history.back ()" > < /a > and return code in a text editor by hand after I exported the site in html format.
No need to code the hand something to do.
Create your button or link just as you would for any button or link.
Click on your button
In the hyperlinks tool simply add javascript:history.back()
Press enter
Fact...
-
Hi - my Mu was "buggy" and update not - so I threw the APP in the trash - but now CC won't allow me to re - install because he thinks that I already have the APP - advice?
restore your application from the Recycle Bin, and then uninstall correctly.
If this fails, CC Office lists the applications as "up to date" when it is not installed
-
Satellite A100-454: I think that the sound is low
I think that the general volume of the A100-454 is too low, any suggestions? Is this a driver problem or I have to config something?
Thank you.
Hello
This may not be a driver problem audio because if the sound see sound card device has been recognized, and the audio driver has been properly installed.
Vista is installed on this laptop?In the control panel in the sound options, you will find various sound controls.
You should check if all controls are set to the next levelIf everything is set max I guess that the sound has been set up. possible level.
In this case it is not things to do -
OfficeJet Pro 8615: Computer thinks that the printer is turned off
My computer does not see the printer as being on. I have the printer connected wireless, but the computer shows it as offline. When I run the troubleshooter, it tells me to turn on the printer (it's on). I can scan a document and sends it to the computer but I can not print from the computer to the printer. I think it's maybe a problem of Windows 10 but I'm not sure.
Any help would be appreciated.
I also ran a test network through the printer and everything this past. Don't know what to do from here.
I've updated but that does not solve the problem.
Finish by uninstalling the printer software and reload the drivers. This seems to have taken care of the issue. So far so good.
I think that the combination of the upate and reload the drivers solved.
-
In windows update, again and again, updates KB2533523 and KB2468871 could not be updated. I "think" I can have solved the problem, but how do I try to reinstall these, now that I think that the problem is resolved.
Do you Google? -Online http://tinyurl.com/3onrw2c
-
EliteBook 8740w thinks that the lid is closed, but it is open?
Hello
I have an EliteBook 8740w running Windows 7 64 bit and I have a strange problem where the laptop seems to think that the cover is closed when it is open.
If the cover is open, the screen is off the touchpad and keyboard, the two do not work and not the function of the buttons volume or wifi. When the screen is almost completely closed the screen turns back on, the keyboard and the mouse are beginning to work again, but it is not usable, because it is about 5 degrees, far from fully closed.
It seems that it is just reverse how it is supposed to work?
All this happened when I unplugged my power cord. The screen turned white and it has been in place since then. I tried several reboots, nothing seems to recover.
I can run on my external monitor very well, so the laptop seems to be otherwise functional
Thanks in advance for any ideas
Maybe you did not reset properly.
Remove the battery and adapter and all the things connected to the laptop.
Hold the power button down for 1 full minute and only plug the adapter back to (do not insert the battery) and start.
The next time you stop everything, install the battery.
-
I managed to uninstall my acrobat pro, but my adobe application manager seems to think that I still have it. I do not see how to download it from adobe and re install. Can anyone help? I spent many hours trying to get my creative cloud version to run after the license of first years has failed. It was a bit of a nightmare and sie Adobe is not easy to get help from.
I spent a few hours trying to untangle a redemption code. I dropped so uninstalled acrobat, because he is no longer works apparently. I managed to find out how to buy a new redemption code for creative cloud through the Institute where I exposed, but now I can't get a download for my acrobat, one that will work on my macbook pro 2010 running 10.6.8
Navigation in the adobe site was not easy and not very impressed in terms of achieving support for the problems and responses so far. Only no reply emails usually that means logging in time and time again.
LTA
Thanks to all of you who tried to help him. I thank can I have managed to sort it out. It seems that I can not have uninstalled initially, but I could not access the program and all my pdfs, opens in preview. I found another uninstall program that seems to have done the trick as my adobe application manager is now let me download.
I hope it will do the trick and my thanks to all who responded. Bravo guys. I hope that I won't make the same mistake next year ;-)
-
How to export to PPT PDF so that the forms created in Illustrator are editable
How to export a PDF to PPT so that the forms created in Illustrator can be changed, not just the text above them? I used the technique of Acrobat Pro XL described here (http://www.adobe.com/products/acrobat/pdf-to-powerpoint-pptx-converter.html), to export a chart, I had created in Illustrator and saved as an Adobe PDF file, but the forms are not editable and are blurred, too. Is there a way to export a complete Illustrator graphic to PowerPoint?
You can go directly from Illustrator to PPT, either by the Clipboard by recording (EMF or PS) important for PPT. He has no sense going through PDF to reach a PPT in a workflow. If you have an Illustrator drawing to PDF, you can also copy (or change) in Illustrator to work on it.
-
My iPhone is not charging I I think that the port of loading must be cleaned, do I go to an apple store and it cost something to them to clean?
They diagnose what's wrong with it.
If it requires no parts, he (should ' t) costs nothing. -
Quick question: I need to change the drive to a new drive letter, but XP will not let me because he thinks that the letter is in use, when it is not.
The question for a long time: I've updated two disks in my computer from 1 TB to 2 TB. They were e and K:. The KC: drive is used as a backup of data on E: drive.
I copied all the data on the old drive E: to the new, but when I put the new drive in place of the old, XP wouldn't let me assign the E: drive letter. It is ironic that several times, I see the warning that if you change a drive letter, some programs may not work - so of course that Microsoft is aware of this problem - however, it is annoying when you NEED to change a drive letter to OPERATE programs, but Windows won't let you. Sometimes, trying to protect users from doing stupid things prevents them from making things work...
Anyway, after some research, I discovered that if I put the drive E: OLD and "remove" the drive of her letter, then the letter E: becomes available again. It did not work, and my computer is now partially satisfied with his new E: drive. However, the same trick with the new drive K: does NOT work.
I removed the letter 'k': the old K: drive, but when I install a new one, it won't let me change it. It happens to be stuck at 'l': it's no use to me because backup programs are ready to use the K:\ path.
There is that no "K:" drive in my computer and I deleted the letter k: the old disk. How do I FORCE XP to designate the new drive K: so that my backup program can work again?
Thank you.
Did you try to start your computer in Mode without fail (repeatedly, key to tap the F8 as your computer starts) and then try to re-assignment of drive letters?
I think that some programs on your machine may be playing with your drive letters. Boot safe mode will allow Windows to operate with a minimum of processes that are running and you should be able to change drive letters in these conditions.HTH,
JW -
Vista Home Premium (with many problems), I wish to go back to XP PRO. Where can I find the drivers? I do not think that the original XP disc also contains the drivers!
Some computers come with a disk drivers or Drivers and Utilities . If yours does not, look for drivers on the web site of the manufacturer of the computer.
-
Hello, I would like to know what the ideal audio levels (gain/normalize) levels should be for my project. It will be broadcast on television. I think that the gain should be set to-12? But I'm not sure what should be the vertices. Thank you!
And look also at: Conform to broadcast standards, volume limits. Adobe Audition CC tutorials
-
I bought LR6 and it will not download because he thinks that the OS is XP. The OS is Windows 7 64 bit. This occurs after the serial number is entered. How can I download to recognize that the operating system is Windows 7?
use the compatibility mode and select win 7
Maybe you are looking for
-
When click on view all the downloads library does not list to find them?
The new Firefox when I click on "view all downloads, library window appears but not downloads only list bookmarks." How and where can I find them, because I used to for delete as appropriate.
-
Tecra A2 - what is the difference between the cooling modules Tecra A8?
Hello I have Tecra A2 and my fan is almost 'dead '. So I think to buy a new one. And here my question:"What are the differences between Fans (P000401740) A2 and A8 (P000463770) for example?" Because despite the construction of the "rotor" as well as
-
Ready NAS 102 settles after reinstalling OS
I recently had some problems loading of apps on my readyNAS 102 so I decided to do an OS reinstall. I followed the procedure and it seems that go to the stadium where the Raidar shows 'installation' and none goes ever further. I tried the default set
-
HP 6600 hpIs not connected to the server, AND I don't HAVE a SERVER
After the closure of my company, I got rid of my server. After 2 years, I try to use my printer HP Officejet 6600, but he wants to search for the server. I don't remember passwords, etc. I need to reconfigure the printer so it will print from my lapt
-
Windows 7 Installation Complete Installation reboot loop
I do a new install of windows 7 to this conputer, and I am booting from a usb key. I go through the installation and it happen to tgr completing step of installation, the computer restarts and hen restarts from the windows 7 installation screen once