Editable fields in oracle report
Hi,
I am hoping someone can help what I am trying to create is a PDF oracle report with an editable field at the end of the report. The user would use this field to type comments about the report and then save the file with the comments attached.
I did a search but couldn't really find anything relevant apart from this thread here: Re: How to add to report in pdf format editable fields but it looks like that was never answered.
Users have access to Adobe Acrobat so an alternative solution could be just to create a rectangle and tell the users to write in that but it is not an ideal solution.
If it is not possible in oracle reports we are also licensed for BI Publisher but as of yet I haven't been able to find anything that would do this using that tool either.
Regards,
Chad
with an editable field at the end of the report.In Reports the user cannot add text after generation of the report. So, do it before generating the report. Add a parameter p_comment to the data model and add this to the parameter form (or whatever form you use to call the report, e.g. from Forms) and create a text field at the end of the report.
Similar Messages
-
How to increase the width of a field in oracle reports 6i
Hello,
I'm facing a problem related to width of field. I have a table with field abc varchar2(1500) and when I try to show it in report. I'm unable to see complete data because field size in report is 300.
Kindly guide me to increase the size/width of field in oracle report 6i
thanks in advance
sadiqPost your question on Reports forum
Reports -
Dynamic Sources for a field in Oracle Reports
Hi there,
I am sure someone might have encountered this problem.
I have six Queries in Data Model. Based on certain parameter value, I need to change the source field setting for each field in the report
output.
e.g in Report LayOut Model, I have a field F_1. The source for this field in
the Property pallette is COL1 which is coming from Query1.
I need to assign a new source based on parameter value for field F_1 to
COL2 from Query2 or COL3 from Query3 or COL4 from Query4, COL5 from Query5, COL6 from Query6 in the Before Report Trigger. Is there any way to achieve this using srw or any other PL/SQL code?
This way I can save a lot of devlopment time and use a single physical layout for six different reports and avoid the hassles of creating frames,
repeating frame and formatting.
Any help greatly appreciated.
Let me know if something is not clear in the email. I will provide
additional informationAshok,
Looks like you've landed in the wrong Forum - this one is for Oracle HTML DB.
Thanks,
- Scott - -
Generation of pdf forms with Oracle Report
I would like to generate editable pdf with Oracle Reports. That means I need clickable check boxes in the output.
Any suggestions or hints?
Thanks in advance.
UweHi Uwe
Reports does not currently have the capability to create PDF files with form fields.
Regards
The Oracle Reports Team -
is it possible to capture the previous value of the field in oracle reports? if possible how? please help me
You can do this in SQL. This is a simple example, but you should be able to apply this to your query.
select first_name,
last_name,
lag(last_name,1) over (order by last_name) "Previous Last Name"
from employees -
Hello,
I am new to Oracle and sql. I am working on the Oracle
Reports. Can anyone suggest me where will be the best place to
get help on this. Any suggestions will be appriciated.
Thanks
SamHi Sam..
I'm also quite new in field of Oracle Reports, I have already
had experience in Oracle Database Server. I think you may refer
to the Oracle Reports help coming with your s/w, that's good for
first understanding. Then.. I just find out that this forum is
also helpful with many nice and "willing to help" people.
Well... wish you all the best and go ahead with your new job!!
kr,
daniel -
2-D Barcodes in Oracle Reports
Hi All,
I am trying to implement 2-D Barcodes on a text field in Oracle Reports 10G. Can someone please let me know how this can be acieved ?
Thanks
FmHi,
unfortunately that option is still not supported. There is an enhancement request filed for that feature.
For more information please check the following Support note.
Reference
Support For 2D Barcode in Oracle Reports (Doc ID 1269490.1)
Thanks, RZ -
Editable field gives wrong value in report.
Hi,
I have report with some editable fields. I am using apex_item for one editable select list. I gave functionality to update row by providing go button. when user clicks on go button, I sends page by using javascript dosubmit which updates values in table through update process. everything works fine but sometimes i am not able to read particular value in row. for example...
Rownum---------select_list--------- button---------- comment(editable)-not used apex_item
1------------------------ 'abc'---------------- GO----------------------------- new
2------------------------- null---------------- GO--------------------------- closed
3 ------------------------'xyz'---------------- GO--------------------------- reopen
I used apex_item for select list but status is made editable by selecting "text area" from tabular form element of column.
when I press GO button on row third by selecting xyz it takes null value of 2nd row. same if I select something in 2nd row. i.e. instead of null if I selects 'mno' in 2nd row it takes select list value as 'mno' for third row. I observed this by writing javascript code which alerts me value of variable f01,f02.....
Please if anybody can help me. I want to know why this happens?You might have better luck asking in the Oracle Application Express (APEX).
-
To capture the selected rows along with edited field contents in alv report
Dear All,
I do have requirement where, in alv report output one field is editable and need to save the content of the edited field along with the selected rows.
For example If there are 10 records displayed in the alv output with 20 fields.
Out of this 20 fields one field (say XYZ) is editable. Also i have already created a new pushbutton (say ABC) on alv output. Now in the alv output if we maintain some value in the field (XYZ ) for the 2nd and 4th record and select this two records, and when clicked on the pushbutton (ABC) it has to update the DB table.
I am using the Func Module 'REUSE_ALV_GRID_DISPLAY'.
Your early reply with sample code would be appreciated.
Thanks in Advance.HI Naveen ,
There is an import parameter "i_callback_program" in the function module,
plz pass the program name to it.
Capture the command by passing a field of type sy-ucomm to "I_CALLBACK_USER_COMMAND ". Check the returned command and
and program a functionality as desired.
u can try the event double_click or at line selection. there u can use READLINE command to c if the line has been selected.
In case it is , process the code segment.
Regards
Pankaj -
Interactive report with checkbox and editable field
Hi,
For a project I'm working on I need to create a interactive report in Apex 3.2 with the ability to select lines and to modify one of the columns in the report.
To do this, I started off by adding these two fields to the selection query of my IR:
apex_item.checkbox(1, product_number) cb
and
apex_item.text (2,QTY_TO_ORDER) QTY_TO_ORDER
cb is the checkbox files, and QTY_TO_ORDER is the editable field.
That worked like a charm and I got my two fields in the report.
To process the values, I added this page process, wich for now should only store the "product number" and "QTY_TO_ORDER" fields in a table.
BEGIN
FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
insert into mytmptable values (APEX_APPLICATION.G_F01(i),APEX_APPLICATION.G_F02(i));
END LOOP;
commit;
end;
However, this doesn’t work the way I want it to work. When I check the checkboxes of two rows, it will store two rows with the right product numbers, but it will take the top two QTY_TO_ORDER field of the table regardless of which ones are checked. I was able to solve this problem, by adding a rownum to the query and using the rownum as the value for the checkbox. Since I still need the product_number and qty_to order fields I made them both text fields.
I changed my page process to:
BEGIN
FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
insert into mytmptable values (APEX_APPLICATION.G_F02(APEX_APPLICATION.G_F01(i)),
APEX_APPLICATION.G_F03(APEX_APPLICATION.G_F01(i)));
END LOOP;
commit;
end;
This seemed to solve the problem, and I now got the right values in the table, unless I used sorting in the report... As soon as I sorted the report in a way different than by rownum, I got the wrong values in the table. The reason for this is of course that my insert just selects the nTh row from the table, and my rownums aren't dynamic.
I've found a lot of examples on the internet using '#ROWNUM#' in the selection, which should dynamically generate a rownum in the report. This seems to work in normal report, but in a interactive reports, the literal values '#ROWNUM#' shows up.
Is there any way to solve this issue?Hi,
Try with 3 fields:
apex_item.checkbox(1, product_number) cb,
apex_item.text (2,QTY_TO_ORDER) QTY_TO_ORDER,
apex_item.hidden(3, product_number) prod_no
The hidden field should be display as a hidden column.
Then your process can be:
BEGIN
FOR i in 1..APEX_APPLICATION.G_F01.count LOOP
FOR j in 1..APEX_APPLICATION.G_F03.count LOOP
IF APEX_APPLICATION.G_F01(i) = APEX_APPLICATION.G_F03(j)) THEN
insert into mytmptable values (APEX_APPLICATION.G_F01(i),APEX_APPLICATION.G_F02(j));
exit;
END IF;
END LOOP;
END LOOP; -
Adding a field to an sql statement in Oracle Reports error ORA-00933
We have been requested to add a field that already exists in the table referred to by the sql statement in Oracle Reports Builder. The report was set up by a consultant about 3 yrs ago and we don't really have much skill in this area. What is happening when I try to modify the SQL statement, either adding a field or deleting a field to the SELECT statement, causes an error message preventing the statement from being saved. The only way out of the error message is to click Cancel. The error message is
ORA-00933:SQL command not properly ended
ORDER BY Program ==> NAME
Even adding or deleting a space anywhere in the SQL statement causes the error (not adding any new fields). A coworker found that if we comment out the ORDER BY, the statement will accept the new field in the SELECT section, however then we lose the order by functionality. I would like to add one additional field before the FROM. Not sure if any additional data are needed. Thank you.
SELECT p.person_uid PIDM_KEY, p.id_number ID,
p.full_name_lfmi name,
p.BIRTH_DATE, p.GENDER Sex,
Decode(a.residency,'D',p.Primary_ethnicity,'F') Ethn,
a.academic_period TERM,
CASE WHEN :p_group_by = 'PROGRAM' THEN a.program
ELSE ' '
END AS Program,
a.COLLEGE, a.degree, a.major, ' ' rule,
a.STUDENT_POPULATION,a.STUDENT_LEVEL, a.application_status Status, a.application_status_date app_sts_dte,
ad.decision_date1 Last_Dec_Date,
ad.decision1||' '||ad.decision2||' '|| ad.decision3||' '|| ad.decision4||' '|| ad.decision5 Decisions,
/* Deposit Date uses the last term entered in :p_term parameter string */
(SELECT MAX(deposit_effective_date) FROM usf_as_deposit WHERE account_uid = a.person_uid &term_clause group by account_uid) AS "DEPOSIT DATE",
ph.phone as PHONE,
CASE WHEN PS.FIRST_CONTACT IN ('NET','PAP','COM','COP') THEN PS.First_Contact
ELSE CASE WHEN ps.latest_contact IN ('NET','PAP','COM','COP') THEN PS.Latest_Contact
ELSE ' '
END
END AS FIRST_CONTACT,
DECODE(:p_address,'Y',REPLACE(adr.street1||' '||adr.street2||' '||adr.street3||' '||adr.city||','||adr.state||' '||adr.nation||' '||adr.zip,' ',' '),' ') as address, adr.nation, adr.state,
goremal_email_address email, a.residency, a.application_date, p.primary_ethnicity, c.cohort
FROM MST_ADMISSIONS_APPLICATION A,
MST_PERSON p,mst_pre_student PS, Admissions_Cohort c, usf_v_phone_pr_ma ph,
MST_admissions_decision_slot AD, usf_v_email, usf_v_address_dr_lr_ma_pr adr
WHERE a.PERSON_UID = p.person_uid
AND a.curriculum_priority = 1
AND a.person_uid = ps.person_uid
AND a.person_uid = ad.person_Uid(+)
AND a.person_uid = goremal_pidm(+)
AND a.person_uid = adr.pidm(+)
AND a.person_uid = ph.pidm(+)
AND ph.rnum(+) = 1
AND a.person_uid = c.person_uid(+)
AND a.academic_period = c.academic_period(+)
&Where_Clause
/* TAKE OUT FOLLOWING LINE AFTER DATA IS CLEANED UP */
AND NOT(p.id_number = '00000000' OR SUBSTR(p.id_number,1,1) = 'B' OR UPPER(p.full_name_lfmi) LIKE '%TESTING%')
AND a.application_status_date >= NVL(:p_as_of_date,sysdate-8000)
AND a.academic_period = ad.academic_period(+)
AND a.application_number = ad.application_number(+)
AND a.degree <> 'ND' /* AND a.college <> 'LW' -- Does not need non-degree and law students */
&Cohort_Clause
ORDER BY Program &ORDER_CLAUSEHi Denis,
I tried your suggestion. The good thing is that adding the comma allowed me to be able to add a.campus to the select statement, unfortunately, another error message happened.
ORA-00936: missing expression SELECT p . person_uid PIDM_KEY ,
p . id_number , p . full_name_lfmi name , p . BIRTH_DATE , p . GENDER Sex ,
Decode ( a . residency , 'D' , p . Primary_Ethnicity , 'F' ) Ethn , a . academic_period TERM ,
CASE WHEN : P_group_by = 'PROGRAM THEN a I started over and tried only putting in the comma and get the same message even though I didn't add campus. After that, removed the comma which led to the ORA-00933 error message. So once again, I had to close the file without saving, in order for the report to run at all. -
2 Classic Reports with edit fields on the same page
Hi All, need your help.
I am trying to have 2 classic reports on one page with edit fields like date, list values, text
I have noticed that the element indexes are the same f01_0001 have both first elements from both reports.
This is making my code go crazy.
Also i have a problem with Date Picker, if i select it as a column type for a first element in second report the icon shows up in the first report.
I think this is because of indexing, but... Classic Date Picker put the icon on second report but when i select the date, the values is populated to first column in first report
Does anyone have a solution for this problem! (for example change the indexing for second report)
DB is 11.2g
Apex is 4.2.0.00.27
Thank you,
Andrei
Edited by: aracila on Feb 20, 2013 9:03 AMAre these tabular forms, ie updteable.
If so, you can only have one per page
Gus -
Editing fields on output of alv report format
Dear friends,
I created on report in alv format but user wants to edit the field on the output of that format also it's effect is on the next field should br done.
e.g. if in first field is 10 in next field user edit and enter the value 20 then automatically next field will appered as a 20 * 10 = 200 i.e what to do to collect that 200 in the next field automatically.
how to do it?
Thanks ,
Vishal Bhagwat,Hi,
Refer these standard alv programs
BCALV_EDIT_01 Switch on and off the ready-for-input status of
BCALV_EDIT_02 Define ready-for-input status at cell level
BCALV_EDIT_03 Verification of modified cells
BCALV_EDIT_04 Delete and append rows
BCALV_EDIT_05 Checkboxes
BCALV_EDIT_06 Dropdown Listbox at Column Level
BCALV_EDIT_07 Dropdown Listbox at Cell Level
BCALV_EDIT_08 Integrate Non-Standard F4 Help
BCALV_FIELDCAT_TEST Edit field catalog online
BCALV_FULLSCREEN_GRID_EDIT
BCALV_GRID_EDIT
BCALV_GRID_EDIT_DELTA Example Report for F4 Help of the ALV Grid
BCALV_GRID_EDIT_DELTA_APPL
Regards,
Prashant -
Adding a field to a Repeating Frame in Oracle Reports
Hi,
I have a report that has 4 repeating frames. At the lowest level (Level 4), I have several fields to do with school swimming sessions - Session Start Time, End Time etc..
I want to add a field to that frame for Session Notes, and have tried doing this by going to the Layout Model, selecting an existing field (e.g. Start Time) and doing a copy & paste into the Layout Model, with a view to then renaming it and changing the Source to Session Notes.
However, each time the new field is being created at School level (this is the Level 3 repeating frame) - obviously then when I attach the Session level column as the source for my new field, I get a field referenced "at a frequency below its group" message.
Any idea how I create a field in the Level 4 group?
Many thanks,
Keith.
PS I am using Oracle Reports v6Before adding the items for the level4,create a repeating frame and put the right source to the repeating frame.
After doing this,put the items on this frame,and they will be level4 items.
It should work
aguero -
How to set the field non-editable in the classical report..
Hi..
How to set the field non-editable in the classical report..Hi experts,
For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
IF current->is_property_readonly(
'NICKNAME' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
The field properties are set as Input field and the display checkbox is not checked.
Maybe you are looking for
-
GUI_DOWNLOAD issue - returns empty table
I am using the following to read a text file (I have tried a tab delimited text file as well as a .csv file) into an internal table. The returned sy-subrc value is 0 but the returned table is empty. Any ideas? Regards, Davis d_string = p_file. CAL
-
WARNING: The Export Frame...
WARNING: The Export Frame for Classes specified in the Publish or Export settings, frame 10, does not exist. No bytecode for ActionScript 2.0 classes or interfaces was exported. What does that mean!??? My movie export correctly and everything works f
-
Phone won't automatically connect to the bluetooth in my vehicle
I just bought a Q10. My audio connected to my car bluetooth but not the phone for calls. I can't find "trusted device" on my phone bluetooth options. I turned bluetooth off and then on again and battery pull. Phone still won't connect. Any suggestion
-
Dear all, I have a question on Key-ENTER event. If I want to fire a function after user enters some text on Text Item and Press the "ENTER/RETURN" key, which trigger event that I should put the code in? Dummy
-
Hello all, I'm receiving the error REP-52266, while running a simple script from Forms 10g: web.show_document('/reports/rwservlet/showjobs?server=rep_fsprod', '_blank'); I previously received REP-51002; searched over the forums,& made changed to the