Sequence question

I'm curious what others are doing with sequences in their AppEx applications. I know this isn't strictly an AppEx question - but I recently ran into serious problems because of my choice of how I'm using sequences.
The problem goes something like this: I create a new table and while I'm doing so I go ahead and create a new sequence for that table. Seems innocent enough. Now, I just happen to use this new table as a lookup table for some foreign key values in one of my main data tables. Not a problem. Works like a charm.
I start populating data into the main table and the lookup tables. Again, not a problem. The users want a little query mecanism for the report so I decide that I'm going to implement it in the UI with a checkbox based on an LOV that allows users to find records based on checking values and clicking a 'Find' button. OK, create a checkbox item, a named LOV, assign it to the checkbox item. Now amend the query for the report region to use the checkbox via an instr(:P1_MY_SEARCH_CHKBX, column_name)>0 kind of approach.
Ooops! I'm not getting what I want. The changes to the query are clearly working for some cases but I'm seeing John Doe's projects (like I want) and Mary Jane's too (which I don't). Turns out John Doe's ID is '1' and Mary Jane's is '11' and '1' is definitely in '11', so things are working as they should based on my implementation, but I'm getting 'unexpected results' from the users point of view.
Obviously, the root cause of this comes down to my choice to create that new sequence for each table and increasing the likelihood that this situation would occur. If I had used a single sequence value for the entire schema, that started with a large value (maybe a guid) and built all of my triggers off that one sequence then this little UI anomaly would likely not have occured.
Sorry for the long, boring story - but I'm curious what others are doing and how many people have run into this same kind of problem?
Earl

Personally I would do it in this sort of way. It may add an extra page or two, but I think in the long run it becomes easier.
Here is my sample app - click a couple, hit the search button, and it will show you your results.
http://htmldb.oracle.com/pls/otn/f?p=20233:1:17770724214406136839::NO:::
What I would do in your case is to do something similar - list out the project managers using htmldb_item.checkbox(1, manager_id). This will tie the exact id to that box. Create a before header process that creates a collection - this collection will hold your checked boxes. Add an after submit process to add items to that collection. On your next page, you would do something like this to restrict the rows:
select pro.project_number, pro.description
  from project pro
where exists (select 1
               from htmldb_collections col
               where pro.manager_id = col.c001 and
         col.collection_name = 'PROJECT_MANAGER')Personally I like collections a lot - that way someone can go back to that page, add a couple extra checks and it repopulates the collection. If you need to see the exact code, let me know and i'll post it on my application page.
As far as your 2nd question, its a matter of preference. There is nothing wrong or right about creating one sequence - yes you're right - the user never sees it, so it really doesnt matter. But I guess I am a creature of habit, and dont see what creating one sequence really saves you. Its sometimes nice to be able to see the next sequence value and have an approximate guess that you are creating the 243rd new employee instead of the 125,335th new object in the entire database.
To each their own!

Similar Messages

  • Fill In The Blank / Sequence Questions

    Is it possible to have a fill in the blank question in captivate (4 or 5) that is scored according to how many options the user got correct?
    For example:
    If you use 4 grams of 'b' you will need _____ grams of 'x', _____ grams of 'y' and ____ grams of 'z' to complete the forumula.
    In this example if they answered all 3 blanks correctly they would get 3 points, 2 correct answers would give them 2 points and so on.
    Also, is it possible to  score sequence questions according to how many items were correctly sequenced?

    Hello,
    For the moment partial scoring (as I'm calling it) is not possible in Captivate, at least not in the included Question slides. If you want that feature, and you are certainly not alone, please fill in a Feature Request to get this feature on the priority list of the Adobe team.
    If you do not mind the work, it is possible to create question slides yourself using the available objects, user variables and advanced actions. I wrote several articles and blogged about those workarounds, one of them is about creating question slides with possibility for partial scoring (it is not a FIB-question but the principles are the same):
    Question slide with partial score
    Lilybiri

  • Sequence question drop-down list gets hung up on punctuation

    I'm making a sequence question. In drag-and-drop mode, it
    works fine. But in the drop-down list mode, it breaks. In other
    words, even if it is displaying correctly, it is "wrong" when the
    enduser tries to sequence the choices.
    I assume that this is because one of my items has punctuation
    in it.
    It's a person's name, so it looks like this:
    Lastname, FirstInitial.
    Or it could be even two people:
    Lastname, FirstInitial. & Lastname, FirstInitial.
    Is there a way to escape the commas and periods? (I'm willing
    to give up on ampersand!) Use ASCII, escape ActionScript or
    JavaScript? I'm not likely to solve the problem by experimenting,
    so I'm wondering if someone else has figured this out. THANKS.
    (I tried searching the forum, but searching does not seem to
    be working for me)

    I can't help you with this myself as I've not done it but there are quite a few tutorials kicking around the net.
    Simple ODBC Connections in Adobe LiveCycle:
    http://www.youtube.com/watch?v=C56_Cz-aE0c
    Connecting a form to a database:
    http://forms.stefcameron.com/2006/09/18/connecting-a-form-to-a-database/
    Database connected forms:
    http://acrobatusers.com/tutorials/database-connected-forms

  • Responses showing over feedback in sequence question - Captivate 5

    Hi all
    I have an issue with the sequence question type. If you have feedback, the draggable responses show over the top.  Please see grab.
    Is this a bug? I can't find any mention of it. It only seems to do it with certain responses. Makes it completely unusable.
    Suggestions?
    Mitch

    This tends to happen if you add answer options AFTER creating the question and adding the feedback captions.  The last thing added ends up on the upper layers of the quiz question slide, but since you cannot see these layers in the timeline, as you can for other slides, you cannot reorder the layers by normal means.
    The solution is to turn your feedback captions off and then on again so that they then end up on the higher layers again.
    Go to Quiz Properties for this slide and deselect/select the Correct and Incomplete captions to put them above the answer options.  Then set Failure level to NONE and back to whatever it was before to set the Failure caption above everything else.  This will erase any text you had in the captions, so if you've invested quite a lot of time adding text to these feedback captions, it's a good idea to copy that text somewhere else first, so that you can just paste it back in after recycling them.

  • Drop Down Options in Captivate 6 Sequence Question

    Hello!
    I'm working on a project using Captivate 6. There is a Sequence question using the drop down option for Answer Type. For this particular question there are 5 items that need to be placed in order. When a learner clicks the drop down to answer the question only 4 of the 5 options display forcing the learner to scroll to see the last option. Is there a way to make the drop down display larger so the learner doesn't have to scroll?
    Thanks in advance for your advice.
    Marie

    Thanks Lilybiri!
    This was helpful. My team decided to stick with the drop down format, but by making the font size smaller we were able to fit all 5 options into the window (taking away the need to scroll.
    Thanks again,
    Marie

  • Sequencing Question Review

    Hi all,
    Just a quick question regarding the sequencing question type
    - is there a way to format the review area to show the correct
    answer for a sequenciung question? In some of my courses, I have
    used the sequencing quetion type, but it leaves quite a bit to be
    disired when it comes to reviewing the correct answer once you've
    completed the quiz. It seems to cram all of the answers into a tiny
    little space, regardless of how big I make the Review Area when
    editing the screen.
    Any ideas?
    Thanks in advance!
    Cheers,
    Shawn

    I agree the space is very small for the review. It also helps
    to only have a sequence of four and that may be too small as well.
    The only other suggestion I can make is put the order of the
    correct answer into a Success Caption or the Failure Caption or
    even BOTH. You may not be able to put all of the answer in the
    captions but they can expand a lot. You can at least put the
    correct order of the letters.
    Jeff

  • Sequence Questions - Captivate 5

    I like using Sequence-type questions, but upon user review of the quiz, not all the answers appear.  Only the first two correct answers are shown.  If I have the user arrange five items in the correct order, only the first two correct responses are given in the quiz review.  I have carefully scrutinized all the setup parameters for this question type and don't appear to be doing anything wrong.
    Any suggestions would be appreciated?

    I've had a few issues with Sequence questions that were migrated from Cp4 to Cp5.  I usually found it best to just recreate the questions entirely in Cp5 to get everything working properly.

  • Sequence Questions Merging

    Hi
    I recently created an assessment on Captivate 3, which
    includes a number of sequence questions, the problem that I have is
    that the answers for the sequence questions are moving between
    questions and therefore people are answering it wrong as not all of
    the correct options are available.
    Any ideas on how to resolve this??
    Thanks

    Try separating the "Sequence" questions from one another with
    a different type of questions, i.e.
    1. sequence
    2. t/f
    3. sequence
    4. mult choice
    5. sequence
    This is definitely a bug, i've seen the same thing. --Bob

  • JMS XA/ Sequencing question

    Hi,
    Can i ask a question related to JMS.
    I have a project where one of the requirement is that a message when picked up from MQ > BEA JMS > and then persistet into Database needs to be guaranteed i.e either should be rolled back or commited.
    My questions were:
    1) is running the connection factory in XA is the only solution?
    [The reason being, we have had lot of  production problems while running some of our application in JMS XA mode and if possible, we wanted to use non-xa]
    2) is the requirement to have "sequencing" needs to have XA on BEA JMS Bridge (between BEA > MQ) OR we can accomplish "Sequencing" w/o been in XA Tx. ?
    Iam just trying to learn this JMS stuff and if iam asking some stupid question, please do not get offended and ignore my email.
    Your help is much appreciated.
    null

    Hi,
    Can i ask a question related to JMS.
    I have a project where one of the requirement is that
    a message when picked up from MQ > BEA JMS > and then
    persistet into Database needs to be guaranteed i.e
    either should be rolled back or commited.
    My questions were:
    1) is running the connection factory in XA is the
    only solution?
    [The reason being, we have had lot of  production
    problems while running some of our application in JMS
    XA mode and if possible, we wanted to use non-xa]XA drivers are required if you have more than one database involved in the transaction, but in this case there's only one. I have to admit that I haven't tried queue and database in the transaction with both non-XA and XA to see if it made a difference.
    2) is the requirement to have "sequencing" needs to
    have XA on BEA JMS Bridge (between BEA > MQ) OR we
    can accomplish "Sequencing" w/o been in XA Tx. ?The MQ-to-JMS bridge is another unknown to me. When you roll the database back, you expect to see the message put back on the MQ queue, right? Another unknown to me.
    Iam just trying to learn this JMS stuff and if iam
    asking some stupid question, please do not get
    offended and ignore my email.Not stupid at all. I would consider these to be rather advanced questions.
    %

  • Installing Version 11.1.1.3 Plan & Sequence: Questions

    I have to install Essbase, Planning & Financial Reporting Version 11.1.1.3. For now it's one development server with 3 client machines (all developers who will need admin rights). My plan is as follows, please check, I have a couple of questions along the way:
    Check for platform compatibility: Most likely going to be using Windows Server 2003 and default built in tomcat web server. Intend on using EPMA, so IIS 6.0 should be installed first (correct?)
    Download files:
    EPM Installer
    Foundations Services Parts 1 - 4
    Essbase Client
    Essbase Server
    Planning
    Unzip all these files in one folder in the development server. Also unzip the EPM installer and Foundation Services on all 3 client machines.
    For Server Install and Configuration:
    Run the EPM installer on the development server.
    Configure shared services on the development server. Then login to shared services and see if it works and is running. If so, then proceed. If not then come back to forums and SOS for help!
    Configure Essbase and Planning on the development server, using a separate Oracle (or SQL) Database for each. (*For this all I have to do is create a database in Oracle or SQL Server for each component is that correct*? Stupid question but how do you guys usually name those?)
    For client install and configuration
    Unzip EPM Installer, Foundation Services, Essbase & Planning
    Run EPM installer and under "Install By Tier" check mark ONLY the CLIENT products for Essbase and planning correct?
    While configuring shared services use "a previously configured shared services" (the one on the development server)
    How do I configure the database for the client components? Do I point to the one on the development server? Pls clarify this part for me.
    I believe the above are all the steps in sequence. Pls correct me if I'm wrong. Answers to my questions plus any additional tips from experts and experienced users appreciated.

    You are nearly there, the OS and server part seems fine.
    The client part you don't need to configure any database part, client elements are usually just an install and then you are ready to use them.
    It also depends on what client products you want to install.
    If it is the excel addin then there is a standalone install available on "My Oracle Support"
    If it is Smart view then there is a standalone install available.
    If you want to use the essbase runtime client then you would have to extract the files you have pointed out and run the installer and select essbase client.
    If you want the EAS client (though it can be accessed via the web) you would do the same thing with extracting the files.
    Examples of the files that are needed for essbase are available at :- http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install/ch02s02s02.html
    Not sure what other client products you plan on using.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Importing projects / sequences question

    I started out my project with the wrong resolution (*sigh*) and I'm now trying to save the day by doing the recommended move - starting a new project with correct settings and importing the original project there.
    But I'm only getting the entire original project sequence as a big block, with no edits or anything available. Is it supposed to be like that? Or is there a way to get all the separate clips, cuts, edits etc when importing?
    Thanks for any help!

    You will also find links to many
    free tutorials in the PremiereProPedia that will quickly show you how things are done in Premiere Pro.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Another 'Cannot mutate bound sequence' Question

    Hi Everyone,
    The below code throws a "Cannot mutate bound sequence" when the line (id:'a') is pressed first. However it runs fine when lines 'b' or 'c' are pressed first. But the output shows the correct line 'a' has been deleted when pressed first. Can anyone suggest a way around this or shed some light on what is happening?
    Im still new to javafx and have been reading up on 'bind'. It looks like there are a few known issues out there so hopefully this is one and there is a easy fix.
    package bindingerror;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.Group;
    import javafx.scene.shape.Line;
    class Wall extends Line{
         override var onMousePressed = function(e):Void {
                println(WallArray);
                delete e.node as Wall from WallArray;
                println(WallArray);
    var WallArray = [
                    Wall{id:'a' startX: 10 startY: 20 endX: 90 endY: 20 strokeWidth:10}
                    Wall{id:'b' startX: 10 startY: 50 endX: 90 endY: 50 strokeWidth:10}
                    Wall{id:'c' startX: 10 startY: 80 endX: 90 endY: 80 strokeWidth:10}
    var Group = Group{content: bind for(x in [0..(sizeof WallArray - 1)]) {WallArray[x]}};
    Stage {
            scene: Scene {
                       width:   100
                       height:  100
                       content: Group{content: bind Group
                                     }//Group
                          }//Scene
    }//Stage

    No wonder. Has you have seen yourself, binding is a delicate domain, particularly when used with a sequence and/or a function. That's why I won't answer your question but instead criticize your code... :-) No, seriously, I will try and answer (but the inconsistent behavior is still a bit puzzling), if I can, but since you say you are new to JavaFX, I think some remarks can be beneficial as well.
    Generic remark: I am not known to follow blindly the Sun Java coding rules (I have my own internal set of rules I apply across languages, when possible), but I still think using a capital initial for class names, and a lowercase initial for variable names is a useful convention. Particularly when you name a variable the same as a built in class name... The compiler sorts things out, but the reader is confused... :-)
    Other remark: I don't know if you come from the Java world. Knowing Java to do JavaFX isn't mandatory, but useful, since JavaFX routinely uses Java classes. I suppose most JavaFX coders have at least some Java background.
    That said, I am surprised to see so many newbies to JavaFX using the old Java way of iterating over a sequence, by index.
    Let's show a more idiomatic JavaFX. First, you can rewrite your loop as:
    for (x in [0 ..< sizeof WallArray]) WallArray[x];The ..< sequence notation is often overlooked/forgotten, I find it more readable than using -1.
    It can still be written:
    for (w in WallArray) w;But you create a new sequence, why not just use the original one?
    var Group = Group { content: bind WallArray };Ah, I magically dispelled the error message! But I modify WallArray, I don't know if that's the intended behavior. Ah, yes, since the mouse pressed function delete items from WallArray. The problem might lie there: I think the Group reference items in WallArray, and you delete items there, so its references hangs out in the void. Or something like that...
    Last remark: unless you are simulating something more complex, you don't need to put a group in a group.
    So, here is my version of your code:
    class Wall extends Line {
         override var onMousePressed = function (e: MouseEvent): Void {
            print(walls); print(" => ");
            delete e.node as Wall from walls;
            println(walls);
    var walls = [
        Wall { id:'a' startX: 10 startY: 20 endX: 90 endY: 20 strokeWidth: 10 }
        Wall { id:'b' startX: 10 startY: 50 endX: 90 endY: 50 strokeWidth: 10 }
        Wall { id:'c' startX: 10 startY: 80 endX: 90 endY: 80 strokeWidth: 10 }
    //~ var Group = Group { content: bind walls };
    Stage {
        scene: Scene {
            width:   100
            height:  100
            content: bind walls
        }//Scene
    }//Stage

  • Shoping cart approval sequence question

    Hi there,
    We have a business requirement for shopping cart approval workflows to be sequenced as follows:
    1. Sanity check
    2. Functional approval
    3. Budget/Financial approval
    4. Buyer completion
    Is it technically possible to build our shopping cart workflows (process) in this manner?
    Can the buyer completion workflow invoke after the budget approval workflow?
    thanks

    Pras,
    Many thanks for your previus response. I would like to ask another question on the same issue.
    Are you implying that the only way one can a workflow process whereby the Budget approver workflow kicks in before the Buyer completion workflow is to use/activate the n-step shopping cart approval workflow?
    Again this is the sequence we would like to implement for our shopping cart approval process, if possible. Please provide me the workflow technical names for each workflow (i.e WS+++++++++)..I would be very greatful.
    1. Sanity Check Workflow
    2. Functional Approval Workflow
    3. Budget Approval
    4. Buyer Completion Workflow
    Thanks

  • Sequencing question: app requires IE settings change before first launch

    hi.
    I need to sequence an app that will open in IE.
    I did  a quick try, got some errors... Found later that it requires IE not above 9. I had 11.
    Sure I will try it again with right browser version and if necessary few tries. So in case of problem I can ask providing the errors
    But as preliminary question I want to ask an advice for the sequencing in the next installation scenario:
    1. Run msi (55MB package, so it is not just a shortcut)
    2. Before first launch, installation instruction requires to open IE and set "use username and password" for Internet and Intranet zones to YES.
    The question is would IE settings be captured during the installation and monitoring process if I will do it as required.
    Or it worth to set IE before starting sequencer, or I can set a registry for IE after editing Appv package after saving.
    Also, domain GPO can be used probably. But I know that I need to enter the app during monitoring.
    What will be appropriate to try?
    Thanks.
    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    I suggest that when you re-sequence you have the correct version of IE on your sequencing VM. Also, ensure IE has been launched before attempting to sequence to ensure any first run user settings are not going to be captured in your virtual package.
    Also, please take a look at this excellent article posted by Dan Gough around overriding Group Policy Settings and consider it's impact for what you may be trying to do:
    http://packageology.com/2014/02/overriding-group-policy-settings-app-v/
    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog:
    rorymon.com Twitter: @Rorymon

  • New Sequence Question - for slow motion video

    Hi,
    I'm a very new user of Premier.  I've recently had issues with choppy playback of my preview videos.  After much research I believe the issue was down to two things.  Firstly my sequence did not match my input clip, I had it set to my desired output.  Secondly, I was editing video across my network, rather than bringing it locally to my PC.  I've fixed the latter issue by copying video files to my local machine and then moving them back onto the network once I've finished editing.
    The advice out there essentially seems to be to match your sequence to your primary input video.  I've done that and it helps.  However, it's raised a big question for me.  My input video is from a GoPro and is at 1080p 50fps.  I ultimately want my output video to be slowed down to 25fps (resulting in a constant slow motion effect throughout the entire sequence). 
    If my sequence settings are set to match the input clip (50fps) and I slow the video down by 50%, will that result in an unsmooth video?  My basic understanding is that if I slow 50fps video down by 50% then Premier will have to double the amount of frames.  Where as previously, if I slowed it down by 50% Premier had enough frames to play with as the output video was 25fps.
    Hopefully my question makes sense!  Any advice on what the best approach is?  Or is this a complete non-issue when it comes to exporting the video (providing I export to a 25fps formart)?
    Thanks,

    I think you said it OK, you are just missing the right words to do what you want. Let's walk through this for you, and for others that might read it later.
    If you take a 50 frame per second video and put it into a sequence created from it, then slow it down 50% it doubles up each frame to achieve slow motion. Not what you want.
    If you take a 50 frame per second video and put it into a 25 fps sequence, it drops half the frames to play at normal speed. Not what you want.
    What you want to do is interpret the 50 fps video to 25 fps, then drop it into a 25 fps sequence. Each frame will play at 25 fps and generally be smooth as silk.
    I don't have any 50 fps clips handy, but here are examples of taking 60 fps to 30 fps. (Excuse the idiot way that we Americans do things. Our 30 is actually 29.97 etc)
    First, right click on the clip in the Project Panel, select Modify, and Interpret Footage. Then change the 50 to 25 - similar to this image:

Maybe you are looking for

  • How do I tell iTunes not to install on sync apps that I downloaded?

    I upgraded my SSD on my Mac and I thought I'd download all my apps so they were backed up on my computer. However, now iTunes tries to install them all on my iPhone whenever I try to sync it. I don't have nearly enough space on my iPhone so I always

  • "Could not save as a PDF because of a program error"

    Saving a Photoshop file as a PDF for emailing to someone else has always been complicated by the number of choices to be made, and now it's become impossible. Every time I try it now, I get this message, and I have to send a jpeg instead. I've tried

  • Best way to restore iPhone

    My iPhone 4S has been acting up and the Apple store told me to do a restore. I'm currently backing up to iCloud and am wondering if there's an easier way to restore if I use my Mac since retoring from iCloud takes FOREVER when it's putting all my app

  • Where are saved serial number before addimu00ABng the document

    Hi, I need to do some validations to the serial numbers chosen by the users before they add the document. Where can I find this information? Best Regards, Ana Silva

  • Auto fill problem

    Hi everyone, I just received a 2nd gen shuffle for Christmas. I have an HP pavillion ze 4300 running XP. I updated the iTunes software to the current edition (7.02 i believe) When I loaded my shuffle for the first time all went well and autofill load