Can I use an IF statement in a Source in the region
Hello, Im using Apex 3.x. I have a standard report page whose Source region is a simple select statement... SELECT xyz OF... WHEREI need to add an IF statement to this Source in the region, but when I do I get an error - query cannot be parsed in the generator.
IF: P2_FILTER = 'A' THEN
SELECT FROM ABC... WHERE
ELSIF: P2_FILTER = 'B' THEN
SELECT FROM ABC... WHERE
END IF;
The selected columns are the same in both scenarios. Is it possible to add an IF statement to the source of the region?
Thank you
you
You can either:
(1) create several springs in the area with a query and set a condition to show only based on your health status.
(2) a function returning the pl/sql and return the generic as columns:
if a then
return 'select 123 from dual'
else
return 'select 456 from dual'
end if;
Tags: Database
Similar Questions
-
Can be used dash in other countries except USA or the Canada?
Can be used dash in other countries except USA or the Canada?
What it the question...Laughing out loud
http://www.KB.Sony.com/selfservice/documentLink.do?externalId=C1017668
"The failure to authorize: missing Mode XAPI Service error message appears on the display of the dash personal Internet Viewer if the device detects that the network connection is from outside of the United States or the Canada."
At that time, the Dashboard Viewer is not taken in charge outside the Canada and the United States. »
-
I can't use Roboform with 4.0 beta 10, so I can't use Firefox. How to get back to the beta version 9?
I think that there is a little more for it, but here's a solution that seems to work. After the installation of Roboform 7.1.7, go to: http://www.roboform.com/platforms/browsers/firefox and scroll down to a table listing the three browsers identifying the XPI file to load if it was not loaded automatically. Click the http://www.roboform.com/dist/roboform-firefox-3-4-frozen.xpilink. Firefox will ask you if you want to allow this should be installed. Let him. Finish installation, restart Firefox 4.0b10, and you'll see a Roboform 7.1.7 toolbar works. I did it on two computers, and everything seems to work.
-
Qosmio G30: Can I use component video software plug-in to connect the Gamecube or PS2?
The Qosmio G30 has a VIDEO-IN bit for the red/white/yellow wires... So I wondered if this meant that I could connect my PS2/Gamecube/similar to television, playing games on my laptop, save me money when I move to College :)
Indeed, if I pretend that I'll put up a set - top box for the TELEVISION, the Gamecube appears under "Video Composite", I just can't save like a channel or anything at this point...
Someone help? Would be very grateful...
Thankee.Hello
The s-video-in port can be used to connect and to import data from the external device such as an analog video camera or VCR. Imported video can be edited or written on a DVD disc.
Video port can be used to connect the external device such as a game consoleI think you should also consult the user manual because you will find the full description on unique ports and use.
-
Can I use an Autorun CD in my mac but the remote desktop?
Remote Desktop for Mac and Autorun CD
Can I use an Autorun CD in my mac but the remote desktop?Here is my configuration:1 mac running Lion2. Windows Server 2003 r23 remote Desktop Connection for Mac 2.1.0Problem:I insert a CD in the mac. DRC has preference equal to all readers of Mac to be available on the Windows computer. The CD does not Autorun. If I open the CD and click on Autorun it does not work and try to open a new Notepad file.Hello
The question you have posted is related to professional level support. Please visit the link below to find a community that will support what ask you:
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/
I also suggest you to ask your question in Apple's Support forums.
Click on the link below.
https://discussions.Apple.com/community/Mac_os/mac_os_x_v10.7_lion
-
I had to redo my computer why can't use my product key when I installed windows, the first time
How to solve the error codes on Windows 7 0xC004C008 Activation of Volume
http://Windows.Microsoft.com/en-us/Windows7/Windows-7-activation-error-0xC004C008Have you tried to restart by phone?
How to activate Windows 7 manually (activate by phone)
1) click Start and in the search for box type: slui.exe 4
(2) press the ENTER"" key.
(3) select your "country" in the list.
(4) choose the option "activate phone".
(5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
(6) explain your problem clearly to the support person.
http://support.Microsoft.com/kb/950929/en-us -
I can't use PS & LR full version, so I uninstall the 'old' and install them again. But I just can't. How can I install them again in version complete?
Please check the help below document:
-
I need to disable my Creative Suite license on another computer in order to activate it on a new computer, but the old computer crashed and I can't use it. Is it possible to deactivate the license on the old computer without using it?
you are allowed two facilities, activations, you should may not disable before activating on your new computer.
But if you don't, contact adobe for hourly pst support by clicking here and, when available, click on "still need help," https://helpx.adobe.com/contact.html. Ask a county of activation reset.
-
How can I use Photoshop to remove scanned Brown adhesive around the edges of a digitized photo and keep the image showing through the band? Thank you very much.
Dear Melissa,
We thank you for your email about my problem with the Brown stick Ribbon at the bottom left of this photo. I attach the screenshot. As I said before, I need to remove the Brown adhesive while maintaining the image of the small low boat left and its mast covering the band. Is it possible to do this with Photoshop?
Kind regards
Robert Bellingford
-
Can I use "If", "else" statement in main.qml?
Hello
What statement I use within the main.qml?
is there documentation for things and the statement can be used within the mian.qml (e.g. 'if', 'for', 'while')
Hello
Engine QML use a JavaScript interpreter.
that statement is bug in Qt 4.8, so it is better to avoid it or explicit use of braces {} in the case branches. Other than that, it is simply JavaScript.
Syntax information QML is located on the Web site of the project-qt:
http://Qt-project.org/doc/Qt-4.8/qdeclarativeintroduction.html
I suggest you browse the other articles there as well.
-
How can you use a conditional statement inside a <; cfset >;
I want to write a line of code that basically says:
< cfset foo = 0 < cfif foo2 IS NOT "" > + #foo3 # < / cfif > > "."
I get an error. is this possible?
And if it is possible, can you add several conditions?
Thank you!
No, you can not do this. You cannot use CFML to built another CFML statement during execution. All the CFML must be compiled before execution, so as you can probably see how what you are trying to light cannot possibly work.
You must have the code to all present and correct at compile time, so it can be compiled, and then it can be run.
So, something like this:
Obviously this is just your example and your real need is different, but the important thing here is to understand the difference between compile time and runtime.
--
Adam
-
This company online system has been tested with IE. I met a little trouble trying to disconnect. When I log out, it takes me to the login screen, but I'm not disconnected and can not reconnect. I'll try using IE and see if the problem goes away. If so, can I use IE just for this company and use FF for everything else?
Yes, you can even use IE as you are using Firefox, if you wish.
-
Can I use a probe with my NI4461 to measure the 100vpp(permanent)?
Hello
I use a NI4461 card with 2 inputs and 2 outputs. I have a signal generator with a signal of 125 Hz 100vpp(permanent) I want to characterize using labview (FFT, amplitude, etc.).
The limits of entry on the NI4461 being +/-42 .4V, I was hoping to use a X 10 probe, which is similar to a scope.
However I find this works do not correctly in the mitigation of the probe doesn't seem to be a constant 10 x. Although my reach (with a second probe) reads 100vpp(permanent), my NI4461 detect 82Vpp.
Am I missing something? Are there alternatives to read > 42.4 v reports on the 4461 with a probe?
I checked and exchanged probes and they both work find on the scope, but not on the 4461. Is there a special probe that has a match of good impedance for the 4461 you can recommend?
Thank you
Thanks for the suggestion.
I actually build an out two very large resistance voltage divider which seems to work fine.
The circuit is simple, two resistors in series connected to the ground at the same time on my main unit. By attaching the son of sense of tension on a single resistance I can divide the voltage in two (two resistors have the same index). I calibrated the system and it seems to work.
Thank you for your suggestions.
-
I have a DELL and you want to reformat the PC of a friend. It has a valid license for VISTA Business. They have lost the CD. Can I use a version downloaded from the MSDN site and enable it with the KEY on the PC, which is legal, it is going to work?
Original title: reformat Dell
Contact MSDN: 800-759-5474
They should be able to answer your legal question and the key will work.
J W Stuart: http://www.pagestart.com
-
Can I use a CS5 license in two mac at the same time?
I install my CS5 in my macbook air and recently I buy a mac mini and I would use the CS5 too. Is it possible for me to install it in the mac mini?
Yes.
- You can install CS5 software on as many computers as you want.
- You can activate the software to be used on up to two computers (not 3 or more) at the same time.
- You can only use the software enabled on one computer at a time.
- You can toggle between computers using Photoshop for example your activation > Deactivate
Enable and disable Adobe products
Maybe you are looking for
-
When Apple announced 4 ATV, they were very proud of the screensavers air and, in my view, said that the new addition. I love them, but I don't remember one being added since the initial batch. I have defined automatic download, but wonder if it is po
-
X 300-11 of Qosmio - cannot start
I'd appreciate any help any startup issues that struck my X 300-11. The startup process appears as instance, but stops after the microsoft corporation loading bar. A clicking sound is heard within the computer and the charging light flashes in time w
-
Install Win7 (Pro) on a C6Z35UT 4540 ProBook S?
HI -. I recently bought a laptop from ProBook 4540 S C6Z35UT. I love the material. It came with 64-bit Windows 8. I've never tried Windows 8 before, but I really used Windows 7. After playing a bit with it, I decided that I really don't like Windows
-
Trying to get Microsoft support, I get a screen that asks you the product identification number. It offers two choices: type the number or leave Microsoft to find the number on my computer. I typed the number on the instructions, but I get a messag
-
I have a dv7 with a processor 4-core i7-3820QM Win 7 Home premium 64-bit. How can I disable hyperthreading? I could not find in the BIOS.