I am new to oracle forms.Here is my question.I have 2 datablocks and 1 control block.I have 3 txtboxes in datablock1,a search button in control block and a tabular form in data block2.
Now,If I enter something in the textboxes present in datablock1 and click on search button,It should populate the tabular form in datablock2 based on the search results.
If the text boxes are null and if I click on search button,It should populate the tabular form with all the details.
Help would be much appreciated
You should created a where clause with the field entered in the when-button-pressed trigger.
Then you need to use set_block_property to set the one time where clause of the block, or if you want to use the same query when the user fires a query in the tabular form the default where property of the block.
for example:
DECLARE
v_where VARCHAR2(10);
BEGIN
v_where:='DEPTNO='||'10';
set_Block_Property('EMP',ONETIME_WHERE,v_where);
Execute_Query(all_records);
END;
Related
Would it be possible to disable "Tab" events on specific columns.
My current table has 4 input, 1 of which is a dropdown for status and the rest are text fields.
The scenario is that the users are inputting data on the text fields but they don't want the dropdown to open up on the next row and just proceed on the next text field.
If the values are static, you could use a custom editor to do your work.
Working Demo: https://codesandbox.io/s/disable-tab-some-editors-ud5vit?file=/src/index.js
In the demo, I used the column "Status" as a select field with three possible values. Tab won't make dropdown appear by default.
Hope it helps!
Is it possible to force the user to select only one value from a filter ?
For a radio button filter as below, is it possible to remove the buttons all & none and make sure that only one Choice is selected ?
you cannot change the existing filter features or functionality without developing a custom extension for a new filter control.
that said, you can certainly emulate a filter using what's called a Property Control and a Data Limiting Expression. for single selection, you're stuck with either a Dropdown control or a Listbox (single select) control.
you would need to...
create a Text Area Visualization on the page somewhere
insert a Listbox or Dropdown Property Control into the Text Area Visualization
create a Document Property with the same data type as your filter column and associate it to the Property Control. you can set this to Unique Values in Column or write in your own Fixed values.
open the Properties dialog on the visualization you'd like to filter and navigate to the Data page
scroll down to Limit Data Using Expression and use an expression like [MyFilterColumn] = "${MyDocumentProperty}" (quotes are required for string values; if numeric then omit quotes)
Please add this CSS in the HTML page of the spotifre to remove all and none
.ColumnFilter .sf-element-filter-item:last-of-type { display:none; }
.ColumnFilter .sf-element-filter-item:first-of-type { display:none; }
Another way to force the users to select one option is to add a Show/Hide in the visualization like this: Hide if UniqueCount([Field]) is greater than 1
Ok,I have a situation where I need to display a view that contains field value from two forms which is connected via a "CVNo" field. At first I thought it was simple and dived in. I added the form names in the view selection formula of the notes view and then created columns and assigned their respective values, but what happened was the output I got from doing so is a very jumbled and cluttered view. Based on my understanding the notes view displayed the column values from each form differently. I don't know how to do this or if this possible in notes view. All help and suggestions and are very appreciated.
In Lotus Notes view you cannot display documents connected to each other by a custom field. The only connection which can be displayed in Lotus Notes view is parent->response document hierarchy.
And please note that you do not create view that displays values from forms. You create view to display field values from documents, which are filtered to be shown in this view.
If you have documents, with field Form, one Form1 and another Form2, then create a view with selection formula:
SELECT Form = "Form1" | Form = "Form2"
Every row in the view represents a document (either with Form1 or Form2 value in the Form field).
And every column may contain a field name or #-formula to evaluate with every shown document to display a value in this column.
Need some help with Gravity forms. I need to have a field, that is a merge of values ,that user has previously selected.
So, if a user has selected 3 different fields wth values of 1)XYY, 2)YYX,3)YYZ I do not need a sum, just a plain merge, in form of XYY.YYX.YYZ, or anything like that.
Could that be acomplised with some merging tags, or dynamically population?
Thanks
Of course;
You should create two different forms.
Collect data with field1-field2-field3, they can be single line text, number, date or anything. In the advanced tab of field settings, write a parameter name for each one, like field1-field2-field3.
In the second form create a single line text, in the advanced tab of field settings check "dynamically populate field" and write your parameters like field1.field2.field3.
In form1 settings->confirmations->redirect URL line, write your form2 page url where you added form2. Select "Pass field data via query string" and add your parameters like field1={fieldname:1}&field2={fieldname:2}&field3={fieldname:3}
When you submit form1, your form2->single line text field will capture the parameters as you wish.
This is possible with Gravity Forms Populate Anything by...
Add whatever type of field you'd like to use to capture the combined.
Set the Default Value to the merge tags of your 3 fields: #{Field A:1}.#{Field B:2}.#{Field C:3}.
That's it.
Edit: Updated screenshot for Gravity Forms 2.5 and updated merge tags to use the # to make them "live".
I have an Oracle ADF page with 4 fields in the below order.
radio button (select one). Always populate the radio selection from values in database.
drop down list (select one): Empty by default. Pull the value from database based on radio button selection on 1.
drop down list (select one): Empty by default. Pull the values from database based on drop selection made on 2.
drop down list (select one): Empty by default. Pull the values from database based on drop selection made on 3.
I need to pass the values selected in 2, 3, 4 to a view/query in the model and retrieve a list and display it on a new page.
I have generated the entity and view objects in JDeveloper. How do I develop the above logic.
Any help on this is highly appreciated.