How can I use Tree-View in Forms 4.5 ?
I need to read a table with auto-relationship (levels) and show
the data in a Tree-View (Like Windows Explorer).
Please response to
[email protected]
null
Hi there
For getting a tree-view like structure you will have to use the
forms resuable objects .
There is a nav_demo.fmb file shipped along with the Developer
2000 which is located in /oracle_home/forms45/demo and it
contains the navigator like structure which can be resused in
different forms .(You can run this form from the windows95 start
button by selecting programs/Developer 2000 Comps for Win95/Forms
resusable libray).
You will have to copy the object groups from the demo form to the
desired form and also attach the required libraries for the form
Then u will find a procedure named REFRESH_TREES which populates
the data for the tree with a query ,which should be replaced by
your query .But the new query results should match the earlier
ones or else it won't work .
Hope this helps ..
Regards
Raghavendra
J.V. Leo (guest) wrote:
: I need to read a table with auto-relationship (levels) and show
: the data in a Tree-View (Like Windows Explorer).
: Please response to
: [email protected]
null
Similar Messages
-
How can i use jpg extension with forms 10g and webutil
I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my
image jpg and image item has no jpg extension .
How can i use jpg extension with forms 10g and webutil ?You can use the JFIF image format for jpg files.
-
How can i use list view active x on forms
hello to all
i have some really urgent problem
i want to use the active x of microsoft list view on form 6i but dont know how
is any body help me i m really thank ful to him/her
mail me at [email protected]
thanks for all the co-operation in advance
kamran ahmedIf the site requires ActiveX and Java, then there is no way to run the site on an iPad (or any non-Windows device, for that matter, since ActiveX is a Microsoft-proprietary technology). The only way to use that site from an iPad would be to take control of a Windows system from the iPad and actually use the Windows system to connect.
Regards. -
How can I make tree view for hierarchical data from select with connect by?
If we have selected hierachy with connect by clause, how can we make it to see in tree view?
You can't do this using the ADF, Tree Binding used by JHeadstart.
However, If you have a recursive relationship (for example managerid) you can get a tree what you want as follows:
- create one root ViewObject that returns the top-level employees without a manager by setting the where clause to managerid=null
- create a second ViewObject that simply queries all employees
- Create a ViewLink between the two view objects, and create a nested VO usage in the app module for the second view object
- Create corresponding nested group in the application definition file and set the layout style to "tree-form" on both groups.
See Developers Guide, chapter 3, section recursive trees for more info.
Steven Davelaar,
JHeadstart Team. -
How can I use Tree in place of JTree( Swing)?
I want to use Tree not Jtree but AWT TREE ( if possible)
Jtree is so heavy to use in PDA programming.Well as you can see, AWT doesn't come with a Tree component built in. But I know a number of companies produced AWT-compatible Tree, Table, etc. components for sale. Can't name any names because I never used them. But you should be able to track them down on the Internet.
-
HOW CAN I USE MULTIPLE VIEWS IN ONE BLOCK
What I need to do is based on a selection, I have a detail block that shows the results. My selection would determine which view to display in the detail block.
So for example, my selection is:
Source: A
Year 2005
I would then display the details by querying A_2005_VIEW
I can query a view dynamically using the QUERY_DATA_SOURCE_NAME however, my problem is, each view has different column names. How do I show different columns based on specific views?You could use a "From Clause Query" as the block data source. You can change that dynamically.
Create generically named database items on the block COL1, COL2, ... COLn
Then depending on the users choice in the selection criteria, use the WHEN-NEW-BLOCK-INSTANCE trigger on the query block to
set_block_property(..., query_data_source_name,
'(SELECT viewcol1 COL1, viewcol2 COL2, .... , viewcoln COLN
FROM <whichever view>)');
This will work because Forms constructs the block query thus:
SELECT COL1, COL2, ..., COLN
FROM <blocks query_data_source_name>
so you are using the aliases in your query to match the forms database items names. -
How can I use MESSAGE function in forms 6i
Hello
I have an err_msg table that store collections of application message on utf8 database in one language not in english
I have selected data from the err_msg table and put on variable .I want to display the message on the variable using MESSAGE function(MESSAGE(variable)).Unfortunately what i have seen on message dialog box is replaced characters like rectangles .
What should I do please?Hi,
We have the same problem in our project . In this case we are upgrading from an older version of forms (3.0) to 6i. The UE worked fine in the older version, but now we get a NON ORACLE ERROR. Our DLL is written in MS-VC++ project.
We'd like to know whether , besides the common version and platform, you have also written the DLL using MS-VC++ ; otherwise please tell us .
Regards, -
How Can i Use Windows DLL in Forms 6i
I want to use DLLs registred in Windows XP
What i should i DoHi,
We have the same problem in our project . In this case we are upgrading from an older version of forms (3.0) to 6i. The UE worked fine in the older version, but now we get a NON ORACLE ERROR. Our DLL is written in MS-VC++ project.
We'd like to know whether , besides the common version and platform, you have also written the DLL using MS-VC++ ; otherwise please tell us .
Regards, -
How can we use mode "UsePDF" in Interactive form?
Hello everybody,
I want to know that how can i use the mode usePdf in Interactive form?
My scenario is:
I have pdf form saved locally with blank fields.
I save this file after requied values in all fields.
Now i want to import this pdf file in interactive form and needs to submit this form so all the data in this pdf file are submitted to the System.
How can i do this?
regards,
BhavikHi Bhavik,
you do not need to use the upload ui element, if your pdf-file which you want to upload resides in you web application project. In the following you can find Web Dynpro code snippets I use in one of my demos for displaying an uploaded pdf-file:
wdDoModifyView method of FormView:
//@@begin wdDoModifyView
try {
// get interactive form element by ID
InteractiveForm form = (InteractiveForm) view.getElement("Evaluation");
if (wdContext.currentContextElement().getCurrentMode().equals("usePDF")) {
form.setMode(WDInteractiveFormMode.USE_PDF);
catch (Exception e) {
e.printStackTrace();
//@@end
onPlugFromUploadView method of UploadView:
//@@begin onPlugFromUploadView(ServerEvent)
try {
// modify the context and set needed attributes
wdContext.currentContextElement().setCurrentMode( "usePDF" );
// extend the attribute "pdfSource" from the context to a modifiable binary type
IWDAttributeInfo attInfo = wdContext.currentContextElement().node().getNodeInfo().getAttribute("pdfSource");
ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
binaryType.setFileName("evaluationForm.pdf");
binaryType.setMimeType(WDWebResourceType.PDF);
// add the generated pdf to the context
wdContext.currentContextElement().setPdfSource( evaluationForm ); // byte[] evaluationForm
catch (Exception e) {
wdComponentAPI.getMessageManager().reportWarning(e.getLocalizedMessage());
//@@end
If you do not want to display the data before submitting the data, then you have to use the WDInteractiveFormHelper class for extracting the form data after upload in the context. This class is available since NetWeaver04 Support Package Stack (SPS) 10. The class com.sap.tc.webdynpro.clientserver.adobe.api.WDInteractiveFormHelper contains at the moment one helper function for PDF document. Here are the details:
Constructor Detail
public WDInteractiveFormHelper()
Method Detail
public static void transferPDFDataIntoContext(byte[] pdfSource, IWDNode targetNode)
Method transferPDFDataIntoContext extracts data from a PDF document and copies the values into the Web Dynpro Context. The xml structure of the document data is applied starting from the specified target node. Usually, this node should be the same context node to which InteractiveForm-UIELement property dataSource is bound during PDF generation.
Parameters:
pdfSource - PDF document as byte[]
targetNode - target IWDNode
Hope this will help you,
Regards, Carsten -
How can we use "tooltip " option in heirarchical tree item in oracle 11g?
how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?
hi user11973188
how can we use "tooltip " option in heirarchical tree item properties in oracle 11g forms?isn't it exist in the tree item's property itself... ?!
Regards,
Abdetu... -
How can I use sysnonym to hide two different views?
hi,
My question is how can I use 2 different users to login and they point to different views. However, in the program level, the view name always stand for "Test_View".
I try to meet the requirements and do the followings:
Step 1: In user A account, it creates two different views and also grant select to User B and User C respectively.
Step 2: Login User B and create public synonym called "Test_View".
Step 3: Login User C and create public synonym called "Test_View".
I encounter the problem in Step 3 which is public synonym called "Test_View" is already exist. So, anyone can tell me once login and it will depend on which view you can see on program level.
Thanks
AmyAs 399811 told you, you have to create private synonyms.
"CREATE SYNONYM ...." instead of "CREATE PUBLIC SYNONYM ...."
the private synonym has to created in each user.
Joel Pérez -
How to make Multiple column listbox in CS4 using tree view
Hi ,
I am a beginer in Indesign Cs4 plug-in creation.In one scenario i want to create multiple column listbox,i tried with one cloumn using tree view and that is working fine.so suggest how to create multiple column listbox using tree view.
thanks
ArunInDesign does not have a native multi-column widget. You have three options:
1) Use the treeview widget and align your widgets in the tree node to create the illusion of columns (stroke panel is an example - the Links panel in CS4 is a better example)
2) Go the way of the CellPanel SDK example and tweek it to work like a listbox
3) Create the User Interface in Flex -
How can I use pdf pack to convert cubase documents (music scores) into pdfs? I am looking for the former possibility to install acrobat like a printer but i don't have this option with "pdf pack". Can you help?
Hi mariab,
What format are those music scores (I'm not familiar with cubase documents). But, it may be that Adobe PDF Pack doesn't support that format. In that case, Acrobat is the way to go. You can then print your files to PDF as you'd like. You're welcome to try Acrobat for free for 30 days to see whether it's going to work for you. If you decide it is, and you'd like to use it going forward, you could convert your PDF Pack subscription into an Acrobat subscription.
Best,
Sara -
How can I use MS Access in Lab View
how can I use MS Access in Lab View
Its urgentThere are a couple of routes you can take to communicate with MS Access in LabVIEW. The preferred method is our Database Connectivity Toolset. This allows you to use VIs to communicate with your database. Here is a link to the product for more information.
http://sine.ni.com/apps/we/nioc.vp?cid=6429〈=US
Your other choice would be to use ActiveX. I believe there are a couple of examples on our web site using it. Overall you will probably spend a lot more time taking this route.
Matt Kisler
Applications Engineer
National Instruments -
How can i use %OperatorId in Normal View
Sample code
SELECT oprid
, version
, emplid
FROM psoprdefn
WHERE oprid=%OperatorId
Greeting, i would like to design a view, where every login user only can see a list of "version" and "emplid" based on their operator id
But when i put it into a grid, it list out all rows without filtering on operator id
May i know how can i use view filtering based on %operatorId?
ThanksIf you want a static, compiled view that exists in the database, then take a look at: [http://jjmpsj.blogspot.com/2006/09/peoplesoft-on-oracle-whoami.html|http://jjmpsj.blogspot.com/2006/09/peoplesoft-on-oracle-whoami.html]. This shows how to parse the operator ID from the CLIENT_INFO.
Maybe you are looking for
-
Performace : SQL with CASE
Hi, Why execution plan for SQL1 & SQL2 are same? Is there any performace impact(as compare to normal select) if we put CASE statement in SQL? SQL1 SELECT CASE WHEN PCS_SKEY < 1 then NULL ELSE PCS_SKEY END PCS_SKEY, CASE WHEN MDT_SKEY < 1 then NULL EL
-
I have a new 4th gen ipod touch and it won't connect to itunes
running window XP, SP 3, itunes 10.5.2.42 (or whatever is the latest version out yesterday)? Went through trouble shooting with apple support. Uninstalled itunes, reinstalled, checked that the apple device driver is installed and set to automatic.
-
What's the difference between flash storage and solid state drive in MacBook Pro?
What's the difference between MacBook Pro with flash storage and MacBook Pro with solid state drive?
-
802.1x Dynamic VLAN Switching Question
Trying to set up 802.1x dynamic VLAN switching, and have a question. I think I've gotten it working except for one part. The VLAN on a protected interface is never getting switched. I can see an entry in the ACS stating that it applied the appropriat
-
"Update for raid controller firmware" in availabel system upgrade does not go away after upgrade
We have two Ironport WSA, one S360 and one S370. Both stil have the "Update for raid controller firmware" still listed in "Available upgrades" even though we have done the update and rebooted the appliances. How can we confirm that the update is appl