If ... else.... help!
I have a field that if it is empty, needs to be filled, but if it has data, I need that data to be left as is...
I know how to write the if and have it fill in the info I need, however, what do I put for the else?
So far I have
var iVar=0;
if ((ECR_Nmr.rawValue==null){
xfa.sourceSet.ECP_ECR.last()
iVar=1
else
***and this is where I get lost... if it is already filled in, I need it to leave whatever is here alone***
Thanks! Jenn D.
so if it is already filled and you want to do nothig then do not have an else section.
Similar Messages
-
Can somebody help me with a query.
select name, isdefault, display_value from v$parameter
where name in ( 'memory_target' , 'sga_target', 'statistics_level') order by name;
If memory_target is set non-zero, print AMM Else if sga_target is set non-zero
and statistics_level is TYPICAL or ALL, print ASMM.
Thanks to all who answerHi,
One way is to pivot the data, like this:
WITH relevant_data AS
SELECT name
, display_value
FROM v$parameter
WHERE name IN ( 'memory_target'
, 'sga_target'
, 'statistics_level'
SELECT CASE
WHEN memory_target != '0'
THEN 'AMM'
WHEN sga_target != '0'
AND statistics_level IN ('ALL', 'TYPICAL')
THEN 'ASMM'
END AS amm_or_asmm
FROM relevant_data
PIVOT ( MIN (display_value)
FOR name IN ( 'memory_target' AS memory_target
, 'sga_target' AS sga_target
, 'statistics_level' AS statistics_level -
Action script (if/else) HELP
hello
I have this code in my time line
[quote]:
var som:Sound;
som = new Sound();
som.loadSound("musica.mp3");
som.start(0,9999);
som.setVolume(20);
_root.btsom_mc.onRelease = function(){
var identifica:Number = 0;
if(identifica == 0){
som.stop();
identifica = 1;
}else{
som.start(0, 9999);
identifica = 0;
[/quote]
when i click the button it loads the sound above the one is
playing.. it does not see that the sound is allready playing..
can someone help me???
thanksHi again!
1. var identifica:Number = 0; has to be outside function
2. check that you have spelled identifica correctly
everywhere in your version of the code as this is the only possible
thing that would make the exact results you are having happen.
3. Try this code - instead of a number, booleans are more
effective: -
I have recently gotten a MacBook Pro (through my highschool so it is monitored by them) and ever since I brought it home it's been having wifi connection problems. It says the wifi is working fine, it shows full bars, but when I try to connect to the Internet it acts like there is only one bar or no bars. Although every one and a while I can get a great connection but it lasts for about 10 minutes. This I do not get because the wifi works perfectly fine for everyone else in the house and for our phones too. So if anyone else could help me I would be soo happy. Thanks.
I have had the same issue and searched the forums and found nothing that helped. I contacted apple support and this is what they told me to do:
First we’ll do the SMC reset
1.) Shut down the Mac and connect to power source.
2.) Unplug external devices, flash drives, external monitors, external HD (Keep the Mac plugged into power source)
3.) Hold down “Shift” + “Control” + “Option” (On the left side of the keyboard) + Power key for 30 seconds.
*The Mac should remain powered off during the reset, the LED on the MagSafe Adapter may change colors.
**The “Option” key is also known as the “Alt” key on some Macs.
Awesome, now let’s reset the NVRAM
1.) Locate these keys “Command”, “Option, “P” & “R”
2.) Power on your Mac
3.) Immediately press and hold all 4 keys “Command” “Option” “P” “R”
4.) Listen for 2 boot chimes and then release.
**The “Option” key is also known as the “Alt” key on some Macs.
Posting this here in the hopes that it will help someone else still searching for an answer. -
I was jus trying to download a few new apps when it said I had no storage left, so i went to delete some things, and after i was done, i tried to press the home button to go home. It didn't work, but yet if I clicked it the 3 times it would invert my colors still. I then tried to lock my phone or turn it off and neither worked.
I can still swipe on the settings screen but nothing else. The AssistiveTouch won't even take me back to my home screen. HELPTry holding the Home and Power button together for at least 15 seconds or until the Apple logo comes on. Then let go and wait for the phone to reset and restart. This will take a few minutes and you will not lose any data.
If this does not work put your phone in recovery mode and connect it to iTunes. Then restore the phone to factory settings and then restore from backup. This will wipe your settings and data but if you have made a recent backup it should not be a lot. -
got a playbook which all of a sudden starting doing this tried the debricking method tried connecting ot my mac without the battery and still nothing doesnt connect and also tried on pc but still nothing someone please help i need to get up and running asap
Thank Youmangera wrote:
got a playbook which all of a sudden starting doing this tried the debricking method tried connecting ot my mac without the battery and still nothing doesnt connect and also tried on pc but still nothing someone please help i need to get up and running asap
Thank You
without a battery in what?
You will have to keep presssing the power button every so often whist on charger until the red light stays on. Got a few hours to spare? like whilst watching TV?
Check out the other solutions in the sticky thread, start around page 60. -
i cant seem to find an answer of how to activate my ipod touch, can anyone help?
Try this article:
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538 -
Daniel or anyone else, Help on why I can't access certain jsp pages
I have installed the Web Service Portlet Wizard to build my portlets. In particular,
I have created a URL porlet jsp which receives its content from a URL.
This URL that I retrive is an application that I have running on my Weblogic 6.1
Server. I can access the login page, and can logon and do a few things but for
some reason I Can't access certain pages. The pages I can't access are also jsp
pages on the wlserver6.1 server(exactly the same as other ones I can access and
interact with).
The error I receive on the Portal Front end is attached in a word doc. I have
also included in there, a snapshot of the access log for those pages, but I can't
really make out what it is telling me (if anything!).
For one of the pages, that I can't successfully access I get java.lang.ArrayIndexOutOfBoundsException
This only happens with 1 of the pages. But trying to access the same page withouth
going thru the portal I get NO errors what so ever.
Please if anyone can give me any information on why I can't access certain pages
via my portal It would be very helpful.
Finally I have included the code of my Portlet which accesses the URL. This is
also included in the word doc.
Thanks
Ramy
[Portal.doc]Ramy,
I don't know the Web Service Portlet Wizard too well, but I notice that
login.htm never seems to be found (404 in logs). I would think that the two
warnings below your JSP call (cookies, and portlet state) are your most
likely culprits. If the Web Service Portlet Wizard does not handle cookies
then the portal server will have to continiously reauthenticate. I will
forward your email however and see if I can dig up a better diagnosis. Also,
could you post the stack trace for the ArrayIndexOutOfBoundsException you
are seeing.
Sincerely,
Daniel Selman
"Ramy" <[email protected]> wrote in message
news:[email protected]..
>
I have installed the Web Service Portlet Wizard to build my portlets. Inparticular,
I have created a URL porlet jsp which receives its content from a URL.
This URL that I retrive is an application that I have running on myWeblogic 6.1
Server. I can access the login page, and can logon and do a few things butfor
some reason I Can't access certain pages. The pages I can't access arealso jsp
pages on the wlserver6.1 server(exactly the same as other ones I canaccess and
interact with).
The error I receive on the Portal Front end is attached in a word doc. Ihave
also included in there, a snapshot of the access log for those pages, butI can't
really make out what it is telling me (if anything!).
For one of the pages, that I can't successfully access I getjava.lang.ArrayIndexOutOfBoundsException
This only happens with 1 of the pages. But trying to access the same pagewithouth
going thru the portal I get NO errors what so ever.
Please if anyone can give me any information on why I can't access certainpages
via my portal It would be very helpful.
Finally I have included the code of my Portlet which accesses the URL.This is
also included in the word doc.
Thanks
Ramy -
Giving iPhone to someone else --Help!
I am giving someone my original iPhone 2G. I already went to Settings>General>Reset>Erase All Contents and Settings.
What other steps, if any, should I take to ensure that the new owner has a smooth transition and also NONE of my previous information? Is it okay to keep the SIM card in or should I give it to them without it?
Thanks!The Erase All Contents and Settings option with the iPhone is a secure erase - you don't need to do anything else.
If the person you are giving your iPhone to plans on activating the iPhone with AT&T, you should remove the SIM card since the recipient will need to get a new SIM card from an AT&T corporate store to activate the iPhone with AT&T via the iTunes activation process.
If the recipient does not plan on activating the iPhone with AT&T and will use the iPhone as an iPod Touch, the no longer activated SIM card needs to remain inserted in the iPhone in order to install a firmware update, or to restore the iPhone with iTunes if needed or wanted. -
Question for Mr. Allan Sampson or anyone else (help needed)
Hey Allan, you've been so helpful in the past, I hope you don't mind to answer another one.
How tight is the gap between the chrome bezel and the screen? Tight enough to not allow water to seep in?
Screen--> l_______l GAP ll <--Bezel
I'm asking b/c last night it was drizzling rain and I left my 2G iphone in the car with the window cracked open. So I got a bunch of droplets on the screen and such. Coincidentally, when I turned on my phone this morning, it was acting like it wasn't activated. I got the iTunes Connect message. So I turned off the phone and then powered it back on...everything was normal again. Can this be water-damage related?
Thanks for any help.Thanks Tamara for the response. Should I be worried the fact when I turned on my phone this morning, it was acting like it wasn't activated. I got the iTunes Connect message. I turned off the phone and then powered it back on...everything was back to normal. Can this be water-damage related? Or just a coincidence?
Thank you so much. -
xxxx
You will not be able to download anything - even free apps - until you
resolve the problem with your account.
You might want to start with these 2 links:
http://www.apple.com/support/itunes/contact/
https://getsupport.apple.com/Issues.action -
After I installed mountain lion my back button frequently does not work because the prior screen does not appear iunder History. Apple tech support was not able to fix the problem. Does anyone have any suggestions?
lbryan1987 wrote:
I dont want the button problem solved i need to know how to restore the phone without using that button or going into settings
You don't in the condition it's in. You will either have to get the phone replaced by Apple or pay a 3rd party to repair it.
there seriously should be more than two ways to solve this other wise apple is useless and we will never buy another apple product.
Seriously? It's physically broken! -
Hello!
I just registerd here from my iMac computer running on? Nope, its not running on any OS, im writing from the recorvery menu ;(
I erased my whole disk, and i lost my install disc that came with my 27'' iMac...
I dont know what to do, i do not have any money on my Apple Account..
Is there a way i can borrow a account from you? Or is there a way i can get a new cd sended to my adress?
I live in Singapore.
Thank you for reading, and hopefully we can get some good answers!
NoztraInternational Technical Support Numbers
http://www.apple.com/support/contact/phone_contacts.html
I am unfamiliar with the recovery manager. Here are two guesses.
-- Is system profiler around? It will tell you your serial number.
Report system info
Blue apple > about this Mac
click on more info
click on hardware
You serial number will appear after Boot ROM. Do not copy hear.
--- The newer machines include a recovery partition. Perhaps looking around recovery manager would reveal something.
Robert -
My Ipad suddenly stop receiving e-mails. I have tried all the Apple suggestions i.e. re-booting, deleting email account and reinstating it but nothing has worked. Has anyone any more suggestions please
Try using Settings > General > Reset > Reset All Settings
-
my safari page is frozen and it can't open up another tab either but the rest of the ipod touch works perfectly fine . please help
1. Double-click the Home button to close the Safari Apps in Task Bar
2. Hold the Apps down for a second or two until you see the minus sign
3. Tap the minus sign to close App
4. Tap center of screen to return to Home Screen
5. Restart iPad -
Help me I'm in a tough situation, is there a technical solution?
Apple have previously disapproved my previous version of this issue because I was not clear about my questions, so I have chosen to rephrase them. Despite this "misunderstanding" I was actually asking for technical help and instead got deleted. Please actually read this instead of just reporting it! I do actually have an issue here and I do want help and I feel that I was right to post it here. I don't personally agree that I didn't meet the criteria. But I am trying believe it or not! If you don't want to answer this topic, just move on. Let someone else help me, instead of reporting it, because it's all too hard or seems all too obvious to you what the answers are or you feel it doesn't meet criteria. Some of us don't have all the answers, not even all the obvious ones. My original version was not written in haste or anger, nor did I blame Apple, I also spent time to edit it to structure the situation clearly. I explained my background situation clearly to show my issue was serious and to show how it all fits together. Otherwise the questions just seem lame and pointless. After all I doubt many will be in this same situation which leaves me no where.
Question 1. I already asked this, Can I removed the Apple default apps? I thought I might not be seeing how since there are many hidden features on the iPhone.
Answer 1. Apparently not.
Question 2. Can I control the way apps access the data network? I can't find a way to prevent apps from using it or switching to it when my WI-FI drops momentarily.
Question 3. Is it possible for the mobile provider to turn my data network off while leaving the cellular network active?
Question 4. I'm trapped in a tough spot, is there something "technical" I can do, that I haven't mentioned bellow? There must be something to elevate the situation.
For your information only I have posted the original account I made unedited bellow. I did initial two phrases to G.B. to reduce filtering on Apples forum. I add this here because it explains my situation clearly (or so it seems to me). Please don't take offence that I have added it. Choose to not read it if you will, but don't judge me for adding it. But by reading it I think my questions might look less random or silly:
* Start Background Information *
I have wound up getting an iPhone contract that has me living in a data roaming area for my mobile provider. This is partly due to insufficient knowledge, lack of education in the matter and partly due to the nature of all services in the remote Australian town I live in. The reason I went with this provider in the first place was due to the limited services I could access that had signal in my home and finance. Incidentally all three of them sell iPhones. The first one's cheapest deal is $100 a month for the contract with a lousy deal. The second has intermittent signal in our home, I may have gone with one of their plans if not for the poor signal. The third, which I went with, a fairly good deal for the cash and the cellular coverage perfect all over the property. I have since found out their roaming data network, which I live in is contracted to the first option which own the monopoly and hence the ridiculous mb charges. Occasionally it connects to the second option, but I get the feeling they are also subcontracting off the first! Anyway...
So I live in a roaming data area, It's not international roaming so the phone won't protect me from the excessive mb charges. I started out only using general apps when in WI-FI but found intermittent drop outs which I never noticed happen was causing excessive charges. I have since noticed the signal bars for the WI-FI not change but a spinner indicator ,all very easy to miss. I contacted the network and they refuse to turn off my data network; despite a tech telling me it can be done. So until Apple come to the rescue and put in a feature like the no roaming feature that works for all mobile data connections, that are not the ones belonging to the service provider, I'm stuck turning the phone to aeroplane mode before using any app I don't completely trust. I can see Apples difficulty here, but I would settle for turning all data network off, just leaving the cellular network and WI-FI active. As things are I have to turn phone over to aeroplane mode, then turn WI-FI on then use app, then remember to turn the phone back on when finished. Sometimes I forget for a couple of hours. But I trust some apps or sometimes forget to turn the mobile off. Contacts app got me the yesterday; I was at the post office where I looked up an address and accidentally tapped the address on the card and the maps app loaded up. This is followed by mad stumble to close it before it uses data. So easy to do, also happened using the iPod in the car a few days back. While selecting a pod cast I accidentally clicked "Get more episodes…" and safari loaded, Panic!!! Also what makes it worse, is that I can't remove or hide some apps provided by Apple, like Maps, for example, to reduce the risk of accidental tap. Feel very vulnerable! There is also a risk of forgetting to switch the phone to aeroplane mode when I let a friend checkout the phone or just play one of my games.
So Apple, what are my options? Shelve the phone by leaving phone permanently off turning it into an iPod touch and keep paying through the nose for 2 years? Or G.B. so I can make some changes that would help, I read there is a solution to this issue for G.B. phones, (I'm not sure what impact that would have on my service). But frankly neither of these options I want to follow! I feel trapped!
Also there is nothing disclosing to me what apps have access to what data port. I would feel better if I could see a true list of what each app has access to. Not just on the phone but also on the app store, information detected and provided by hardware and not submitted by the programmer. No offence to all you GOOD programmers out there, but there are many that can't be trusted. An example of my need for this disclosure, does Remote (apple's iTunes remote) access the data network or just the WI-FI? Of course I would ASUME it only accesses the WI-FI. But reading the support page and description for it left me unsure, and it's this unsure feeling that scares me with this whole situation hanging over me. The home pages and the apps themselves are like a mine field to me. Another simple question reflecting this. Does the weather app regularly check for forecast data, or does it only do it when I open the app? What if I mistakenly click it while my data network is active? Sounds harmless doesn't it? But to me a mistake like that adds around $5 to my bill which is already pushing my budget. It would also be useful to be able to control each apps access privileges independently; but I would settle for a simple setting that has them all prompt me for access to the data network instead of just switching to it when there is a short WI-FI dropout.
I love the iPhone but I'm starting to feel I chose the wrong product. It has too many fluent network features (imagine saying that!) and it makes too many assumptions about my situation, most of which are wrong. The iPhone is the wrong product for someone who lives where I live and doesn't have basement full of gold! But I am stuck with this contract, what are my options?
Your's sincerely, life long Apple supporter…Question 1. I already asked this, Can I removed the Apple default apps?
No. But you can turn off automatic syncing and Push email and set the phone to retrieve mail manually.
Question 2. Can I control the way apps access the data network?
Sort of. Turn on Airplane mode which will disable the cellular modem then turn on WiFi only. With Airplane mode ON and WiFi ON, your phone will only connect to the internet using an available WiFi connection.
I can't find a way to prevent apps from using it or switching to it when my WI-FI drops momentarily.
Apps do not run in the background so they only way an app can attempt to connect is if you have it running. If you do not run the app, it cannot run up your bill. For Apps that have "background" notification, you can turn that option off in the settings for each of those apps.
Question 3. Is it possible for the mobile provider to turn my data network off while leaving the cellular network active?
That is up to your provider. Call them. Go into Settings, General, Network, and turn OFF Data Roaming.
Question 4. I'm trapped in a tough spot, is there something "technical" I can do, that I haven't mentioned bellow? There must be something to elevate the situation.
In the US, you can return the phone within thirty days and void the contract. If you do not have that option, or if you are past thirty days, you can pay the ETF (Early Termination Fee) and void the contract.
I live in a very rural area in the US and I have used all of the techniques listed above at different times. I hope this helps; I "get it" that a huge Surprise! data roaming bill at the end of the month can be upsetting. Try the stuff I listed above and if none of that works, paying the ETF might be cheaper than paying Surprise! bills every month.
Hope this was helpful.
Maybe you are looking for
-
Agreement for Security Deposit
Hi, We are implementing FX-RE. We have a requirement to create a Sales-based rent contract with security deposit. I understand unlike classic real estate in FX-RE we need to create seprate agreement for securtiy deposit assigned to main contract. I h
-
Fill default value with SQL query or by an other way
Hello everyone, I use Jdeveloper 11g and Weblogic. when I click on create button, I would like fill id_employee field automatically with the current user. I think there is a possibility in default value but I don't know how. My query is: SELECT Emplo
-
Macbook Pro retina crashes when opened op quickly
Dear all, my Macbook Pro retina (mid 2012) has a strange problem. When I close it, and open it up again (within a few seconds), it crashes. No life whatsoever. What could be the problem? Does anyone else experience this? And, more important, what cou
-
Hi, When I write a java sp returning a long[], how can I write a call spec in PL/SQL, is anyone having any ideas? thanks, first.
-
Hi all... i installed a program called "Cognos 8" in Linux this program needs run two databases at the same time, so i have the two databases but i can't have two running atthe same time, how i can do this???, because when i run one, i have to declar