Another Sybex vs. STS question

Hi everyone,
I am studying for 1Z0-007. Self test software says that it is illegal to put an order by clause in a view definition; however, page 392 of my sybex study guide says that it is legal, they give an example of it and they go out of their way to point it out...."Notice the ORDER BY clause in the view definition."
Who's right?
Thanks for your help.

Well, Oracle allows you to put ORDER BY in the view definition. But, There might be situations where you do not want to do that.
Consider the case where the ORDER BY column in the view definiton is different and when you actually query the view you want to ORDER BY a different column. The optimizer will perform the SORT of your data twice in this case. See the explain plan for the second query. The SORT is being performed twice. Once for the ORDER BY in the view definition and second time for the ORDER BY in your query from the view.
This is something to watch out for.
SQL> create or replace view emp_view as select * from emp ;
View created.
SQL>
SQL> select * from emp_view order by empno ;
Execution Plan
   0      SELECT STATEMENT Optimizer=CHOOSE
   1    0   TABLE ACCESS (BY INDEX ROWID) OF 'EMP'
   2    1     INDEX (FULL SCAN) OF 'PK_EMP' (UNIQUE)
SQL>
SQL> create or replace view emp_view as select * from emp order by ename ;
View created.
SQL>
SQL> select * from emp_view order by empno ;
Execution Plan
   0      SELECT STATEMENT Optimizer=CHOOSE
   1    0   SORT (ORDER BY)
   2    1     VIEW OF 'EMP_VIEW'
   3    2       SORT (ORDER BY)
   4    3         TABLE ACCESS (FULL) OF 'EMP'
SQL>

Similar Messages

  • Another Unlimited Data Upgrade Question

    (Yes, it's another one of those questions.  I'm sorry, but searching - on here, or on Google - only left me with conflicting information.)
    Here's my question:
    A friend of mine is interested in selling me his Galaxy Nexus phone.  Would I be able to keep my single-line, grandfathered, unlimited data plan if I buy his phone and switch to it, or is that only possible if I were to buy the phone new, directly from Verizon?
    Here's my story:
    I have an HTC Thunderbolt that I purchased when it launched.  A few months after buying it, it turned into the HTC Bad Dream, and now it's the HTC Nightmare.  Random heat issues, battery draining, random reboots... It's the same song and dance we've heard before.  These are design issues with the phone; not something a replacement or a repair would fix.
    The real annoyance, though, is the mobile hotspot.  I pay $30/month to use the hotspot legitimately, unlike the users who root their phones to use it without paying for the option, but ever since Verizon started blocking the third-party wireless tethering apps, I've had to choose between using the stock mobile hotspot app and unleashing the above-mentioned Phonemageddon, or simply going without.  I could drop the option from my plan, but seeing as the unlimited data plan no longer exists, I wouldn't be able to get it back without switching to a tiered or shared plan.
    Switching to a more stable phone would alleviate my issues, hopefully, but the difference between Verizon's retail prices and other retailers is hundreds of dollars.  Giving up my unlimited plan, however, wouldn't make the venture worth it.  A definite answer to the question of buying used - either from a Verizon representative, or a customer who's been in the same scenario before - would be very helpful.
    Thank you very much.

    Hi,
    If you provide your own equipment (your friend's Nexus or from ebay etc) then YES you can keep unlimited data. Another wayto keep unlimited would be to pay full retail for a new phone. But I'm sure your friend will give you a better deal than that
    Hope that helps!

  • Another "get album artwork" question

    another "get album artwork" question
    I notice that when I click "get album artwork" it seems to go through the whole library and look for cover jpegs. (in my case, that's going to take a long time!)
    here's my question: it's looking for artwork, yes, but it's NOT going to do anyything to the many, many albums for which I have already (manually) added artwork, is it? If it does - I am in trouble! Please, somebody, reassure me that the artwork I have painstakingly added manually to zillions of albums is safe!
    w

    Updade...
    So, as another test, I uninstalled iTunes, then checked the hard drive again.
    All the icons have now turned into Quicktime icons, which leads me to believe that when you look at your music in finder, it shows the icons related to your default music player.
    So, my next step is to find a new default player, and maybe my album covers will show up again.

  • Another simple classpath problem question

    Hi All
    Yes I know, there are a lots of questions about this matter, but I couldn't found a solution to my problem.
    I have a simple program:
    public class prueba {
            public static void main(String[] args) {
                    System.out.println("Ahi va...");
    }placed in /tmp/javier/prueba.java
    After compiled, I've tried to run it from / and then problems started:
    cd /
    java /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    I said, ok...it could be a classpath problem...then:
    java -cp /tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba
    Damn, another try...
    java -cp .:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Jesus Christ....may be the last slash....
    java -cp .:/tmp/javier /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Oh...no.... may be classpath to java classes..
    java -cp .:/usr/java/j2sdk1.4.2_01/lib/jre/:/tmp/javier/ /tmp/javier/prueba
    Exception in thread "main" java.lang.NoClassDefFoundError: /tmp/javier/prueba (wrong name: prueba)
    Well, I don't know why this error happens....
    Please, could somebody help me !!!
    Thanks in advance...
    <jl>

    It's not too early to start following the Sun coding
    conventions for Java:
    http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.
    tmlHi
    thanks for your reply.
    Yes, I agree. I use conventions with my programs. But my real problem was with a real application and then I did quickly this simple code to help others to understand the problem and give a fast reply...
    Let me know if that works. (It was fine on my
    machine.) - MODYes it works fine, thanks.... and Damn...Murphys law again, the only option I didn't tried is the solution to my problem... :)
    Thanks again...

  • Another After Effects 2D Question

    So, I have read different forum posts here as well a other communities. I always read that I need specifics, so I will try to be as specific as possible.
    I want to know if After Effects is the right program for the type of 2D animation i'm trying to achieve.
    I also should make it clear that I am new to motion graphics and may get some terminology wrong. I would say I have a pretty firm grip on Photoshop and Illustrator; I'm a designer for a screen printing shop by trade. I also have a limited but functional knowledge of Premiere and am in the midst of editing 2 music videos. I have always been interested in animation and video but did not have the resources ($23,000 for 2.5 years) to study it at the Art Institute of Houston. I am mainly self taught by way of lynda.com. I have NO PROBLEM doing the training and taking a long time to develop my skill to the level I believe they need to be, but I don't really want to learn 2 different animation software programs unless absolutely necessary.
    I would like to produce an animated music video for a band that will have about a 4 minute run time. The style of animation is NOT Disney, but more or less South Park (cut-out?). More specifically, the intro sequence to the 2014 season. I have read that SP uses Maya, which with my limited knowledge seems a little bit overkill. The intro sequence looks at times 3D, but I am confident I can fake the look with proper texture, shading, placement, shadows and zooming.  In reality, what I want to accomplish is somewhere between the look of the intro and the actual show. The end result is a video for view on YouTube, Vimeo, etc for view on desktop computers and smartphones/tablets. TV is not the goal (although I guess it would be nice).
    I think I would create the characters as vectors in AI, and perhaps bring them into Photoshop for texture.
    Is AE the right software to accomplish this, or would i be better off learning something like ToonBoom Harmony, Blender or Animation Studio 10?
    (or another I am unfamiliar with)
    Perhaps an Adobe forum is not the most neutral place to ask this question, but I'm not giving up Photoshop, Illustrator, Premiere or Speedgrade, so any and all honest opinion are welcome.
    - Can I import "real" vectors into AE and use them for characters, or would everything need to be rasterized?
    - Does AE have a "bones" rigging system or anything comparable?
    - Does AE have a "bullet-physics"-style option? (I'm getting that terminology from Poser, which I purchased while it was on sale but have not even installed yet.)
    - Can I import 3D objects from Poser?
    - Does AE offer any true 3D features, or do I need Maya or a similar program?
    Thanks in advance for any insights anyone can offer.
    (edit: I know I asked about 2D then asked a few 3D questions at the end, but I am just curious. My MAIN concern is 2D)

    Thank you for that. I started reading the comments, and it looks like this video was uploaded by someone other than the creator, and the creator calls him out on it! So here is the link to the original from the creator.
    http://cgi.tutsplus.com/tutorials/create-your-own-south-park-style-animation--cms-19982
    EDIT: So I went on a tirade here about how sh**ty millennials are, even though I am one myself. While I still believe every word I said, this in not the time or place for that discussion. The only thin I will keep is: HEY FELLOW MILLENNIALS:  have some respect for other peoples creations and stop thinking you are entitled or owed ANYTHING, and finally stop taking selfies and posting pictures of your food; no one cares.

  • Another hard drive swap question - re: 8GB partition for OSX in iMac 266

    I have a Tangerine iMac 266 that I am setting up for a neighbor's son. The original 6GB hard drive was toast, so I swapped in an old 10GB drive that had previously been removed from an iMacDV 400. The 10GB "new" drive had OSX 10.3.1 and OS 9.1 on a single partition. I am aware that these early iMacs need OSX in a first partition of less than 8GB, so I expected that I would need to partition the "new" drive. However, while I was loading an install CD after powering up, the iMac booted fine into OSX, despite it NOT being located in a first partition of less than 8GB (and has continued operating well - booting multiple times in OS X and 9, surfing the net, etc...the only weirdness is a refusal of Word X to run).
    I thought this was impossible, and in researching this I found that the Apple support site says that, for this computer, "Mac OS X must be installed on a volume that is contained entirely within the first 8 GB of its ATA hard disk." see http://docs.info.apple.com/article.html?artnum=106235
    My Questions:
    Is the 8GB limit only related to iINSTALLING OSX on these machines (and not RUNNING OSX)?
    Will the machine run into problems later if a portion of the OS (i.e., during an update) gets installed outside of the first 8GB of the disk?
    One of the log files says that the driver is out of date for the RageproC, and Classic applications that require more than 4MB of VRAM say that I don't have enough VRAM to run, yet the iMac has 6MB of VRAM (2 on MB and 4 in slot as listing by the system profiler) - do I need to (or should I) reinstall the system software (I already tried loading the latest ATI drivers, but it did't help)?
    P.S. - to add more data points on the subject of RAM upgrades in these iMacs, my iMac 266 would not accept a 256MB PC-100 SO-DIMM that worked fine in an iBook and in the upper slot of a Rev. A iMac 233. Well, it accepted it, but only recognized the first 128MB.

    I believe Duane is correct. Even with Mac OS 9, you can run fine as long as all OS components used during startup are within the first 8GB of space. However, (even with Mac OS 9) as soon as something used during startup ends up beyond that limit, you will get open firmware or a gray screen at startup. The Mac OS X does not allow the installation target to exceed the limit as a preventative measure, not because it won't work at all.
    The best "non-technical" explanation I have heard as to why, is this... The IDE hardware (and its driver) can only "see" the first 8GB of space during the initial start up process before the OS is loaded. Once start up completes, control is handed to the OS, which can see the entire drive. Therefore, apps have no problem running from beyond the limit. Only components needed before the hand-off is constrained to the 8GB limit.
    FYI - On my iMac and 120GB drive, 7.78 GB (as shown in a Finder window) is the precise point where the Mac OS X Installer allows the volume to be the install target. "Precise" to with a few hundred MB's.

  • Yet Another ASA VPN Licensing Question :)

    I have a pretty good understanding of ASA VPN concepts, but not sure about this scenario.  Two questions regarding 5525 VPN SSL Anyconnect Premium Licensing.
    1.  Assuming we already own a ASA 5525-x with 750 Anyconnect Essentials and Mobile ( p/n ASA5525VPN-EM750K9 ) and want the ability for 200 Clientless (Anyconnect Premium) VPN connections, including mobile devices, what part number do I need?  
    2.  Assuming we do not yet own a ASA5525, but want the same 200 clientless VPN connections plus mobile device connectivity, what part number do I need?   I'm assuming this is correct  >>  ASA5525VPN-PM250K9
    Thanks!

    It's no problem - I sometimes look for an answer to a question myself and find my own 2 year old post explaining the answer. As long as I don't find my 2 week old answer, I'm OK with that. :)
    Anyhow, no there's not a SKU to upgrade Essentials to Premium. All the Premium upgrade SKUs are between Premium licensed user tiers (10-25, 25-50, 50-100 etc.).
    If you're a persuasive customer and make a strong case with your reseller they may be able to get a deal with Cisco outside the normal channels to get some relief as a customer satisfaction issue. That's very much a case by case thing though and not the normal fulfillment method.

  • Another "using another person's upgrade" question

    Sorry in advance if this question has been covered 100 times before.  I spent some time trying to find an answer that fits my scenario in the forums but didn't find an exact fit.
    My Droid Incredible touch screen stopped working this past week (no drops, no water, no reason to stop working) and since I am 1yr and 3months into owning the device and have no insurance the local store said I'm pretty much SOL and to contact HTC.  Dealing with HTC has been the worst customer service experience of my life and they pretty much said the same thing since they only cover their devices for 1 year.  (Said I could send it in to their repair facility on my dime for 2 weeks minimum and they would determine the repair cost and contact me).  So I can't upgrade until April on my account and am trying to figure out a way to get a new phone (not at full price).
    My girlfriend has been up for an upgrade for months now (she uses a basic phone, no data) and isn't in any hurry to use it.  She does't ever want a smart phone and said that I should just use her upgrade.  So, the details and questions are as follows:
    1. We are not on the same account (family plan).  We have individual plans.  My plan is 400 or so mintues of talk and unlimited data.  Her plan is 400 minutes or so of talk.
    2. I would like to use her upgrade to get an iphone 4s.
    3. We do not want to change her plan (its something like $30 a month grandfathered plan).
    4. I would like to keep my current plan as well.  (unlimited data)
    Is it possible to make all of these things happen?  I have read that it is simple if you are on a family plan to do this.  Can we go down to the local store and get an iphone 4s and activate it on my account instead of hers?
    As a side question (and to make things more complicated)... Does anyone know if we can we combine our accounts together into 1 account and save money or minutes.  We both hardly use our minutes at all and aside from me using the data plan for work we toss out hundreds of minutes per month.
    Thanks in advance for any replies!
    J

    jmskennedy wrote:
    Sorry in advance if this question has been covered 100 times before.  I spent some time trying to find an answer that fits my scenario in the forums but didn't find an exact fit.
    My Droid Incredible touch screen stopped working this past week (no drops, no water, no reason to stop working) and since I am 1yr and 3months into owning the device and have no insurance the local store said I'm pretty much SOL and to contact HTC.  Dealing with HTC has been the worst customer service experience of my life and they pretty much said the same thing since they only cover their devices for 1 year.  (Said I could send it in to their repair facility on my dime for 2 weeks minimum and they would determine the repair cost and contact me).  So I can't upgrade until April on my account and am trying to figure out a way to get a new phone (not at full price).
    My girlfriend has been up for an upgrade for months now (she uses a basic phone, no data) and isn't in any hurry to use it.  She does't ever want a smart phone and said that I should just use her upgrade.  So, the details and questions are as follows:
    1. We are not on the same account (family plan).  We have individual plans.  My plan is 400 or so mintues of talk and unlimited data.  Her plan is 400 minutes or so of talk.
    2. I would like to use her upgrade to get an iphone 4s.
    3. We do not want to change her plan (its something like $30 a month grandfathered plan).
    4. I would like to keep my current plan as well.  (unlimited data)
    Is it possible to make all of these things happen?  Yes.  I have read that it is simple if you are on a family plan to do this.  Can we go down to the local store and get an iphone 4s and activate it on my account instead of hers? Most likely - if it is a corporate store.  If it's an "authorized reseller" or a third party store, it amy be more difficult and they may tell you they can't do it.
    As a side question (and to make things more complicated)... This MAY make it more simple!  Does anyone know if we can we combine our accounts together into 1 account and save money or minutes.  We both hardly use our minutes at all and aside from me using the data plan for work we toss out hundreds of minutes per month.
    You can get a family plan with 700 shared minutes, 2 lines, for $70, and the data plan on your phone would be $30.  I'm not sure if you would be able to keep your unlimited data though - you might be if you do this in stages.  First, combine your two accounts into one family plan and do nothing about upgrading for now.  Let that "settle"; your upgrade dates and eligibilities will remain the same as they were on your individual plans.  If you can make this transition and keep your unlimited data, then you're good to go upgrade the eligible line (your girlfirend's) to the iPhone, but activate it on your line.  Her line's contract will be extended for two years, but she can use her old phone and you can use the iPhone.  If the unlimited data did carry over, it will remain for the iPhone too.
    Thanks in advance for any replies!
    J

  • [AS CS3] Another MathType Baseline Shift Question

    Hi Guys,
    I am using the below script to place MathType Equations into an InDesign File
    Basically it searches for tags <<Filename.eps>> and replaces it with a inline graphic.
    My question is:
    Is there anyway I can get it to read the height of the InLine Graphic Box and then get it to baseline shift so it's centered height wise on the line, instead of the set amount of -10pt that is uses now?
    We have to open the MathType Equations in Illustrator to change font and colour to Pantone etc, so they are save back as Illustrator EPS's
    Below is the Script:
    tell application "Adobe InDesign CS3"
    tell document 1
    set baselineVar to "Yes"
    set countVar to 0
    set imageCount to 0
    set docPath to file path as alias
    tell application "Finder"
    set imageFolder to folder (choose folder with prompt "Please choose the folder containing the appropriate MathType files") --"MathType" of artFolder
    end tell
    activate
    set allStories to stories
    repeat with s from 1 to count of items of allStories
    set theStory to item s of allStories
    if class of theStory is story then
    set theLim to count of words of theStory
    try
    repeat with i from 1 to theLim
    if word i of theStory contains "<<" then
    set theText to contents of word i of theStory as Unicode text
    set theOffset to (offset of "<<" in theText)
    set endOffset to (offset of ">>" in theText)
    set imageName to characters (theOffset + 2) through (endOffset - 1) of theText as string
    set imageFolderPath to ((imageFolder as string) & imageName)
    set wholeTag to characters theOffset through (endOffset + 1) of theText as string
    if baselineVar = "Yes" then
    set baseline shift of characters theOffset through (endOffset + 1) of word i of theStory to -10.2
    end if
    delete characters theOffset through (endOffset) of word i of theStory
    tell theStory
    tell word i
    tell character theOffset
    place imageFolderPath as alias
    set countVar to (countVar + 1)
    end tell
    end tell
    end tell
    end if
    end repeat
    end try
    end if
    end repeat
    end tell
    activate
    if countVar = 0 then
    display dialog "No Images were found" buttons "OK" default button 1 with icon 2
    else if countVar = 1 then
    display dialog "1 lonely Images has been placed." buttons "OK" default button 1
    else
    display dialog (countVar as string) & " Images have been placed." buttons "OK" default button 1
    end if
    end tell
    Thanks
    Marcus

    The place command will return a list containing a reference to the placed<br />image. You can then get the bounds of its parent, compare them with the<br />baseline, and change them accordingly.<br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • Another escape the room question.

    I'm working on placing objects around the room, as well as in the inventory. When the player clicks on an object in the room, I want that instance of the object to disappear, and the instance of the object in the inventory to appear.  For right now, I'm trying to make the objects in my inventory disappear.  Here's the code I'm using:
    var squarelocated:String;
    squarelocated = "hidden";
    square2_mc.DisplayObject.visible = false;
    var ovallocated:String;
    ovallocated = "hidden";
    oval2_mc.DisplayObject.visible = false;
    var circlelocated:String;
    circlelocated = "hidden";
    circle2_mc.DisplayObject.visible = false;
    But I'm getting the following output error messages:
    TypeError: Error #1010: A term is undefined and has no properties.
    at escapegametutorialnew_fla::MainTimeline/frame1()
    TypeError: Error #1010: A term is undefined and has no properties.
    at escapegametutorialnew_fla::MainTimeline/frame1()
    at flash.display::MovieClip/gotoAndPlay()
    at escapegametutorialnew_fla::MainTimeline/startMovie4()
    Thanks in advance!  And sorry for the simple questions, I'm working off a tutorial that is based off of Actionscript 2.

    If you at least change it to a boolean, then  you can save code.  The difference would be...
    using a String... "hidden"
         if(somevar == "hidden"){...
    using a Boolean... true or false
         if(somevar){...
    But don't sweat it for now.   It's something good to know when it comes to having to implement conditional tests.

  • Another very very difficult question for EXPERTS

    Hello again to all my friends at Macromedia. A big hello to
    Mr
    DownWithTheBugs, Mr Chris In Madison, Mr Car Crash (he he)
    and especially
    Mrs Nancy *Adobe Community Expert. You are all my special
    friends. I have
    good good sleep and wake up today and solve my mystery
    straight away. The
    answer was:
    select * from thebigtable
    where ID LIKE '39%'
    Although I am glad of all your futile attempts to help me and
    I very pleased
    at the time you spendwith me, my expertise showed me the path
    in the end.
    You all need to do some homework to reach this standard.
    Perhaps you are not
    used to databases of this size and were all a little
    perplexed. I
    understand!! This sintax is quite complicated to the
    untrained eye but
    thankyou all anyway.
    My new question is this:
    How do I put my beautiful new webpage on the Internet?? I
    would like it to
    appear inside the Microsoft website as it will benefit all
    Microsoft users.
    How do I put it there?? Very tough!!
    Thankyou.
    My moto - If your best is not good enough then try even
    better, or go and
    drink lots and lots of alcohol. If that does not work then do
    both together
    XX.

    >I have good good sleep and wake up today and solve my
    mystery straight
    >away.
    I always knew that an expert like you would solve the problem
    without much
    hassle.Well done!
    > How do I put my beautiful new webpage on the Internet??
    I would like it to
    > appear inside the Microsoft website as it will benefit
    all Microsoft
    > users. How do I put it there?? Very tough!!
    Not much, print it using you printer (it's should be not far
    from your
    computer: Have a look around and if you find something with
    paper inside,
    that's the printer). Put the papers in a folder and send them
    to Someone at
    MS (You don't need to put a name: Usually it's Mr. Gates the
    one who uploads
    the pages himself, but I'm sure there are lots of MS experts
    that will be
    glad to help with the job).
    Just a reminder: if your pages need to be uploaded as soon as
    possible,
    don't forget to put some extra Air Mail stamps on the
    envelope!
    Best of luck trying to find the printer!!
    Andres.
    "THE WEBDEV KING" <[email protected]> escribi�
    en el mensaje
    news:[email protected]...
    > Hello again to all my friends at Macromedia. A big hello
    to Mr
    > DownWithTheBugs, Mr Chris In Madison, Mr Car Crash (he
    he) and especially
    > Mrs Nancy *Adobe Community Expert. You are all my
    special friends. I have
    > good good sleep and wake up today and solve my mystery
    straight away. The
    > answer was:
    >
    > select * from thebigtable
    > where ID LIKE '39%'
    >
    > Although I am glad of all your futile attempts to help
    me and I very
    > pleased at the time you spendwith me, my expertise
    showed me the path in
    > the end. You all need to do some homework to reach this
    standard. Perhaps
    > you are not used to databases of this size and were all
    a little
    > perplexed. I understand!! This sintax is quite
    complicated to the
    > untrained eye but thankyou all anyway.
    >
    > My new question is this:
    >
    > How do I put my beautiful new webpage on the Internet??
    I would like it to
    > appear inside the Microsoft website as it will benefit
    all Microsoft
    > users. How do I put it there?? Very tough!!
    >
    > Thankyou.
    >
    > My moto - If your best is not good enough then try even
    better, or go and
    > drink lots and lots of alcohol. If that does not work
    then do both
    > together XX.
    >

  • Yet another Applescript file renaming question...

    Hi all,
    Well, having been a full-time Applescripter for five years at Apple, I thought it would be easy to dust my chops off and write a simple script to get a file name from one folder and paste that name onto a file in another folder.... but I guess 15 years of no-scripting has proven too much of a challenge to my aging brain... and I am on a time crunch to get this done for my client.
    SO, here is what I'm hoping to get help with.  I have no doubt it is pretty simple.
    File "A" is in a folder.
    File "B" is in a different folder.
    I need to GET the name of File A and use it to rename File B.
    Can one of you youngin's take 30 seconds and help an old dude out?
    Thanks a bunch,
    matt

    Niel... almost there.
    The script works perfectly (with me placing the path instead of just the folder)... thank you so much.
    One extra thing though... I didn't realize that the files are different file types (jpg and psd).
    So what do I need to do to change the name without changing the file type?
    THANKS again!
    Matt

  • Another LOV in dialog question

    Having spent some time reading blog entries and forum posts, I am still struggling with my current project. The requirements are quite simple - I have a form with two fields that are populated by dialog LOVs. To simplify this question, lets call the two fields county and town.
    Therefore, as the user goes down the page, they are first prompted to choose a county. This launches the dialog LOV with search capabilities. On selecting the county, the county field is populated in the main form.
    Following this, the user is prompted to choose a town, and again, when the user presses the dialog button, they are provided with a search form for towns. However, the town dialog box must be passed the selected county to filter the appropriate towns.
    This is where my problem lies. I have implemented this by dropping an executeWithParams as a parameter form on to the towns dialog page and bound the 'county_name' parameter to a page parameter. However, I cannot get the page parameter to be populated by the main form, I believe because the dialog button is a commandbutton rather than commandlink, and possilbly doesn't support the <f:param> child element.
    I would appreciate validation of my approach as I believe it to be sound. I am getting more confused, the further I research into this work, and am unsure whether the execute WithParams should be on the dialog page, or as a previous advise suggests on the main form.
    What is the normal pattern of developing this functionality?

    Hi,
    correct, PPR doesn't reflect <f:param> - at least I wouldn't know hot to do this. I think there are quite some options you have
    - use a launch listener to store the selected country in a session attribute
    - programmatically launch the dialog and pass the selected country as an argument
    The easiest way though is the use of a session variable as it can be referenced in the ExecuteWithParams method
    #{sessionScope.variableName}
    Frank

  • Another delete sub form question.

    I can delete a specific sub form as long as the button that is used to delete the sub form resides in the the sub form using,
    _Subform1.removeInstance(this.parent.index);
    So how do delete a specific sub form using a script in a button that is in another sub form? If I use the same line of code the first occurance of a sub form is removed in every case and not the one I want to get rid of.

    You have to pass in the index of the specific subform in Subform1 that you want to remove. It works when the button is in the subform because this.parent.index is the index of the subform containing the button. If you move the button out of the subform you are passing in the index of the new parent to the button which is not the correct index that you want to remove.
    Chris
    Adobe Enterprise Developer Support

  • Another asynchronous workflow method question

    Hi all.
    Your previous post on this topic was great people!!
    Right now I have a problem with an asynchronous method, on concrete words, is the method from object BUS2081, method EDIT.
    I've created a task based on that method and I have put some terminating events on that task but looking at the WF log on runtime, the task is only waiting for some of the events and ignoring just the ones i need. I don't know what the problem is because i have configured the events exactly on the same way....any idea of what is happening?
    I've solved this incidence including some parallel branches awaitiing for the events, so I'm "faking" in some way the "asynchronous" task, but this is a cheap trick...
    Thank you and best regards.
    Ismael

    Hi Ismael,
    I have a quick question regarding the BUS2081 - EDIT method.
    I'm using the Edit method with terminating events as POST, Delete, Park and Complete.
    Assume I have workflowed the invoice for GR missing scenario once its is done I will try and Post the Invoice document if it still has errors (say Price mismatch)then I want to Repark the document using the ' Save park document' icon.
    As there will be errors I can't do 'Save as Completed'. 
    Here I can't Repark the document until I Complete it.....:( I don't know how to handle this situtation.
    Any advice is helpful.
    Thank you,
    Renu.

Maybe you are looking for

  • Save file to database using WEBUTIL

    Hi, I have used webutil_file_transfer.Client_To_AS_with_progress to upload files from client to Application Server using Forms 10g However, now i want to save file in database and not upload to database. Apart from the problem, I was wondering if the

  • Various programs now crashing after OS update

    Hi, I recently updated iTunes to 10.5. In the same update I accepted a security update from Apple. I'm running OSX 10.6.8. Now several programs keep crashing as soon as I open them. Notably iTunes, Safari and Spotify. I get the following crash report

  • How to define "binding"?

    Hello! I'm creating custom tag and I need it to have attribute "binding" to get and set property in bean. Could you advise me, how can I do it?

  • DN for an IP Service?

    Is it possible to assign a directory number to an IP Service?

  • Photoshop CS6 Cloud won't print?

    Hello, I've been using photoshop for over 10 years now. I just signed up for the latest cloud version and created my first file and I can't get it to print. The first time I go to the file menu the print option is available but when I click on it, no