Hierarchical Tree not showing using a record group to populate
Hi, I am trying to set up an hierarchical tree. Can someone please give me the exact steps I need to take to get this right.
I am trying to create a hierarchical tree to behave like a menu on a Main form from where I will call the other forms of my application.
I have done the following
select 1, level, null, form_name, form_name
from iso_forms
connect by prior form_name=action
start with action is null
and get this when I run the statement in pl/sql
1 LEVEL NULL FORM_NAME FORM_NAME
1 1 Edit Edit
1 2 Holder Holder
1 2 Isotopes Isotopes
1 2 Laboratories Laboratories
1 2 Personal Personal
1 2 Incident Incident
1 2 Equipment Equipment
1 2 Over Exposure Over Exposure
1 2 Archive Archive
1 1 Print Print
1 1 Queries Queries
My tree on my main form is still blank, I have checked that the tree is the only item in the block but I am not sure how to confirm that it is a control block. I created the tree in layout editor by clicking on the Hierarchical Tree icon on the left and then dragging out a block, so I am assuming that the block is of the correct type.
Thank you for your assistance
Michael
a control block is one not based on a table/view/procedure . check the block's query data source name. its must be blank.
I suggest you create a procedure where you create the record_group using
CREATE_GROUP_FROM_QUERY,populate_group and ftree.set_tree_property
Here is my code that I i used to populate my tree .it works:
PROCEDURE populate_the_tree IS
grp recordgroup;
error_number number;
grpname varchar2(20) :='rg_group';
tree_id item :=find_item('ctrl.tree');
grp_qry2 varchar2(500) :='select -1,level,ename,null,empno from emp start with mgr is null connect by prior empno=mgr';
begin
grp := find_group(grpname);
if not id_null(grp)
then delete_group(grp);
end if;
-- grp := create_group_from_query(grpname,grp_qry1||grp_qry2);
grp := create_group_from_query(grpname,grp_qry2);
error_number:=populate_group(grpname);
if error_number <> 0
then message('Error while populating tree');
raise form_trigger_failure;
end if;
ftree.set_tree_property(tree_id,ftree.record_group,grp);
END;
Message was edited by:
lewismak2000
Similar Messages
-
Hi, My hierarchical tree is not showing on the form, I have the following situation;
I have a table with the parent and child coloumns, I have created a Record_Group using a query that I have tested in PL/SQL it works
select 1, level, form_name
from iso_forms
connect by prior form_name=action
start with action is null
The rsult is
1 LEVEL FORM_NAME
1 1 Edit
1 2 Holder
1 2 Isotopes
1 2 Laboratories
1 2 Personal
1 2 Incident
1 2 Equipment
1 2 Over Exposure
1 2 Archive
1 1 Print
1 1 Queries
11 rows selected.
I have set in the properties of the tree to use the Record_Group that has this query, but when I run the form I only see a blank square where the tree should be showing.
Can anyone tell me what I am doing wrong?
Thank you
Michaela control block is one not based on a table/view/procedure . check the block's query data source name. its must be blank.
I suggest you create a procedure where you create the record_group using
CREATE_GROUP_FROM_QUERY,populate_group and ftree.set_tree_property
Here is my code that I i used to populate my tree .it works:
PROCEDURE populate_the_tree IS
grp recordgroup;
error_number number;
grpname varchar2(20) :='rg_group';
tree_id item :=find_item('ctrl.tree');
grp_qry2 varchar2(500) :='select -1,level,ename,null,empno from emp start with mgr is null connect by prior empno=mgr';
begin
grp := find_group(grpname);
if not id_null(grp)
then delete_group(grp);
end if;
-- grp := create_group_from_query(grpname,grp_qry1||grp_qry2);
grp := create_group_from_query(grpname,grp_qry2);
error_number:=populate_group(grpname);
if error_number <> 0
then message('Error while populating tree');
raise form_trigger_failure;
end if;
ftree.set_tree_property(tree_id,ftree.record_group,grp);
END;
Message was edited by:
lewismak2000 -
Hierarchical tree not showing up while running the form
Hi Gurus,
I have a problem while running forms in 10g AS.
The hierarchical tree control is showing up when I run the form in my local development (win xp) system. But, when I run the same form through my 10g Application server(linux), the hierarchical tree control is not showing up.
Can anyone suggest some solutions ?
Thanks in advance.
Sundar KHi Andreas,
Thanks for the reply.
The form shows a blank square-box, instead hiearchical tree. I can see other controls like text-box, LOV, command button on the same form.
The java console shows,
Downloading http://test.abits.com:7778/forms/java/frmall_jinit.jar to JAR cache
Downloading http://test.abits.com:7778/forms/java/f60tree.jar to JAR cache
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
The problem persist, even though I change the appsweb.cfg file to use frmall.jar instead of frmall_jinit.jar.
I'm using 10g application server (iAS 10.1.2.0.2).
Kindly advise. Thanks in advance.
Sundar K -
Vertical scrollbar not showing all the records when I scroll down.
Vertical scrollbar not showing all the records when I scroll down.
Using Oracle forms 10g , operating system windows
I have two fields with number of items dispayed = 15.
I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
Here are the properties for block / scrollbar.
WORK_CATEGORY
- Subclass Information
- Comments
* Navigation Style Same Record
- Previous Navigation Data Block
- Next Navigation Data Block
- Current Record Visual Attribute Group
- Query Array Size 0
- Number of Records Buffered 0
* Number of Records Displayed 60
* Query All Records No
- Record Orientation Vertical
* Single Record No
- Database Data Block Yes
- Enforce Primary Key No
- Query Allowed Yes
- Query Data Source Type Table
* Query Data Source Name WORK_CATEGORY
* Query Data Source Columns
* Column Name JOB_TYPE
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
* Column Name WORK_CATEGORY
* Column Type VARCHAR2
- Column Type Name
- Parent Column
* Length 30
* Precision 0
* Scale 0
* Mandatory Yes
- Query Data Source Arguments
- Alias
- Include REF Item No
* WHERE Clause
* ORDER BY Clause job_type
- Optimizer Hint
- Insert Allowed Yes
- Update Allowed Yes
- Locking Mode Automatic
- Delete Allowed Yes
- Key Mode Automatic
- Update Changed Columns Only No
- Enforce Column Security No
- Maximum Query Time 0
* Maximum Records Fetched 0
- DML Data Target Type Table
- DML Data Target Name
- Insert Procedure Name
- Insert Procedure Result Set Columns
- Insert Procedure Arguments
- Update Procedure Name
- Update Procedure Result Set Columns
- Update Procedure Arguments
Don't know where am I going wrong. I'll really appreciate if you can help me in this.
Thanks.
Edited by: 831050 on Sep 14, 2011 8:05 AMOne of the items is a list item.. here are it's properties:
* Name JOB_TYPE
* Item Type List Item
- Subclass Information
- Comments
- Help Book Topic
- Enabled Yes
* Elements in List
* Label
* List Item Value LIST20
* List Style Combo Box
- Mapping of Other Values
- Implementation Class
- Case Restriction Mixed
- Popup Menu
- Keyboard Navigable Yes
- Mouse Navigate Yes
- Previous Navigation Item
- Next Navigation Item
- Data Type Char
- Data Length Semantics Null
- Maximum Length 30
- Initial Value
* Required Yes
* Copy Value from Item
- Synchronize with Item
- Calculation Mode None
- Formula
- Summary Function None
- Summarized Block
- Summarized Item
- Current Record Visual Attribute Group
- Distance Between Records 0
* Number of Items Displayed 15
- Database Item Yes
* Column Name JOB_TYPE
- Primary Key No
- Query Only No
- Query Allowed Yes
- Insert Allowed Yes
- Update Allowed Yes
- Update Only if NULL No
- Visible Yes
* Canvas CANVAS2
- Tab Page
* X Position 47
* Y Position 137
* Width 187
* Height 18
- Visual Attribute Group DEFAULT
- Prompt Visual Attribute Group DEFAULT
- Foreground Color
* Background Color white
- Fill Pattern
- Font
* Font Name Tahoma
* Font Size 10
* Font Weight Demilight
* Font Style Plain
* Font Spacing Normal
* Prompt Job Type
- Prompt Display Style First Record
* Prompt Justification Start
* Prompt Attachment Edge Top
- Prompt Alignment Start
* Prompt Attachment Offset 10
* Prompt Alignment Offset 0
- Prompt Reading Order Default
- Prompt Foreground Color
- Prompt Font
* Prompt Font Name Tahoma
* Prompt Font Size 10
* Prompt Font Weight Bold
* Prompt Font Style Plain
* Prompt Font Spacing Normal
- Hint
- Display Hint Automatically No
- Tooltip
- Tooltip Visual Attribute Group
- Direction Default
- Initial Keyboard State Default
- Keyboard State Any
-
Machines not showing up in AD group based collections in CM 2012
Hey Folks
I am facing a wired issue, with collection based on AD group. We have added multiple machines to a AD security group. All these machines are already discovered in CM12. AD group has been added in AD group discovery & we a collection is created based
on this particular AD group. The issue is that there are few machines which are not showing up in AD group collection.I have tried to manually update collection membership, run full discovery : AD system discovery & AD group discovery. When i check that
machines properties in SCCM console the specified AD Group is not showing there. Not sure how do i proceed further.
Thanks in anticipation.
SumitWe need the your collection query and colleval.log to check the issue. Can you please provide the info here?
Juke Chou
TechNet Community Support -
Users added to Profile Manager not showing up in everyone group
So profile manager was working quite well until I made a change to the workgroup group.
I removed the password policy from the workgroup group and added a new group for the password policy so we could essentially still manage non user assigned iOS devices.
Now when I add a new user to the workgroup group on the server I have them login to the mydevices site so we can enroll the device and they can login but are immediately presented with:
"You do not have permission to access the page you were looking for. Contact your system administrator."
In troubleshooting the issue I noticed that new users being added are not showing up the in the everyone group which is preventing the users from having proper access. Prior to all this I could add a user and they would show up in everyone as intended.
Any thoughts?I'm not sure if this is the same issue, but I have a user in Server.app that is not showing up in Users group. She is listed in her sub-group, but I cannot add devices to her account. When I click on the arrow next to her name in the sub-group, it takes me to the Users list to the top user.
Any thoughts? -
Passing parameter to record group to populate a list of value
i have a record group that populate a list of values
rg_id := Create_Group_From_Query( rg_name,
'SELECT USER_ID USER_ID,'
|| 'TO_CHAR(USER_ID) USER_ID2 '
||'FROM USER_LIST '
||'ORDER BY 2');
but haw i can pass a parameter (the value of a field) in the query that have the ' ' ??
i try this
rg_id := Create_Group_From_Query( rg_name,
'SELECT USER_ID USER_ID,'
|| 'TO_CHAR(USER_ID) USER_ID2 '
||'FROM USER_LIST WHERE USER_A = ' || :B0.FILED1 ||
||'ORDER BY 2');
BUT SEEM NOT WORKING !!!
ANY IDEA ??ok , thank's work very well, but i have a little problem :
the first time that i choose a value from the first list the second become populate very well, but the second time and over, the second list don't change and remeber the first choise.
rg_id := Find_Group( rg_name );
VAR_SQL := 'SELECT USER_ID USER_ID, TO_CHAR(USER_ID) USER_ID2 FROM USER_LIST WHERE USER_AGENZIA = ''' || :B0.USER_AGENZIA || ''' ORDER BY 2';
IF Id_Null(rg_id) THEN
rg_id := Create_Group_From_Query( rg_name, VAR_SQL);
END IF;
errcode := Populate_Group( rg_id );
Populate_List('B0.USER_ID', RG_ID);
may be the populate_group ?? -
CRXI & CR9 - Group Tree not showing/available
I have a report where the Group Tree is NOT showing for both CRXI & CR9! Display Group Tree is checked in both versions. This report has 3 groups. This has happened on other reports. I have tried unchecking the Display Group Tree option and saving report, then checking it again and saving it, but still unable to view Group Tree.
I have other reports with grouping and the Group Tree is available.
Any suggestions?
Thanks,
JSRPlease test by implementing following steps:
1.Open this report in the designer and save with some other name.
2.Create a new connection to the desired database and use 'Set datasource location' option under Database tab to set the datasource location to this new connection.
3.Open each group and re-select the database field (on which the group is based).
4.Check whether ther are any errors (at run time ) while refreshing this report.
Please provide following information:
1.Exact version of crystal reports(Help>>About Crystal Reports)
2.Has anything changed with this report since the last use.
Thanks -
Effictive Permissions not showing up for security groups after interforest migrations using ADMT
Hi there,
I"m trying to fix an issue with the effective permission, below is the description
Two separate forests exist with respective domains DomainA and DomainB.
A two-way trust has been established between these two domains.
I migrate a user (using ADMT) from DomainA to DomainB.
After migration the user account in DomainB has access to the same shares and folders on file servers in DomainA as it did with the user's account in DomainA.
when i checked the effective permission of the migrated security group it does not show up any tick mark on the permissions. but still end users are able to access the resource on file server
Thanks in advance for any advice you may have to offer.
-VijayHi,
After the user migration, did you finish the Security Translation?
http://social.technet.microsoft.com/wiki/contents/articles/16621.interforest-migration-with-admt-3-2-part-3.aspx#Group_Account_Migration
Regards.
Vivian Wang -
Function Moudule not showing under the Function Group in SE80
Hi guys
I transported a couple of newly developed Function Modules to the R3Q ( Quality System) under an exsitng Function Group. the FM are all transported perfectly and the report is also working but in SE80 where u can see a function group and all its related objects i dont see the name of my newly developed FM. Why is that?
I tried transporting my Function Group etc.. but still i am not able to see my new FM's.
When i go to my FM's attributes tab, it shows its under the right function Group. but only in SE80 its not showing up.
Any ideas y ?
Thanks
Moderator message - Please do not use txtspeak in the forum
Edited by: Rob Burbank on Jul 18, 2011 9:52 AMHi Adnan;
Are you sure you haven't dont release second or more requests for FG?
If you have more requests, your FG may hasn't be last FM list.
Yo can check below include in SAPLZ<FG> function pool.
INCLUDE LZ<FG>UXX. " Function Modules
Are you seeing last FM list?
Best regards. -
Scorecard Strategy Tree Not Showing Demical Scores
Our score range is between 1 and 5, when i am opening objective in edit mode, score is 3.84 an it is OK but score in strategy tree is 3, we realesed that strategy tree can not show decimal scores, how can i solve this problem.
Yes, that was the reason.
The scorecard link the KPI using absolute path (you see it if you open the XML of the scorecard using Catalog Manager or on the filesystem), so even if you moved the scorecard to a shared folder it was still trying to read the KPIs from your "my folder". Only you (or anybody else using your same account) were able to see them, all the other users have the "structure", but nothing more. It's still a point that sometimes when moving objects people forget (also because for them it works fine ....). -
RSRV not showing number of record for the newly created cubes
In RSRV Elementary tests i execute database information for a newly created cube.It is executed fine and it is showing the no of dimensions and line item dimensions but it is not showing the diff tables E,F.... I tried refreshing the statistics of this cube in the manage and did check statistics aswell.But it is still the same.and I tried in the program SAP_INFOCUBE_DESIGNS it is showing for all the cubes except for the newly created once.
Is there any settings as such.
Let me know ASAPHi Ninad,
Use the program SAP_INFOCUBE_DESIGNS and get the cube size in bytes.
Transaction se16 -> fact table name, /bic/f[infocube name] and /bic/e[infocube name] or /bi0/f.. and /bi0/e for business content infocube, click 'number of entries' - This is for no. of records.
Transaction DB02 -> 'detail analysis' -> object name = [infocube name]
Function Module - RSDU_INFOCUBE_TABLE_SIZES_INF
Bye
Dinesh -
IPhone not showing all replies to group messages
In the last month my iPhone 5 has stopped showing all replies to group messages.
For example a friend shall send a group message to another friend and I, I shall either not see this message but see another friends reply in a text message that appears to be between the two of us. Or see the group message as an individual conversation between two people with no replies from other parties.
I am currently running iOS 7.1.1
Can anyone help me?did you ever fix this issue?? Same thing happening to me as well.
-
I am trying to learn xml, xsl, and how to use these with spry
with the client-side approach. I can get text to show up using the
dataset from the xml file and Dreamweaver spry regions in an html
file. However, images do not show up. When defining my spry xml
dataset in Dreamweaver, I showed my "image" element to be of the
image data type.
When testing this in Safari, it just says "undefined" where
I would expect to see an image. In Firefox, the text that I put
into the images element in xml shows up-- "/images/butterfly2.jpg"
Here is a link to the site where I am testing this:
http://myweb.cableone.net/mccook/books/
Here is my xml code:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="books.xsl" type="text/xsl"?>
<books>
<book>
<title>Making it Work </title>
<author>Clyde Best</author>
<image>/images/butterfly2.jpg</image>
</book>
<book>
<title>Making it Fail </title>
<author>Klutz Dweeb </author>
<image>/images/butterfly2</image>
</book>
</books>
And I don't know if the xsl file is even used in the
Dreamweaver spy process. If it is, let me know and I will post that
code too.
I would greatly appreciate assistance with this. I have spent
hours trying to solve the problem, to no avail.
Monty"MontyC" <[email protected]> wrote in
message
news:f2j2c1$kso$[email protected]..
> When testing this in Safari, it just says "undefined"
where I would
> expect to
> see an image. In Firefox, the text that I put into the
images element in
> xml
> shows up-- "/images/butterfly2.jpg"
> Here is a link to the site where I am testing this:
>
http://myweb.cableone.net/mccook/books/
Due to a bug in Safari you can't use <image> as a tag
name in the XML.
Rename the tag and it willwork. Then blame Aple.
> And I don't know if the xsl file is even used in the
Dreamweaver spy
> process.
Not at all.
Massimo Foti, web-programmer for hire
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com -
Not showing using ios on facebook posting
when am posting in facebook its not showing ios
That's expected behavior. You may want to suggest to FB that they change that.
Maybe you are looking for
-
Can a sprite be an array?
i declared Sprite[ ] sprite (at netbeans) and it didn't throw any errors. i'm just wondering, can a sprite be an array?
-
Hi, I've got the problem deploying EJB 3.0 persistent entites to OC4J, I asked for help in the TopLink forum Need help with EJB3.0 persistence but nobody knows how to resolve it. If somebody knows how to resolve it please let me know
-
Import Format with Invalid Character
I have accidentally created an Import format with an & which is bad character for FDM. It let me create the import format but now I am recieving a page error everytime I try to access the Import Format screen. This is preventing me from deleting the
-
Ecess and SEcess value not displaying in PO
Dear Experts, in PO the BED is displaying correctly but Ecess(JEC1) and SEcess(JSEP) value its not displaying in PO ,were could be the problem? regars rj
-
ArchiveLink - MRKO - Consignment and Pipeline Settlement
Hi All, how can I configure ArchiveLink to be able to insert bar code when I settle an invoice? I'm refering to transaction OAC5. Is it possible or is it a background process when MRKO creates the FI document? Many thanks. Luca