Using a Heiarchical Tree with data that can be grouped

Hello Forum
I have been tasked with coming up with a selector for one of our applications that uses a tree. I have built a mock-up using the example provided at Craigs Oracle Stuff (https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-create-a-hierachical-tree-form) that subsuitutes our data in the SQL for his, and I have successfully added another loop as the data is located in 3 tables, but have come across a few issues. I have been searching the forums and google, but cannot find anything to solve the issues that I am having. Any help is appreciated. This is being developed in 10g. The data is structured as follows.
Category(root)
ID, Name
1, A
2, B
3, C
SubCategory (Level 2)
ID, Name, CatID
1, A, 1
2, B, 1
3, C, 1
Codes (Level 3 and beyond?)
ID SubCatID Description
1, 1, 'The, quick'
2, 1, 'The, quick, brown'
3, 1, 'The, quick, brown, fox, jumps'
4, 1, 'The, quick, brown, fox, jumps, over, the lazy, dog'
5, 2, 'Wafting, zephyrs, quickly, vexed, Jumbo'
6, 2, 'Wafting, zephyrs, quickly'
As you can see the codes table has a lot of repeating values that are delimited by ',' (commas). I can produce a tree out of the 3 tables but...
Problem:
The description in the codes table can be as many as 255 characters. The tree seems to truncate the values around 60 characters. I am not sure what the maximum data lenghts in the tree are, or if the max lengths are limited by the node or the entire tree. Although the Category and Subcategory names can be as much as 120 characters, they are more typically around 25 characters.
Could this problem be remedied buy deepeing the levels of the tree by grouping the values in the codes table on the comma delimiters? The max number of commas in the description is 9, so that would make the tree up to 11 levels deep. I know how to get the text between the commas, but am unsure how to link the data back to the parent
Ex. The tree would be
A
->A
->->The
->->->quick
->->->->brown
Thanks for any Assistance
Mike
EDIT: I found the reason that the label of the node is being limited in length. The limit is actually 50char because of this line in Craig's code in the Create_RG function:
gc_id := Add_Group_Column(rg_id, 'label', CHAR_COLUMN,50);
I changed the limit to 255 and now all of the data displays.
Although working now, I would still like to know id there is a way of grouping the data into the tree view, as this would make the tree much more readable.
Mike
Edited by: saskcivic on Feb 5, 2013 7:36 AM

hi,
In BI CONTENT,, v can just install any Object,,for that, matter,,just to make that object Active. So by Default it vll nt have any data. Install any Query data flow before and after, then select some master characteristics, and transaction data,,schedule them, Load the data,, then Ur Report Data vll display.
Cheers
Thanks

Similar Messages

  • Why my ipad warranty doesn't match with date that i bought? I bought ipad 4 yesterday but as you guys know it was already discontinued.. Has my ipad been used?

    Why my ipad warranty doesn't match with date that i bought? I bought ipad 4 yesterday but as you guys know it was already discontinued.. Has my ipad been used?
    I bought in 14 january 2014 and the expiration said it will be in 5 september 2014
    Is it mean that my ipad had been activated in 5 sept las year?
    But the packaging is good and it looks like very new.
    Please help me....
    I bought in IT plaza in kuala lumpur, malaysia..
    Heeellllppp...

    The merchant told me it is new. And when they opened the box and turn the ipad on, the ipad asked me to activate first.
    Is the 'restore to factory setting' can make us must activate the ipad again??

  • Maximum file size data that can be send to MQ using mq adapter

    Dear All,
    What is the maximum file size data that can be send to MQ using mq adapter ?
    The file can be csv, fixed , xml.
    Please let me know if anybody is aware of any limitations
    Best Regards
    Arc

    If you are on 10g then you are looking at a limit of 7MB, although any messages over 1MB will require some tuning.
    You can integrate using the native schema, or xml so you can use csv, fixed length, and xml files.
    cheers
    James

  • What is the easiest way to make a slide presentation DVD with music that can be played on PC or DVD player using MacBook Pro?

    What is the easiest way to make a slide presentation DVD with music that can be played on a PC or DVD player?  I'm using a MacBook Pro since that's the computer that has all the photos (in an album) and music.  Thanks.

    I would suggest that you post this to the Adobe Encore>Menus & Buttons forum. What you want to do, if I read correctly, is pretty simple. There will probalby be links available to step you though it. I'll look for this there, and start gathering some links.
    Good luck,
    Hunt

  • Problem in using AdvanceDataGrid as tree with drag n drop functionality

    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.

    Please don’t use this forum for support questions, go use flexcoders or the Adobe forums instead.
    Matt
    On 2/10/09 11:21 PM, "rakess" <
    [email protected]> wrote:
    A new discussion was started by rakess in
    Developers --
      Problem in using AdvanceDataGrid as tree with drag n drop functionality
    Hi All,
    I am using AdvancedDataGrid as tree for displaying my data. Within this ADG tree I have to enable drag n drop i.e. user can select one node and will able to drop that on another node within tree.  
    Overwritten dragDrop handler event for ADG.
    Issues: Not getting target node on which I am dropping currently selected node.
    View/reply at Problem in using AdvanceDataGrid as tree with drag n drop functionality <
    http://www.adobeforums.com/webx?13@@.59b7e11c>
    Replies by email are OK.
    Use the unsubscribe <
    http://www.adobeforums.com/webx?280@@.59b7e11c!folder=.3c060fa3>  form to cancel your email subscription.

  • I have a hard disk drive with data that i want to back up onto another hard disk drive. I tried just copy and it won't let me paste it in the new drive. I have also tried to drag the files across and they won't go across. Does anyone know how to do this?

    I have an external hard disk drive with data that I want to back up onto another extrnal hard disk drive. I have tried to copy and paste but this wont give me a paste option. I have also tried to click and drag but it wont let me either. I have reformatted the external hard drive to accept both mac and pc files and this did not make any difference. Can anyone help me with this?

    How did you reformat the drive? If you formatted it as NTFS, your Mac will not be able to write files to it unless you use a small application such as Paragon's.
    Please reply as to how you formatted the drive.
    Clinton

  • Querying cache with data that is large enough to fit into available memory

    Query on a cache would be applicable on the data that can fit into the cache storage as per the link http://coherence.oracle.com/display/COH35UG/Query+the+Cache. However there is also a mention about restricting the cache content along a specific dimension, so that the query actually knows what to expect from the cache.
    Generally any enterprise application would generate huge amount of data and practically it would be difficult to set the fix up the limit to a specific dimension. Fixing the limit is to decide on what else has to be taken from the persistent store.
    Please let me know if there are best practices defined in this regard?
    Edited by: Mahesh Kamath on Feb 5, 2010 3:16 AM

    Hi,
    Thanks for the clarification.
    Okay. So in a nutshell it sounds like you have data spanning a memory cache and living in a database and
    you want to be able to query the entire dataset, so you need someway to figure out what
    is in the cache and what is in the database?
    In general queries in Coherence only work against the cached data, and because of the LRU characteristics
    of memory caches its going to be really difficult to know at a point in time what set of information is living
    in memory and which has been evicted and persisted in the underlying database. If the dataset that spills
    over into a database is fringe (i.e. a small percentage of your total data), then the simplest solution is to
    add new cache servers to get you out of this problem (i.e. avoid databases). If the cache is just the tip
    of the iceberg of all your data than you probably want to have either a write-through or write-behind
    configuration and query the database directly (write-through will get you everything you put into a cache,
    while write-behind will get everything except for the most recent puts which are working their way to being written in batch).
    My guess is that retrieval of keys out of the database, and then retrieval of data through the cache using
    the keys would not be a good idea. For one thing if the database is substantially larger than the cache,
    the entire cache will get evicted by the query activity, which generally is a bad idea. More importantly the
    code path to get the data will be much longer and would result in N number of invocations of SQL as opposed
    to a single invocation of SQL with a cursor.
    Regards,
    Bob

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • How to save a Photoshop PDF file with fonts that can be detected in Acrobat?

    We created a PDF file using Photoshop CS5, for the purpose of using it as a watermark on documents.  We saved this file as Photoshop PDF file, but for some reason the fonts cannot be detected when the file is opened in Adobe Acrobat.
    We need it to be recognized by Acrobat so that we can easily add the watermark to documents on a regular basis.
    Right now, Acrobat cannot detect the fonts in this file -- even though it is a basic font like Arial -- so when we add the watermark to a document, the fonts in the watermark becomes very degraded in appearance.
    Any advice would be hugely appreciated!

    I've tried several settings when saving as a PDF, to try to produce a file with fonts that can be detected by Acrobat.  I tried the presets listed in guide: Photoshop Help | Saving PDF files
    But none have worked.
    I cannot use PNG because it is not one of the formats that Acrobat allows for a watermark.  And JPG doesn't work because I need transparency.

  • DeserializeJSON - is there a limit on the size of the JSON data that can be converted?

    I have some valid JSON data that's being converted successfully by DeserializeJSON... until it gets to a certain size, or that's certainly what appears to be happening.  The breaking point seems to be somewhere in the neighborhood of 35,000 characters... about 35KB.  When the conversion fails, it fails with a "JSON parsing failure: Unexpected end of JSON string" message.  And when the conversion fails, the JSON data is deemed to be valid per tools like this one:  http://www.freeformatter.com/json-validator.html.
    So, is there a limit on the size of the JSON data that can be converted by DeserializeJSON?
    Thanks!

    Thanks Carl.
    The JSON is being submitted in its entirety, confirmed by Fiddler.  And it's actually being successfully saved to a SQL Server nvarchar(MAX) field too.  I can validate that saved JSON.
    I'm actually grabbing the JSON to convert directly from the SQL Server, and your comments / thoughts led me down the path of resolution.
    Turns out that the JSON was being truncated prior to getting to the DeserializeJSON command, but it was the cfquery pull that was doing the truncating.  The fix was to enable "long text retrieval (CLOB)" for this datasource in CF Admin.  I'd never run into that before or even knew that this setting existed.
    Thanks again for your comments!

  • Web dynpro screen with multiple rows with columns that can be edited

    Web dynpro screen with multiple rows with columns that can be edited individually:
    Hi
    I am busy creating a screen in web dynpro for ABAP which we would like to make available via Portal ESS (Portal 7).
    I need to add 'n type of table (or almost something like Excel) or something in which someone can type a few paycode numbers (there should be lets say 10 blank rows in which info can be typed in and if I click on a button or so, more rows must be added if necessary.  Then in the other colums stuff like amounts must be entered which one should also be able to edit then and there.
    Can anyone assist in what I can use for this?  There does not seem to be some existing element that I can use.
    Help will be appreciated.
    Regards
    Debbie

    Hi Debbie,
    Whiel Creating table you need to be care full that use chose INPUT FIELD as the CELL EDITOR. Just guessing that if ur table is not editable u might have choosen TextView as default cell editor type.
    check link for details on TABLE UI
    [http://help.sap.com/saphelp_erp2005/helpdata/EN/b5/ac884118aa1709e10000000a155106/frameset.htm]
    easy way is to first add UI ELEMENT TABLE to your VIEW, then right click over it & select create binding from context. After you have a pop up where you can select what columns you want what should be its cell editor etc.
    Greetings
    Prashant

  • MAXIMUM SIZE OF DATA THAT CAN BE HANDELLED BY SOAP ADAPTER

    hi 2 all,
    Soap adapter is calling webservice through bpm.So i but its taking time to call the webservice.So i wanted to know,what is the maximum size of data that can be handelled by the adapter.

    There is no maximum size. It depends on your h/w configuration and also the consuming applications response times as well.
    Ideally a payload size of 5 - 10 MB provides the best performance.
    Regards
    Bhavesh
    PS: Please do not use Captials on the Internet.

  • Photoshop can not print the maximum amount of data that can be spooled to a PostScript printer is 2G

    Hi all,
    This is the first time I've worked with the .psb (large format) size and I have gone to print a PDF of the file and I get the message:
    "photoshop can not print this document because the document is too large. The maximum amount of data that can been spooled to a PostScript printer is 2GB".
    The file itself is a 2700x1570mm 300dpi flatten .psb image that is 500mb in size.
    Not sure how I can get around this, where abouts do I see the image size information that is being spooled?
    Any help would be great

    There's no easy way to see the size of the image that's being spooled, but 2G limit is uncompressed, 4 bytes per pixel (either RGBX where X is a padding byte, or CMYK, depending on the image / printer), times about 1.6 because the image data is sent in ASCII85 format rather than binary.
    With your image at over 100 inches at 300 dpi, you're also perilously close to the 32k limit on the pixels in any one dimension (31,900 by my calculations) that PostScript can handle.
    The limits are 32767 pixels in either dimension, and 2GB of data total. The data that's sent at 4 bytes per pixel, and converted to ASCII85 so that it'll make it across any connection. ASCII85 gives about a 1.6 expansion factor, if I remember correctly.
    Do you really need a 10 foot image printed at 300 dpi? If not, changing down to 200 dpi will probably let this image print.

  • When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totaly invisible why So ?

    When I try to use 'Stacked Column Bar'. with data assigned in the graphs, and want to see it in the 'Preview' mode in Xeclsius, I unable to see the graphs apart from the Axes ans Series Value, the graphs becomes totally invisible why So ?

    Hi Ranendra,
    For basic understanding of Dashboards and Models you can use standard Templates or samples which ll come along with dashboard designer(Formly Xcelsius) installation.
    For path   File-->Templates(or Samples).
    Under Templates you ll have different categories and for each you ll find the dashboard Templates.
    Regards,
    Venkat P

  • Limitation on data that can be fetched (ABAP RFC) via a Web Service?

    Hi,
    Is there any limit on the data that can be fetched via a Web Service (ABAP exposed as Web Service). I am trying to fetch PI monitoring data from ABAP Tables via a Web Service and there can be thousands of messages proceesed say in a day and what if user is provided the option of fetching messages for a specefic duration.
    Please advise.
    Neha

    Hello my friend
    If I understand your question correctly, there's an environment variable CPIC_MAX_CONV handles sessions between integration engine and adapter engine (ABAP and Java). By default, the value of this variable is 500, and you might want to increase it to 1000 at least, depends on system throughput. Recommended value from SAP for Production is 5000.
    Hopefully it's helpful,
    Effan

Maybe you are looking for

  • Hide Document Sturucture Field

    Hi Gurus How can we hide the document structure field in DMS tcodes (CV01N/ CV02N/ CV03N/ CV04N) Regards Harris

  • ITunes trashes almost every file on updates

    This is the second time iTune updates have trashed almost everything on iTunes. The first time was 8.1.1. Now it was 9.1.1. See a pattern here, Apple??? Yes I had to reenter all my files. But now have to redo my playlists from scratch. What a nightma

  • Scripting iPhoto, Graphic Converter - copy photo Comment to IPTC caption

    I want to select a bunch of photos in iPhoto and have the iPhoto comment for each file copied into its IPTC caption. The script below works without throwing an error but the IPTC caption contains some trailing garbage in about 1 out of 3 photos. How

  • Missing series in sequence

    Hi All I am using a sequence in one of reports.For this i have defined a sequence without cache inorder to generate numbers serially.In one instance it is working fine but in other instance few numbers are missing in the series.Please can anyone help

  • Cannot save library file message

    I am repeatedly getting an error message "The itunes library file cannot be saved an unknown error has occurred (-1450). When I start itunes, I have to manually add a temp file which only has some to my music. What do I do?