For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.
Hi All,
I have one Latitude and Longitude points. I need to calculate distance between them.
Right now we are using HAVERSINE formula but the query takes longer time to complete.
Reference: http://www.movable-type.co.uk/scripts/latlong.html
Please assist on this.
Thanks in advance.
>so if we are saying dynamic means user can add and delete text item at run item.
You cannot create textitems dynamically.
What is the requirement behind this? Is each textfield a custom property?If so, the common approach is to have a number of hidden textitems in your datablock (lets say 20) and at runtime dynamically show or hide them depending of the data conditions you have.
For the second requirement with the tree... Unfortunately you cannot display textitems in a forms-tree. I'm not sure if i understand your requirement correctly, but maybe you are talking about a treetable as described here. Building a treetable-like form (part 2) - Andreas Weiden - About Oracle
If you need further assistance, please give more details on your requirements.
Hi Andreas .. Thanks for quick reply...
We have around 200 items and user can select any number of items out of 200. eg. 50 or 80 or 150 or 200..so its really hard to manage show and hide at run time..
and the structure of my form will be like that....
Possible value yes or no. If value is yes then we need to display all item from child 31.. Child33. if value is no then we need to hide child32.
You can see the Option 1 ,Option2 and Option3.if user select all the checkbox then in child31 option we want all three input values from user. like user selected option1 and option 2 so we need to display Option_1_item and Option_2_item in canvas.
I do not understand the dependencies between different childs in the tree. Can you explain the rules a little more detailed?
Are the options always at the last level of the tree?
Does the tree have a fixed depth?
The values you are given here are stored in the table or database or these are manual generated values.
Before doing anything about the Hierarchical tree you have understand the tree structure first.
Check this links for your reference may help you.
Forms 12c Hierarchical Tree
How to create the Hierarchical Tree in oracle forms?
hierarchical tree in forms 10g
https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-create-a-hierachical-tree-form