Designer datamodel questions

I've got a couple of questions about how to do a few tasks in Designer.  First, a little background:<br />I've got a dataconnection called "report_data" that's derived from and xml schema.  The structure of the schema is somehing like this: <br /><report><br />    <job_description><br />       <name/><br />       <start_date/><br />       <end_date/><br />    </job_description> <br />    <task><br />       <name/><br />       <description/><br />       <resource> <br />            <name/><br />            <cost/><br />       </resource><br />       <subtask><br />          <name/><br />          <description/><br />            <resource> <br />               <name/><br />               <cost/><br />           </resource><br />       </subtask><br />    <task><br /></report><br /><br />a report has a single jobdescription, and multiple tasks.  Each task has a name and decription, multiple resources, and multiple subtasks.  Each subtask has a name and description, and multiple resources.<br /><br />I've designed a report entry form, with multiple subforms for job_description, tasks, resources, and subtasks.  I've then bound these subforms to the datamodel.  This is all good and works.  The problems start occuring when I want this form to be dynamic.  The Task subform has a button "add_new_task", which adds a new task to the report.  It does this by calling a function "add_new_task()" in a script object.  The function is as follows:<br />function add_new_task(){<br />    var t_node = xfa.datasets.dataDescription.report.task.clone(1);<br />    t_node.resolveNode("name").value = "task " + (xfa.record.resolveNodes("task[*]").length + 1).toString();<br />    xfa.record.nodes.append(t_node);<br />    xfa.form.remerge();<br />}<br />This function appears to work, new instances of the task subform are appended to the document. <br /><br />The task subform also contains subtask subforms.  They are added with a button "add_new_subtask", that calls a function "add_new_subtask(task)".  the function is as follows:<br />function add_new_subtask(task){<br />    var st_node = xfa.datasets.dataDescription.report.task.subtask.clone(1);<br />    st_node.resolveNode("name").value = "subtask " + (xfa.record.resolveNodes("subtask[*]").length + 1).toString();<br />    task.nodes.append(s_node);<br />    xfa.form.remerge();<br />}<br /><br />The button click function is:<br />scripts.add_new_subtask(xfa.record.task);<br /><br />Resources work in a similar way.<br /><br />The problem is now that when I try to create subtasks, they are appended to the initial task, not the task associated with the current record.  Same thing for Resources.<br /><br />Doesn't xfa.record refer to the current record?  If not, how to I determine the current record?  xfa.dataWindow.currentRecordNumber is always returning 0.  I'm assuming that's because there is only 1 instance of the report.  How do I determine the record associated with a given subform?  Is there a better way than using the index of the subform and getting the record with the same index?

To determine the instance of the record associated with a given subform, you can get the subform's
index property value. Since new instances are created with the same name as siblings of one another, they end-up getting index numbers in order to make them unique.
For example, if you create a new instance of the Task subform, you'll have "Task[0]" and "Task[1]" where
this.index will be 0 or 1. If it's an object parented to the Task subform which needs to know the instance of the Task subform/record in which it occurs, you can use the
parent property to drill up to the Task subform which contains the object in question and then get its index property value.
Creating bookmarks is a little more complicated. Unfortunately, XFA doesn't support bookmarks so you have two options:
Use the xfa.host.setFocus("field name") method to set focus, when the user clicks a button, to a field somewhere on the form to have Acrobat automatically scroll the field in view and set focus to it (see post #6 of the
Links Within PDF thread for an example); or
Use the
target property of the event object you get in an XFA event script to access the Acrobat Document object and then programmatically add bookmarks to the form (but
this will only work if the form is viewed using Acrobat):
event.target.bookmarkRoot.createChild("Next Page", "this.pageNum++");
I'm not familiar enough with creating bookmarks in Acrobat to elaborate further on the subject but you can read more about it in the
Acrobat JavaScript Scripting Reference.
I hope this helps!
Stefan
Adobe Systems

Similar Messages

  • Cube or Ods design datamodelling question

    Hi gurus,
    I have below data coming from 2 different source in 2 different ods---
    ODS1
    INo....Lookup No.....Material....
    11.....a11..............mat1
    12....a12...............mat1
    13.....a13..............mat2
    14....a14...............mat2
    another datasource is bringing data in ods2 like below:::
    INo....IdentifierParent...Unique--Identifier......Valid from................Valid to
    11......777......................771.............................1/1/2010................12/1/2010
    12......777......................772.............................1/1/2010................12/1/2010
    13......778......................773.............................1/1/2010................12/1/2010
    14......778......................774.............................1/1/2010................12/1/2010
    Q1----now if i build ODS3 which has update rules of ODS1 & ODS2, with Key = INo.
    How will the data look like ?????
    Q2----If i build Infocube with update rules from ODS1 & ODS2 (no ods in between) how will the data look like
    Q3----also is there need of Key in Update rules from Ods to Infocube ??
    just tryinng to understand the data storage techniques in cubes vs ods
    and advantages of infocubes

    Hi,
    Here are the answers for your queries.
    Ans 1: If your ODS 3 is having Key a IN0 then this will be the data in ODS3 after completing loadind data from 2 ODSes
    INo....Lookup No.....Material...IdentifierParent...Unique--Identifier......Valid from................Valid to
    11.....a11..............mat1..........777......................771.............................1/1/2010................12/1/2010
    12....a12...............mat1.........777......................772.............................1/1/2010................12/1/2010
    13.....a13..............mat2........778......................773.............................1/1/2010................12/1/2010
    14....a14...............mat2.........778......................774.............................1/1/2010................12/1/2010
    Ans 2:
    If you do loading to Cube then all the records from the two ODSes will be added depending upon the sequence of the laod as shwon below
    INo....Lookup No.....Material...IdentifierParent...Unique--Identifier......Valid from................Valid to
    11.....a11..............mat1..........                       ...                           .......                  ..............          
    12....a12...............mat1..........                       ...                           .......                  ..............          
    13.....a13..............mat2..........                       ...                           .......                  ..............          
    14....a14...............mat2..........                       ...                           .......                  ..............          
    11...        .............      .......  777......................771.............................1/1/2010................12/1/2010
    12....        ...............     ........777......................772.............................1/1/2010................12/1/2010
    13.....        ..............     ........778......................773.............................1/1/2010................12/1/2010
    14....                            .........778......................774.............................1/1/2010................12/1/2010
    You need to goo for some lookup routines if you want to fill cube in similar manner the ODS 3 has data in it..
    Hope it helps you...

  • Misc Basic PL/SQL Application Design/Programming Questions 101 (101.1)

    ---****** background for all these questions is at bottom of this post:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. In other words, I'm calling my function
    get_something(IN p_test1 varchar2) return varchar2;
    from SP1 which has a variable named V_TEST1.
    So.... can I do this? (method A):
    get_something(V_TEST1);
    or do I have to do this (method B):
    V_TEST1 := get_something(V_TEST1);
    Also, although this may muddy the thread (we'll see), it seems to me that IN, since its by reference, will always be more efficient. I will have many concurrent users using this program: should this affect my thinking on the above question?
    -- ******* background *******
    So Far:<< I've read and am reading all over the net, read and reading oracle books from oracle (have a full safari account), reading Feurstein's tome, have read the faq's here.
    Situation Bottom Line:<< Have an enormous amount to do in a very little time. Lots riding on this. Any and all pointers will be appreciated. After we get to some undetermined point I can re-do this venture as a pl/sql faq and submit it for posting (y'alls call). Some questions may be hare brained just because I'm freaking out a little bit.
    Situation (Long Version):<< Writing a pl/sql backend to MS Reporting Services front end. Just started doing pl/sql about 2 months ago. Took me forever to find out about ref-cursor as the pipe between oracle and all client applications. I have now created a package. I've been programming for 20 years in many languages, but brand new to pl/sql. However, pl/sql sql has freed me from myriad of limitations in MS RS's. My program is starting to get big (for me -- I do a lot in a little) pks is currently 900 lines with 15 functions so far. Currently SP (pls) is back up to 800 lines. I get stuff working in the sp then turn it into a function and move it to the package.
    What does application do?:<<<< Back End for MS Reporting Services Web front end. It will be a very controlled "ad-hoc" (or the illusion of ad-hoc) web interface. All sql queries are built at run-time and executed via "open ref cusor for -- sql statement -- end;" data returned via OUT ref_cursor. Goal is to have almost 100% of functionality in a package. Calling SP will be minimalist. Reporting Services calls the SP, passes X number of parameters, and gets the ref_cursor back.
    Oracle Version: 10.2 (moving to 11g in the next 3 months).Environment: Huge DW in a massively shared environment. Everything is locked down and requires a formal request. I had to have my authenticated for a couple dbms system packages just to starting simple pl/sql programs.

    Brad Bueche wrote:
    Question 1:
    I read a little on the in and out parameters and that IN is "by reference" and OUT and IN-OUT are by value. To me "by reference" means "pointer" as in C programming. So it seems to me that I could call a function with an IN parameter and NOT put it on the right side of an assignment statement. The IN parameter is not passing by reference. It is passing by value. This means variable/value of the caller used as parameter, is copied to the (pushed) stack of code unit called.
    An OUT parameter means that the value is copied from the called unit's stack to the caller (and the current value of the caller's variable is overwritten).
    To pass by reference, the NOCOPY clause need to be used. Note that is not an explicit compile instruction. The PL/SQL engine could very well decide to pass by value and not reference instead (depending on the data type used).
    Note that the ref cursor data type and the LOB data types are already pointers. In which case these are not passed reference as they are already references.
    The NOCOPY clause only make sense for large varchar2 variables (these can be up to 32KB in PL/SQL) and for collection/array data type variables.
    As for optimising PL/SQL code - there are a number of approaches (and not just passing by reference). Deterministic functions can be defined. PL/SQL code can be written (as pipelined tables) to run in parallel using the default Oracle Parallel Query feature. PL/SQL can be manually parallelised. Context switches to the SQL engine can be minimised using bulk processing. Etc.
    Much of the performance will however come down to 2 basic issues. How well the data structures being processed are designed. How well the code itself is modularised and written.

  • Forum for graphic design related questions?

    Does anyone know of any good graphic design discussion forums? I'm looking for a place to ask questions about typography, color, layout, etc.
    Thanks in advance.

    Not as much activity on soem of these, btu here are some good ones
    http://typophile.com/
    http://www.underconsideration.com/brandnew/
    http://www.howdesign.com/forum/

  • Simple Design Analysis Question before designing dimensions and facts

    Hi I have a simple question ... (I think its simple)
    Suppose that i have the following staging table with the following columns:
    Student_Name | RollNo | Test_Date | Subject-Taken
    with data such as
    Kevin |123|12-4-2010|Physics
    now suppose that I want to design a cube on the basis of the above table so that I can succesfully get the result of a query such as
    List the names of all those students who took the test b/w 12-4-2010 to 12-5-2010 of the Subject Physics
    Here what i need to know what dimensions/Levels would u set and what would be our fact?
    I think that one dimension would be time ( but i am not sure how i would  accommodate and handle duration... any idea )
    would it be wise to make each column a dimension ??? for example the student_nanme a dimension and details of the student its attributes??
    Anyways the main thing is what bothers me is looking at the query we see that we are required 3 things the name of the student , the TestDate and subject taken so if i make the 3 columns the  dimension i am still not sure that i would be able to acomodate the query properly...any ideas on how to approach and handle these situations
    Edited by: Johnacandy on Dec 14, 2010 9:26 AM

    ScoobySi wrote:
    Yes I mean Time dimension, however in a DW you will have many Time dimensions, instead of creating a physical object for each you use a ROLE. If you edit a dimension in OWB you'll see that you can specify a ROLE on the first tab.
    Thanks for the great explaination... could you explain the process of roles a little more that will really save me some time... furthermore u stated
    + "instead of creating a physical object for each you use a ROLE" +
    The way i create dimensions is right clicking dimensions and selecting dimension.... for a standard dimension
    however incase of a time dimension i use a wizard... I am still a bit confused about "Physical objects" ... Id really really appreciated it if you can clarify this up...
    as discussed before one dimension would be Student and other would be subject
    and 3rd one would be TEST_DATE with role ?? and should that be a time_dimension or a standard dimension with a role defined ???

  • Design View question

    Good evening,
    I'm working on a site using a Dreamweaver template and for
    some reason my "Design View" shows up only like you'll see in the
    top image on this page:
    http://community.middlebury.edu/~nmeiers/question.htm
    I want the pages to appear like the template I put on the
    bottom so I can see the design. It used to look like that and I
    don't know what I changed. Any ideas?
    (Yeah, I know Design View isn't ideal, but I'm not very good
    at this and I like seeing the graphics.)
    Thank you,
    Nick

    Looks like for the top image the style sheet isn't attached.
    Walt
    "Topkdlfs" <[email protected]> wrote in
    message
    news:gcro26$pnf$[email protected]..
    > Good evening,
    > I'm working on a site using a Dreamweaver template and
    for some reason my
    > "Design View" shows up only like you'll see in the top
    image on this page:
    >
    >
    http://community.middlebury.edu/~nmeiers/question.htm
    >
    > I want the pages to appear like the template I put on
    the bottom so I can
    > see
    > the design. It used to look like that and I don't know
    what I changed. Any
    > ideas?
    >
    > (Yeah, I know Design View isn't ideal, but I'm not very
    good at this and I
    > like seeing the graphics.)
    >
    > Thank you,
    > Nick
    >

  • Layout / Design View questions

    This is the sort of thing I've wondered about before, but
    would really like to get to the bottom of.
    Sometimes things seem to go a bit funny in design view -
    although the page will display correctly in a browser - but can
    anyone let me know if there is something not quite right somewhere,
    or if it actually really matters?
    As an example, I've posted some screenshots on the link
    below. The only difference is that the 'footer' div has been added
    to the second page. They're both fine in the browser, but as you
    can see from the screenshots, the first is fine in design view, but
    the second (the bottom two screenshots) it all looks wrong.
    Basically is this anything to worry about?
    Even if it isn't, it is a bit annoying, as from a design POV
    it's good to see things as they should be!
    screenshot
    1
    My second question is about TD widths - in these pages I have
    a wrapper div set at 780px, and in the table containing the
    navigation, they navigation buttons/graphics seem to need to be one
    px narrower than they actually are (54 instead of 55px etc) in
    order for them to line up to the total 780px, as per the screenshot
    below :
    screenshot
    2
    If anyone could shed any light on any of this it would be
    greatly appreciated.
    Cheers,
    Iain

    dukla wrote:
    > Basically is this anything to worry about?
    No its nothing to worry about.
    I don't know what version of DW you are using but all
    versions up to
    2004 didn't handle css that well.
    I believe DW8 has improved. However having said that I have
    found a lot
    of the time that it also has a lot to do with how you write
    the css. I
    can't believe version 8 can possible cover all eventualities
    so it
    probably still shows the odd thing or two incorrectly.
    Personally I never had much trouble with DW04. It works
    pretty well with
    the css I write.
    > Even if it isn't, it is a bit annoying, as from a design
    POV it's good to see
    > things as they should be!
    Yeah it does get a bit annoying but you have to work through
    it.
    > My second question is about TD widths - in these pages I
    have a wrapper div
    > set at 780px, and in the table containing the
    navigation, they navigation
    > buttons/graphics seem to need to be one px narrower than
    they actually are (54
    > instead of 55px etc) in order for them to line up to the
    total 780px, as per
    > the screenshot below :
    >
    >
    http://www.handprintwebdesign.co.uk/CollinsBartholomew/tableDesign.htm
    >
    > If anyone could shed any light on any of this it would
    be greatly appreciated.
    I don't think this web thing is totally precise and sometimes
    you have
    to 'hack' it to do the job. Usually if thing are a px out I
    don't bother
    unless it screws the design up in too mmnay browsers.

  • Regarding Designing Datamodels

    Experts need suggestion as our client has a transactional data of reporting requirement.
    Now i need to design Infocube as per our client suggestion as he needs only Infocube.
    How i should design dimensions for a sound datamodel by taking into Performance considerations.
    Can anybody please suggest me.

    Hello,
    what is bitmap and btree index?      link for Indexes
    any relation between indexes and high cardinality.............      link for cardinality.
    It will help you...
    Regards,

  • ACE: design/config question: trans.slb + slb + mngt

    Hi,
    Could this ACE setup/design work?
    I want PROXIED sessions (to VIP proxy 10.0.0.10) to be loadbalanced
    All other sessions (eg. Some public ip's) will have to transparent loadbalanced to proxy servers. Thus not destinations NAT
    ACE is inline between firewalls and proxy servers.
    Vip definitions:
    class-map match-all P_PXYVIP_VS_LB
    2 match virtual-address 10.0.0.10 255.255.255.255 tcp 8080
    class-map match-all P_PXYTRANS_VS_LB
    2 match virtual-address 0.0.0.0 0.0.0.0 tcp any
    Question in this case: would it still be possible to have management sessions towards proxy servers routed by the ACE ? (physical ip addresses of proxy)
    Probably the classmap PXYTRANS is catching those sessies also.
    Are there other design/config solutions to solve this one?
    Thank you!
    Wim

    Let me repose the question:
    How could one still be able to access the realserver IP (which is directly connected
    to the ACE) for manangement.
    Knowing that there is 1 VIP which (normal) loadbalance to the realservers
    and
    there is 1 VIP 0.0.0.0 tcp any which is configure to catch all other traffic to be
    transparant loadbalanced.
    The VIP 0.0.0.0 is always catching the sessions which need only to be routed
    to the real servers ip.

  • Designing internationalization questions

    We are building a mid-size to large JEE multi-tiered application. We have not done internationalization before and I have a few questions about the designing before I begin. I have read the tutorial, and many other articles, and kind of understand how it all works, but have a few questions that might be better suited to some people with real world experience. For now I am focusing on the Client side of the application so labels, checkboxes, tooltips, buttons..... mostly UI things. The application is currently only in English, but in the future could be in other languages
    1) When building the properties files is the best route to build a separate file for each UI java file (there are many), or one properties file for the whole client side application, or one properties file per package? What is best in the real world for maintenance, performance and adding other locals as needed.
    2) Is the best practice to store these properties files in the each source code package or design another package that mirrors what the source package looks like for the properties files.
    3) When the application is finished would it be best to keep all the resource files in a separate jar?
    If anyone has some real world expertise for us to avoid some mishaps in the future they would be greatly. Any advice or explanations would be great as well.
    Thanks

    In my experience, the greatest problem is none of the three questions that you ask. For me, the problem is how to manage key names. You must remember them and make no typing mistakes. Therefore, I try to create enums for the keys. In most IDE's one has a type ahead function to aid in selecting a proper member of some class. Please have a look at the following example (that can be extended, but it gives an idea):
    import java.util.Enumeration;
    import java.util.ResourceBundle;
    import java.util.Vector;
    public class ResourceBundleWithEnums extends ResourceBundle {
        public enum Key {
          * The text of a label.
         LabelText("A label"),
          * The text of a button.
         ButtonText("A button"),
         private final String value;
         private Key(String value) {
             this.value = value;
        private static final Vector<String> keyStrings;
        static {
         Key[] keys = Key.values();
         keyStrings = new Vector<String>();
         for (Key key : keys) {
             keyStrings.add(key.name());
        public static void main(String[] args) {
         ResourceBundle bundle = ResourceBundle
              .getBundle(ResourceBundleWithEnums.class.getName());
         System.out.println(bundle.getString(Key.ButtonText.name()));
         Enumeration<String> enumeration = bundle.getKeys();
         while (enumeration.hasMoreElements()) {
             String key = enumeration.nextElement();
             System.out.println(key + " = " + bundle.getString(key));
        @Override
        public Enumeration<String> getKeys() {
         return keyStrings.elements();
        @Override
        protected Object handleGetObject(String key) {
         try {
             return Key.valueOf(key).value;
         } catch (Exception e) {
             return null;
    }For your translations, you may design some editor that creates properties files.
    Hope this helps,
    Piet

  • Adobe LiveCycle Designer 8 Questions Go Here

    You can use this forum for questions relating to Adobe LiveCycle Designer 8. LiveCycle Designer 8 is available as part of the trial for Adobe Acrobat Professional 8, and will be available in a standalone version in 2007.
    There are a lot of improvements to Designer in LiveCycle Designer 8, but the main concepts and UI is the same. Because of that, we won't be creating a seperate forum for LC Designer 8, we'll use this same forum (which has been renamed to just "LiveCycle Designer".
    If you have questions, please post them in this thread.
    Thanks!
    Mike

    Just upgraded to Acrobat 8. My users are now receiving a warning when the form is opened in adobe reader 7.0.8 that says "WARNING, this form is not supported with the current version of adobe reader. Upgrade tot he latest version for full support." THis message seems to stay for quite a while, and is confusing the users who have the latest version of adobe reader.

  • Absolute beginner: shirt design related questions

    hi all. i thought i'd be as detailed as possible to give you an idea of what my questions are:
    i have some hand-drawn art/design for a t-shirt. so i took some pictures, and my daughter opened them up in photoshop elements 6. she was able to easily trace over my pencil lines, BUT the lines were not smooth at all. say i drew a circle. it is not so much that it is not a perfect circle, especially if free-handed, but that the edges of the line of that circle are not smooth.
    turns out elements can't do that, after i called adobe. they suggested illustrator, which i am currently demo'ing. when i had my daughter (she's 17, been playing with elements rather well) try to do it illustrator, it wasn't as intuitive as both of us thought. it's gotten her stumped.
    for the most part, that's all i want to do. pull up a picture of a hand-drawn sketch, and draw it in illustrator with some smooth lines. i would very much appreciate some guidance on what to do!
    stumped!
    THANKS IN ADVANCE.
    jack

    Jack,
    When you start from scratch in this kind of program, you just have to read the instructions. Otherwise, you'll be floundering about forever being confused. Vector drawing programs like Illustrator are not immediately intuitive to someone who is accustomed only to working in raster image programs (i.e.; Photoshop, etc.).
    Vector graphics is the "other half" of the computer graphics world. In a program like Illustrator, you're not recoloring pixels; you're creating and manipulating objects, most of which are mathematically-defined shapes called paths. You draw paths, give them strokes and/or fills, move them about, stack them, scale them, arrange them so that together they comprise a piece of artwork.
    Go to the help files, start at the beginning, read through it like a book, perform the operations described. You'll then get the conceptual principles down and start using the thing with much less frustration. It will take time. This isn't the kind of graphics program you just dive into blind, have someone tell you a few command sequences, and start doing productive work in. You have to read the instructions.
    JET

  • PKI Design / Migration - Questions

    Hello,
    Our organization currently uses a single-tier enterprise root CA for issuing certificates; We are growing and I would like redo this design in accordance with MS Best practice.  
    I just have a few questions:
    My original thought was to add an enterprise subordinate CA and decom the Enterprise root CA we currently have running but I am not sure if this possible or recommended as I am reading many articles stating that you should deploy a standalone root CA (offline)
    then create a enterprise subordinate CA for issuing certificates.  
    If this is the case how would I migrate servers / users over to use the new PKI infrastructure without causing service disruptions? 
    Thank You

    I just want to have some answers to give MGMT when they ask.
    Here's your own answer:
    ...and I would like redo this design
    in accordance with MS Best practice.  
    Brian gave you best practice.
    1 X standalone root CA (off line) – for security
    2 X issuing CA's - Enterprise subordinate CA:
    2X - for redundancy
    Enterprise – so that they use AD for certs, CRL, autoenrollment etc.
    I would also add that if you will not be revoking existing certs issued by the old CA, you may increase CRL publication interval on the old CA from default one day to 99 years. This basically leaves you with static CRL and static CDP web site (you don't
    need to publish CRL on the old CA each day).
    http://blogs.technet.com/b/pki/archive/2012/01/27/steps-needed-to-decommission-an-old-certification-authority-without-affecting-previously-issued-certificates-and-then-switching-all-operations-to-a-new-certification-authority.aspx

  • Query Design/Implementation Question

    Hi,
    I have to query the database based on different input values from a JSP page. So, A user can query the database based on one or more fields. My question to you is what would be an efficient way to write the queries or implement this using JDBC. Should I write PreparedStatements for every possible combination of the query fields. Should I write stored procedures ? I had problems with the PreparedStatement earlier and I still do, so just to keep my developement going I wrote a stored procedure. If you read my previous post you can read the whole story.
    So, this is more of a design question. Let the ideas flow.
    Any help or suggestion will be appreciated.
    Thanks,
    Prasoon

    Hi Justin,
    This I got from an earlier post on this forum and you said that doing this was a very bad idea. Why ? I am doing this just as a workaround to my current problem.
    So, basically I would have a temporary table for every query field in my JSP page. This table I would create in separate stored procedures and then finally do an AND to get the result ?
    This feels dirty to me too but can u suggest a better way ?
    Thanks,
    Prasoon
    stored procedure, temporary table, and result sets Nov 6, 2003 6:39 PM
    Reply
    Pls, Help me with the folloing questions:
    1. Is it possible to declare and use temporary tables in a stored procedure? How?
    2. Is it possible to return a result set, or recordset from a stored procedure? How?
    These might be a very basic one, but as a beginer in Oracle Databse, I am having hard time to find out good source of technical materials.
    Justin Cave
    Posts: 5,786
    OTN Member Since: Oct, 1999
    Re: stored procedure, temporary table, and result sets ( In Reply To : stored procedure, temporary table, and result sets ) Nov 6, 2003 7:17 PM
    Reply
    1) You certainly can declare and use temporary tables in a stored procedure. On the other hand, doing so strikes me as a manifestly bad idea, so I would strongly caution you not to. If you explain a bit about what you're trying to accomplish, I'm sure there are better ways.
    If you did want to create temporary tables in a stored procedure, you'd have to use dynamic sql, i.e.
    execute immediate 'create temporary table foo...'
    2) You can return resultsets from a stored procedure by declaring an OUT parameter which is a REF CURSOR.
    Justin
    Distributed Database Consulting, Inc.
    www.ddbcinc.com/askDDBC

  • Technical Design Review Question: mySAP Execution Architecture.

    I got my hands on technical design documentation for a project on COPA budget. I came up with a few questions but I will post them separately for fast closing and awards:
    1. In the Requirements discussion, I came across something
    “Job naming conventions apply… and completion of Autosys Job Schedule request form is required….Forward this form to the mySAP Execution Architecture team for processing”
    Is this a an internal team or it refers to some group at SAP company?
    Is the Autosys Job Schedule request form a standard for or you think the environment had just come up a form for their internal processes? What may this include?
    Thanks.

    Hi,
    If I understood correctly, The organization wants to maintain a document on jobs to be maintained regularly in production system. It will be used as a  reference in the support of BW production activities.
    I hope, the mySAP Execution Architecture team for processing is the internal team from your client.
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

Maybe you are looking for

  • Global Report Attributes

    Marc: Is there a way to specify Global Report Attributes that would apply to all report regions on any page in the application? For example, I would like all columns with an alias of, say customer_name to be assigned to a CSS class of customer_name.

  • @-moz-keyframes does not seem to work in cs 5.5

    I have difficulties when editing a CSS style in CS5.5. Dreamweaver accepts @-webkit-keyframes [id]... and @keyframes [id]... without any problems. Only when I try do use @-moz-keyframes [id]... the editor does not seem to accept the term. Usually the

  • PDF file displays different number of text blocks in Acrobat Pro CC 2014 and CS6 versions

    Hi, I've inherited a file at work that displays different numbers of text blocks, depending on the version of Acrobat Pro used to view the file. Here's the specific issue: As viewed in CC 2014: "Chapter 1 - Chapter One Title": Appears as two text blo

  • How do I acces a var from the main time line in to a movieclip?

    I'm making a quiz-type animation, since I'm new with ActionScript I had developed my own way to make this work. I want to add like a meter that shows one out three position depending on the answer given, I had made this animation as a movieclip but n

  • IP ADDRESSING FOR THREE SITES .

    HELLO, I AM HAVING THREE SITES HEAD OFFICE WITH ROUTER,FIREWALL,SWITCHES,SERVERS & PC'S AROUND 80-120 NODES. TWO REMOTE SITES WITH ROUTER,SWITCH & PC'S AROUND 40-50 EACH SITE. AND ONE WAREHOUSE WITH THREE PC'S. PLEASE HELP ME WHICH CLASS IP'S TO USE.