Mapping text item
hi
i have a form component text item in oracle forms6i. so i created a <af:inputText> in my jsp page. and i gave the width and height same as the value of form's component text item in pixels.
The problem is that even though i gave the same value for the <af:inputText> , in jdev11 it appears to be slightly greater than the appearance that is in oracle forms 6i.
i want text box to be appear same in both environment.is there any way to change it.
i mean
1px in forms = "------"px in jdev11.
so that i can get the same appearance.
is there in pixel difference between forms and jdev???
i dont know whether i conveyed my doubt properly.hope u understood my doubt.
rgds
Lets try this. I included the line item segment (E1EDP01) and example text for each line item. I am mapping the line item text when E1EDPT1-TDID = Z001.
E1EDP01
..POSEX (00010)
....E1EDPT1
......TDID (Z001)
........ E1EDPT2
...........TDLINE (text aaaa)
.........E1EDPT2
.......... TDLINE (text bbbb)
....E1EDPT1
......TDID (Z002)
........ E1EDPT2
...........TDLINE (text yyyy)
.........E1EDPT2
.......... TDLINE (text zzzz)
E1EDP01
..POSEX (00020)
....E1EDPT1
......TDID (Z001)
........E1EDPT2
...........TDLINE (text cccc)
........E1EDPT2
...........TDLINE (text dddd)
....E1EDPT1
......TDID (Z002)
........ E1EDPT2
...........TDLINE (text wwww)
.........E1EDPT2
.......... TDLINE (text xxxx)
Similar Messages
-
Which field from idoc INVOIC01 maps to Item Text field in MIRO transaction?
Hi
Will anybody please tell me which of the field in which segment of IDOC INVOIC01 maps to Item text (INVFO-SGTXT) field in Basic data tab of MIRO transactionThanks Ravi for your response.
But I have tried with all fielsd related to texts in IDOC but it is not being filled in transcation .
If you see the F4 help in text field then Text Id is four character and when I manually assign this in transactin then it is putting = symbol in fron of the id. And then if we save or go to other tab then it is filling text.
I am not able to find the error bcoz document is being posted through idoc but text field is not getting filled. -
Text item mapped against more than one LOVs for returning value
hi to all,
is it possible to have two LOVs (LOV1 & LOV2) that return value to a same text item (:LOV_VAL )on a form.
i.e.
on selecting LOV1 row, value is returned to :LOV_VAL item.
On selecting LOV2 row, value is returned to :LOV_VAL item.
on the basis of valued retured to :LOV_VAL the data block is queried.
If yes how , if now please provide me alternative way.
Thanks in advance.
plz do it fast.Hello,
Why don't you try ?
You can define a return item for each column of each LOV.
If you want, you could have one hundred LOVs that return the same column in the same item.
Francois -
Hello, I'm using Oracle 9i both as Ids and database
This is what I'm having-
2 data blocks 1st is database block and 2nd is control block.
database block named EMP is associated with EMP table and Control block named CTRLB have 2 item 1st is a text item and 2nd is a Push button.
This is what i wanted-
At first i wish to show the CTRLB items when user provide an input in "Text item" say a number and press the button the Values from "Text Item " is placed in Emp blocks Department_id item and a query is executed (act as where filter) and return only the employees records within that Department_id
This is what i done so far-
i write a trigger" when button press" on push button item and entered the following code
NEXT_BLOCK;
ENTER_QUERY;
:EMP.DEPART_ID:=:CTRLB.PBT;
EXECUTE_QUERY;
but it donot make any query.
but when i use the execute query from the menu(the built in provided by oracle in applet) it works. i mean there is no problem in database connection or mapping. only the button is not working.
So what i'm doing wrong or 'What i should do now to have it worked
thank you
Message was edited by:
Rainbow
Message was edited by:
RainbowHello,
You could use the DEFAULT_WHERE clause of the based block, so that you just have to execute the query:
Set_Block_Property( 'EMP', DEFAULT_WHERE, 'DEPART_ID = :CTRLB.PBT' ) ;
Go_Block('EMP');
Execute_Query ;Francois -
Dynamically create and remove TEXT items in forms
Hi Guys,
Is there a way to dynamically create and remove TEXT items in form. For example I have the EMP and DEPT table and when
I select the EMP table name from the LOV, rows of the EMP table with column name and data should get displayed on the screen and likewise a similar action for DEPT table and
so on. I have about 90 tables from where data could be required to view and edit. They all have varying number of columns.
Any suggestions ?
Thanks
KMD
nullUse OLE concept of developer and map Excel as an object
Nadeem
null -
Validating list item with text item havin LOV, how 2 do?
Dear Sir’s,
I have two items,
a) emp_id which is a TEXT ITEM having a LOV
b) dept_name which is a LIST ITEM.
Suppose, those employee id’s having 100 and 101, when selected from the LOV, the dept_name list item should automatically become IT_DEPT and the user should not be able to change the value in the list item and the cursor should not be navigable. Like wise, when employee id is 102, the dept_name should show, some of the specific name from the list and not navigable.
For this, what should I do? Please help me.
Mitto.First in the LOV query select the department name. In the LOV properties, in column mapping properties make the field width as 0 so that it will not be visible in the LOV. In the return item field browse for the item and select it.
In the run time, upon clicking the lov, the value will be populated automatically.
I hope this helps.
Regards,
Anantha Narayanan
http://askanantha.googlepages.com -
Hi Gurus.,
Can u pls say the step by step configurations to sell a text item with normal item
For ex- If i want to sell Telivision set with the Manual which provides the instructions to use, How should i map this in SAP
Thanks in Advance
NarayanaHi,
You can use BOM (Bill of materials).
As per your example the television is priced item anf the billing should be made and the manual is not priced and the billing is not to be made.
1) OR (sales order) + ERLA -
>TAQ (pricing)-----television
TAE (no pricing)----manual
2) OR(sales order) +LUMF -
>TAP (no invoice)
TAN (Considered for pricing)
<b>**Please reward points if this is useful**</b>
regards
AK -
How to populate sequence in a text item in a form
I have a text item in a form.I want that the doc_id i.e the text item should be automatically populated with the help of sequence.I have created sequence named seq_doc_id.on which trigger i should write the code so that everytime the doc_id gets incremented by one. What should be the code.Can anyone gv me some hint.Do i have to use the loop for this?Please help
Hi,
I implemented a when-new-block-instance that does just that,
however due to navigation problems the trigger fires when it should not
the result is I got holes in the sequence.
Is there a system variable status to check with an If test
to make sure the sequence is called only at inserting time? -
Updating a value of a text item in a multi record block based on a change
Hi,
I need to change the value of a text item in a multi record block based on a change to another item's value in the same block.
Suppose there's a text item in a multi record block called dt1 which is of type date, which is changed in a particular record. I want to change the values of the another item in the same multi record block, for all other records by running a loop through all the records in multi record block. I dont want to do it on the press of a button, it should do automatically on change. Help me resolve this issue.Hi,
I need to change the value of a text item in a multi record block based on a change to another item's value in the same block.
Suppose there's a text item in a multi record block called dt1 which is of type date, which is changed in a particular record. I want to change the values of the another item in the same multi record block, for all other records by running a loop through all the records in multi record block. I dont want to do it on the press of a button, it should do automatically on change. Help me resolve this issue. -
Multiple values from database on a single text item
i am trying to do the following
on a single text item in a form
(under form property pallete->records->number of items displayed is 5) run a triger "when-new-block-instance" with the following pl/sql statement
declare
menu_item VARCHAR2(35);
begin
select label into menu_item
from menu_options;
end;
however, once i run the form it gives me
WHEN-NEW-BLOCK-INSTANCE trigger raised unhandeled exception ORA-01422
however, if in the pl/sql statement contains only
begin
execute querry;
end;
then it works fine
The problem i beleive is the fact that the first querry retreives multiple values or recordset instead of A record.
How can i go arond this and allow the form to list all the values in this form. Eventually i will need to add conditional SQL statments and that is why just execute querry will not work.
Also, is there a way to dynamically assign a number to "number of records shown" property?
All help is very much appreciated!
nullHi, Marko
I teach Forms, and I usually find a bad idea to use SQL statements directly (in particular when you can "make" Forms to do what you want).
Inside PL/SQL, a SELECT..INTO statement is supposed to select a single row, otherwise an error occurs.
EXECUTE_QUERY works.
If by "conditional SQL statements" you mean restricted (filtered) queries, you don't need to write SQL to do this.
You can set the DEFAULT_WHERE block property to a different value before using EXECUTE_QUERY, like:
SET_BLOCK_PROPERTY('your_block', DEFAULT_WHERE, 'where menu_id > 100');
And the answer to your second question is no, you cannot dynamically change the number of records a block is displaying.
You can limit the number of records your block queries from the database table using Maximum Records Fetched block property (available in Forms 6 and above, not sure about Forms 5). However, this will only work as expected if you set Query All Records to Yes.
Hope this helps,
Pedro -
Text items not being refreshed by LOV items.
Hi all,
I've got a strange LOV behavior problems which I cannot solve and require your valuable time and efforts.
I've created a simple ADF JSF pages with 3 fields and the first field is LOV enabled. For all new row, after clicking the LOV icon, the LOV will show up and after selecting a particular value, it closes the LOV screen and replace it with a new row with the selected LOV data. It is all working well for all new rows just like a normal LOV should perform.
But I had problem with existing data. The row which I selected from the LOV somehow cannot referesh and overwrite any existing row (visually) but after commiting the data, it was actually written and refreshed with the correct data. Is there a property in the JHeadstart Application Definition Editor where I enforce the text items to be refreshed by the LOV items?
Thank you for your time and efforts.
Kind Regards,
JohnHi Guys,
I've performed the following scenarios attempting to refreshed Text items by the LOV Items.
Scenario 1: Create a new column called some_key load unique number into it. Set this column as the primay key and deselect existing primary keys as key attributes. Also, I've created a sequence and some_key is of type of DBSequence getting value from the new sequence starting from 1.
After generation when run and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 2: Create a unique index for the some_key column, rerun and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 3: Set some_key as number instead of DBSequence (from Entity Object Editor), rerun and the result is:
JBO-27021: Failed to load CustomDatum value at index 11 with java object of type oracle.jbo.domain.Number due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 4: Deattach the offending View Object from the Application Module. Remove the offending view link and view object. Recreate view object and view link. Reset some_key is of type of DBSequence getting value from the new sequence starting from 1 (From the Entity Object Editor). After generation when run and result is:
SUCCESSFULLY!!
So, I guess the bottom line is here are the following things which you need to perform in order to enable text item to be refreshed by LOV item (if the detail table has composite primary keys)
1.) Create a new column
2.) Load unique value to it
3.) Create unique index for it
4.) Create entity object, view object and view link object.
5.) Set the new column as primary key.
6.) Deselect the key attributes for all composite primary key columns.
Regards,
John -
[CS4][JS] Accessing skewed text items
The following code snippet successfully finds all the skewed text in a
document and then removes the skew:
//Clear the find/change preferences.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
//Set the find options.
app.findChangeTextOptions.caseSensitive = false;
app.findChangeTextOptions.includeFootnotes = false;
app.findChangeTextOptions.includeHiddenLayers = false;
app.findChangeTextOptions.includeLockedLayersForFind = false;
app.findChangeTextOptions.includeLockedStoriesForFind = false;
app.findChangeTextOptions.includeMasterPages = false;
app.findChangeTextOptions.wholeWord = false;
//Search the document for all the skewed text
app.findTextPreferences.skew = 1;
// now remove all skews
app.changeTextPreferences.skew = 0;
However, I want to access each fragment of skewed text rather than
globally change them.
How do I access the collection of skewed text items as the
findTextPreferences does not seem to possess the required properties.
TIA
Doug NealeHi Peter,
I tried this on a single page document with some text set in italics:
//Clear the find/change preferences.
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
//Set the find options.
app.findChangeTextOptions.caseSensitive = false;
app.findChangeTextOptions.includeFootnotes = false;
app.findChangeTextOptions.includeHiddenLayers = false;
app.findChangeTextOptions.includeLockedLayersForFind = false;
app.findChangeTextOptions.includeLockedStoriesForFind = false;
app.findChangeTextOptions.includeMasterPages = false;
app.findChangeTextOptions.wholeWord = false;
//Search the document for all the skewed text
app.findTextPreferences.skew = 1;
var myFound = app.activeDocument.findText();
if (myFound.length==0) {
alert("No skewed text was found");
else {
// ok we have some skewed text, now loop through each one
for (i =0; i < myFound.length; i++) {
var myTextObject = myFound[i];
var myText = myTextObject.Content;
and it always finishes up with the alert :-(
and debug confirmed that myFound.length was zero.
Should I be doing something else to find italic text?
Regards,
Doug Neale -
Forms (V10G) - RunTime Text Item -- Editor
Hello:
What are the available options to enhance forms runtime SYSTEM/DEFAULT editor for Text Items? We like to add spell checker, text format features in to field editor.
I am sure there are Java based editors out there that Forms could invoke. I am hoping I am not the fist one with this requirement and someone may have done this. Perhaps could provide some input.
Forms V 10G. (This posting is NOT about PL/SQL editor in Developer)
ThanksHello,
You can use Webutil.You can call MS Word checkspell function.
Check this:
http://sheikyerbouti.developpez.com/webutil-docs/fichiers/Webutil_store_edit_docs.pdf
Cheers,
Suresh -
Chart and text items are not synchron
hi all,
i am a newbie in apex 4.0.
i have two regions. the first shows a chart, based on pl/sql-code. second shows text items for possible filter an the current statement of the chart.
when user clicks on a bar in the chart then
1. i set the the first text item as filter,
2. a pl/sql-code runs, build a sql statement, assign the sql statement string to the second text item and
3. returns the statement for the chart.
it works fine. the chart refresh. and the data i can see are correct.
but the text items in the other region doesn't refresh.
when i press "refresh"-button at browser level everything is fine. chart and text items fits together.
what can I do to refresh all regions when the chart changes the sql-statment / User clicks?
Is there any way to read out the current statement of a chart?
thx in advance
jogi
Edited by: Jogi on 09.05.2011 12:31Bernd: the reason I asked about views is that you don't have any error messages. This might indicate that (a) you have no items in the view, or (b) there's something wrong with view-role-user assignment.
To check for (a), please go to the published procurement catalog, and go to Views tab. Check that your View is Active. Click on your View ID link to display view details. You should see a list of characteristics assigned to your view in Assign Characteristics sub-tab (the list should not be blank!). Go to Assign Items sub-tab. Navigate in your schema to find items that are supposed to be assigned to your view. You should see "Yes" in the "Assigned" column for those products. If you don't, then you simply don't have any items in your view.
Another thing I'd like you to check: when the user calls your procurement catalog for search, do you see the name of the catalog displayed just below the drop-down "Select Categories Hierarchically"?
Cheers,
Serguei -
Hi Experts,
how to map promotional items with sales employee wise.
and what is the difference bet sample and promotional items
Regards,
AmarI have no idea abt your process, but you can create new order reason as promotional items and assign to FOC order, you can create sales employee as customer and create FOC with customers ( sales employee).
Maybe you are looking for
-
I uninstalled my HP Photosmart C4580 thinking I could reinstall from the CD that came with it only to find out that the CD doesn't cover Mavericks. HP and Apple no longer support this printer. Suggestions?
-
DAQmx broken even after full re-install
I'm having a nightmare problem with DAQmx libraries having somehow become corrupt in my LabVIEW installation on my laptop. It's LV8.5 and I'm on Windows XP SP2. The problem is that they can't find the nilvaiu.dll. I get the error: "nilvaiu.dll a dyna
-
Vendor IDOCs are not uploading in LFA1 table
Hi All, We have a SAP system where Vendor IDOCS are coming from MDM through SAP PI middleware. The problem we are facing is we are not able to see all Vendors in LFA1 table. In WE05 IDOCS are posting successfully but when we check for respective vend
-
I just came across an online review that provided three screenshots of a T400 LED backlit display next to a CCFL lenovo display. I was ready to dismiss the 'hype' until I saw this. http://www.notebookreview.com/default.asp?newsID=4569&review=Lenovo+T
-
Don't "Remember this password in my keychain."?
Is there a way to make it the default to not have the "Remember this password in my keychain" checkbox checked everytime? I never want the password to be saved in my keychain, but everytime it comes up, the box is checked. It's a pain unchecking it e