Image and 2copies report of detail form
i have a master-detail form working fine, my detail is on separate page, what i required is that an
1: image has to show in this detail region,
2: as soon as user press apply changes/save Page A4 pop up formated with 2-number of copies of same region (like gate pass).
can smbdy spare some time to assist, thanks in adv..
m using application exp 4.2.6 11g
aq
22907 wrote:
Please update your forum profile with a real handle instead of "22907".
This question has gone unanswered because it is in the wrong forum. This is a general APEX question unrelated to the use of built-in packaged apps which is the purpose of this space.
Asking questions properly is more likely to result in a rapid and effective response.
i have a master-detail form working fine, my detail is on separate page, what i required is that an
1: image has to show in this detail region,
2: as soon as user press apply changes/save Page A4 pop up formated with 2-number of copies of same region (like gate pass).
can smbdy spare some time to assist, thanks in adv..
m using application exp 4.2.6 11g
Is your keyboard broken?
Similar Messages
-
Join 2 tables and display in Master Detail Form
Hello Everyone,
Please help me out on the following.
I have 2 tables with common field ID I want to join the 2 tables and will show the results on Master Detail form .Please suggest me on this thing .
ThanksHi,
The ID primary key on the details table should be ok provided you have some means of populating it - usually via a trigger that gets a new sequence number.
When the page is loaded, do you see data in the details tabular form? Or is the problem only for when you are creating entirely new master/detail records?
When adding a new record into the details form, the FK field should be populated with the PK of the master form by default. On this report, go to the Contract_Number column and have a look at the Column Attributes for it. You should see a section for Tabular Form Element and in there are two settings - Default Type and Default. The Default Type should be Item.... and the Default should be the master record's PK page item name (eg, P1_CONTRACT_NUMBER). Underneath these settings should be the settings Referrence.... - check that these correctly point to the field on the details table. If you have different settings, try changing them - otherwise, list them here so that we can check
Andy -
Is there anyway I can make a link on the "value" and not the label (detail form)
Hi there,
I have a master-detail form (within an appl) based on 2 real
tables in a master-detail FK relationship.
The detail block displays 6 rows. Currently you can only place a
link on the label on top of the block.
What I need is to make let's say tha actual value of lastname in
each row display as a link, something like:
rec.lastname_value
I also need to pass the actual ID of that row in the URL used by
href. I know that you could do it in custom "sql", but do not
know how to make my form do that.
Thanks,
MarianaYou can look at IE Tab and IE View.
*https://addons.mozilla.org/en-US/firefox/search/?q=IE%20tab
*IE View: https://addons.mozilla.org/firefox/addon/ie-view/
*IE View Lite: https://addons.mozilla.org/firefox/addon/ie-view-lite/ -
Master detail form ... EXTREMELY URGENT
gurus,
here is my situation -
i have 2 tables ...
master ---> base_rate_type
detail ---> base_rates
the detail table has base rates for the base rate type in master. the detail can have multiple records but, only one active base rate.
when the form is run, the user needs to see only the active base rate and on a click of a button the user needs to see the history of all the base rates (all inactive ones and one active).
this is what i'm doing --
1. created a view (base_rates_v) of all the active base rates from the detail table.
2. created a master detail form -
master ---> base_rate_type
detail ---> base_rate_v
the form shows only active records.
3. created a custom button in the detail. the custom button displays all the records from base_rates table for that master.
4. HERE IS THE PROBLEM -
user can enter future base rates (active in future), but the user cannot enter another base rate which would be active rightaway, which means there will be only one base rate ACTIVE at any point of time.
how would i validate the new base rate against the current ACTIVE BASE RATE ... ?
i think i could do it in INSTEAD-OF TRIGGER but, then how would i convey the error message back to the user as a ALERT .... ?
is it possible to alert the user from PL/SQL section of the Portal button ... ?
any ideas anyone ...
thanx a lot ...
nulldmitry,
here is what i'm looking for -
a base rate type can have multiple base rates, each having a start date and a stop date. at any point of time only one of them would be active.
for example -
Base rate type --> Type A
Base Rate Start Date Stop Date
7.5 10-jan-2001 10-feb-2001
7 11-feb-2001 10-mar-2001
8 11-mar-2001 9-jun-2001
7 10-jun-2001 10-jul-2001
5 10-oct-2001 10-nov-2001
so in above case the second last one is active.
the requirement is when i run the form it should show only active and future base rates. the last one in the above example is future base rate.
so, i created a view on detail table that shows only active and future base rates. and then a master detail form (the view being the detail). i also created a custom button in the detail section, that would open a report and show all the base rates for a particular base rate type ('A' in above case).
the VALIDATION that is required in the form is as follows -
the form displays following -
Base rate type --> Type A
Base Rate Start Date Stop Date
7 10-jun-2001 10-jul-2001
5 10-oct-2001 10-nov-2001
if the user enters a new base rate as foll -
Base Rate Start Date Stop Date
8 15-jun-2001 15-jul-2001
then the new base rate overlaps with the existing active base rate. if it so happens i need to ALERT the user that a active base rate already exists for that period.
how would i achieve this ... ?
it does not matter if i validate it using JS or pl/sql.
i was thinking JS would be difficult to use considering, the validation needs to go and check the existing base rates in the table.
any ideas ...?
thanx a lot ...
null -
Error while creating the master-detail forms
on creation of a new master-detail form or on edit of a existing master-detail form, i get the following error -
******** START ERROR **********
Thu, 15 Mar 2001 23:02:16 GMT
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "CC_INTRANET.WWV_BIND", line 56
ORA-06512: at "CC_INTRANET.WWV_UI_LOVF", line 3123
ORA-06512: at "CC_INTRANET.WWV_UIFORM_BUILD", line 2850
ORA-06512: at "CC_INTRANET.WWV_UIFORM_BUILD", line 5567
ORA-06512: at line 8
DAD name: cc_intranet
PROCEDURE : CC_INTRANET.wwv_uiform_build.show_header
URL : http://webdb.us.colorcon.com:7777/pls/cc_intranet/CC_INTRANET.wwv_uiform_build.show_header?p_wizard_mode=MASTER&
********** END ERROR ********
any ideas anyone ... ?
thanx in advance ...
nullmore information on above -
i upgraded webdb 2.2 to portal 3.0.6 and the new master-detail form is been created in the upgraded site.
pls reply on this.
thanx a bunch
null -
Repeating images and replacing images in a slideshow
does anyone happen to know if I can select a set of images and basically copy them so that they are duplicated within a slideshow? I have a rotation of an object and I would like the slideshow to show it rotating twice whereas right now it only rotates once. Is there a way to copy the 60 images and paste them within the slideshow (even though they will have similar names) so that I can put them at the end of the first 60? I have a front cover image and a end image so I can't just loop it.
Is it preferable for me to import the images into Aperture again by copying them into the slideshow?
Also, is it possible to alternatively /write-over/ images in the slideshow? RIght now I have some images at the front that I would like to redo and I am wondering if I can redo them outside of Aperture and simply copy them into the slideshow and have the old ones written over or if it necessary to delete the old ones and import the new ones...
thanks for any help with this.
- JonHi Gibbah,
You'd have to place the line with:
var imageLoader:Loader;
within the loop.
Now the same loader is told 5 times to load an image and to
report when done. Each time overwriting the previous commands.
With the variable declared inside the loop a new loader is
created each time.
In the eventhandler you'd have to point to:
Loader( e.target.loader ) instead of 'imageLoader'
apart from that i will aways trace 5 since it is declared
outside any function and thus reports the last value it was
assigned. This also means all images will end up at the same
position.
hth,
Manno -
Start report server from forms.
Hello everybody, merry chrismats to all.
Im working with Forms & Developer DevSuite in Red Hat Linux ES/AS.
Sometimes when I call a report from form using RUN_REPORT_OBJECT the report server is up & working but the forms dont find it & say FRM-41213 error, but after trying sometimes it begin to work.
Question : ¿ Is there anyway to start and stop report server from forms ?
Thanks in advanced & regards.Hello,
For all queries involving testcases or queries that are potentially bug related
we recommend you log a Service Request (SR) with Support via Metalink (http://metalink.oracle.com).
This will ensure your query is tracked appropriately and any urgent requests can be
dealt with in a timely manner by Global Support Services. May we also take this opportunity to remind you that the Metalink Library pages contain many Forms / Reports
articles which could be of use to you.
Best Regards
Denis SEGARD -
Hi,
I have a master-details forms. The actual query gets executes at master forms. And on opening the details form it displays the results.
i.e say Master form displays all the task lists with information like Task No,Task Name. The remaining information(Task Start date,Task End date) are displayed in Details forms. The query in the master form is select task No,task Name,task start date,task end date from XYZ where p_id=123.
Now when we open any of the task(task1) details forms we can modify the dates and save it. After that there is an option like Copy to all tasks. Which will update all the tasks.
The update is working fine.
Now once you did copy to all tasks, if you open other tasks(task2) details form it still displays the old dates. As the query is not executed when we open the details form.
Can anyone please suggest, how to ensure that every time the details form is opened it executes the query so that it displays the updated details.?Hi, Deepak,
Deepak Jambhekar wrote:
Hi,
In the relationship we have defined the join condition as task_no. There is no option for "When New Form Instance" trigger. I have tried execute_query in
when-new-block-instance but it didn't work. In fact it didn't call this trigger when I opened detail form.You can use the following code in the button from where u call the detail form.
go_block('detail_form_block_name');
execute_query;
OR
go_block('detail_form_block_name');
Clear_Block(No_Validate);
execute_query;Hope this works..
If someone's response is helpful or correct, please mark it accordingly.
Edited by: HamidHelal on Mar 29, 2012 6:27 PM -
Displaying a blob image in a report and form
Hello all,
Can anyone help me. I have a deadline after two days and I want to fix this as soon as possible.
I am using Application Express 4.1.1.00.23.
My problem is in displaying an image retrieved from a table. In my table, I have created these fields to upload the image:
"IMAGE" BLOB,
"MIMETYPE" VARCHAR2(255),
"FILENAME" VARCHAR2(400),
"IMAGE_LAST_UPDATE" DATE,
They were uploaded successfully. Then I created a report to select all attributes from table. The blob attribute was displayed as (unsupported data type).
and when i link this report to a form the image appear as a link (<img src="apex_util.get_blob_file?a=50435;s=293574445128601&p=29&d=65102984724474793498>)
I will be very grateful if anyone tell me how to display the image in the table and form.
Thanks in advance,
Sara>
Please update your forum profile with a real handle instead of "941348".
Hello all,
Can anyone help me. I have a deadline after two days and I want to fix this as soon as possible.
I am using Application Express 4.1.1.00.23.
My problem is in displaying an image retrieved from a table. In my table, I have created these fields to upload the image:
"IMAGE" BLOB,
"MIMETYPE" VARCHAR2(255),
"FILENAME" VARCHAR2(400),
"IMAGE_LAST_UPDATE" DATE,
They were uploaded successfully. Then I created a report to select all attributes from table. The blob attribute was displayed as (unsupported data type).
and when i link this report to a form the image appear as a link (<img src="apex_util.get_blob_file?a=50435;s=293574445128601&p=29&d=65102984724474793498>)
I will be very grateful if anyone tell me how to display the image in the table and form.
See <a href="http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_blob.htm">+About BLOB Support in Forms and Reports+</a>.
There's an <a href="http://apex.oracle.com/pls/apex/f?p=44785:24:2328375591211372::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:4100,2">OBE tutorial </a> that followed the introduction of declarative BLOB support in 3.1 as well. (An earlier version but it is still relevant to APEX 4.x.)
(Please make an effort to consult the documentation and thoroughly search the forum for previous coverage of a topic. This is a much discussed question.) -
Images in HTML forms and/or reports
Hi,
Apologies if a stupid question, but can you display a combination of data and image content in Portal HTML forms and/or reports? If so, how?
This question assumes that the image in question is browser-supported (e.g. gif file), and the link to it is in the same database table as the data being reported (as a bfile data type).
Alternatively, what if the image was actually directly stored in the database table as a BLOB data type?
Help!
Cheers, JeffHi Sharmila,
Thanks for the info!
Would this also work if the image wasn't a blob, but instead just stored on the filesystem (as a gif file), with the reference to it stored in the database as a bfile datatype?
Thanks once again, Jeff
Hi,
You can build portal forms to upload images. You can use blob columns here. You can also have images in a report. This will be the SQL to query data from tables having intermedia data.
Select a.empno,a.ename,a.mgr,a.sal,
portal30.wwv_user_utilities.get_intermedia('EMP','EMP_AUDIO','AUDIO',a.rowid)
the_audio, b.dname,b.loc,
portal30.wwv_user_utilities.get_intermedia('DEPT','DEPT_PICTURE','IMAGE',b.rowid) the_picture
from emp a, dept b
where a.deptno = b.deptno
The table should have the ordimage column type.
Thanks,
Sharmila -
To attach a RTF template(Report for printing ) in the master detail form
I have an application in which I have 3 master detail forms of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
Now I have created an RTF Template which is the Gate pass layout with the pic.
So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
SELECT XVH.GPDATE
, TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
, (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
, XVH.VISITOR_NAME --, = XVH.PERSON_ID
, XVH.COMAPANY_NAME
, XVH.PURPOSE_OF_VISIT
, (SELECT A.FULL_NAME
FROM PER_ALL_PEOPLE_F A
WHERE A.PERSON_ID = XVH.PERSON_ID
AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
, XVH.VISITOR_PHONE
,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
FROM xxcdot.XXBCT_VGPF_HEADER XVH
WHERE XVH.GP_HEADER_ID = :P_HEADER_ID
This is the query for the template ..
Please help me with this. I am very new to apex and learning it with help of online tutPars I need another Help
I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
o Returnable
o Non Returnable
o Other
so when i select Non returnable I want a particular column called
Line Status to get Disabled .
I have done that by a dynamic action - using jquery statement (.Disable) .
Defining the element attributes as Disable .
Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !! -
Dynamic action in a report region in a master detail form
hi
I have created a master detail form , in which many validation etc is done ,the MASTER is a FORM and DETAIL is a REPORT
Now I am stuck up with the detail region .i.e report
I have Line Detail where there are ITEMS such as SL NO: ,ITEM_ID , UOM ( Unit of measuremnt ) etc
Now here is where I need help .
Using POP UP LOV i have managed to fetch in LOV for the item "ITEM_ID",--- i can select an item name using the pop up LOV ,
Now all that I want is when I select an item name from the pop up lov , an Item Id is displayed or fetched in that particular place , now i want the corresponding UOM to be diaplayed ( i.e the UOM for that particular Item Id which has been selected by me from the pop up lov ).
In order to resolve this I created a Dynamic action where in I get the UOM . Bt the problem is that the ITEMS displayed for selecting in the WHEN section (
DYNAMIC action
-IDENTIFICATION section
-WHEN section----- items ( here i am not listed with ITEMS of the REPORT region instead ITEMS of the MASTER is available )
-TRUE ACTION section etc is only the
ITEMS of the MASTER region ..
Please help me sort this outMod: moved from Japanese Apex
-
How can i save and retrieve blob data through forms and reports...
I have blob data type column and I want to save word, html, gif
document in oracle database through forms 6 and retrieve the
data into forms and reports.
Details : I want to open .doc,.html,.gif file through a button
and save it ..and i want retrieve the data into text item same
in reports....
If anybody have the answer then send me at
[email protected]use ole container
initialize the container with the filename (doc or gif)
Edited by: arshid on Feb 8, 2009 1:57 PM -
Master Detail Form with Report - Referring a column in another table
I have master detail form with a report option. The master table has a column that also references a look up table.
When the report is displayed the lookup column id is displayed. Rather I want to get the look-up value from a lookup table
and display in the report.
When I see the report region Query definition , it just has the columns to add/remove only from the master table.
Could you pls help me with this regard.
Eg :
Dept Table
dept_id
dept_name
location_id
Employee Table
employee_id
employee_name
dept_id
location
location_id_id
location_name
Master is Dept, Detail is dept and lookup table is location.Simply add the lookup table to the FROM clause and join its PK with the FK in the master table in your query. That's basic SQL, and you definitely must get a good grasp of SQL to do more than very basic work in APEX.
For a good example, please see http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/build_app.htm#BCEBJJGB
While you're at it, read and implement the tasks outlined in the 2 Day + Application Express Developer's Guide - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/toc.htm. After that, read the "Oracle Application Express 3.0-- Building a Functional Application" OBE in http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm - great stuff.
Georger -
Look and feel master detail form
Hello
i have difficulties at the time of trying to decorate a master detail form
i have 2 blocks one is the master and the other is the detail
the question is
can i change the text item of the master which are in the same tab canvas that the detail
the detail block have 8 records
i can paint the detail but it get a bit crazy<p>And I can also combine two different block decorations like on the this image
this screenshot.</p>
with the following code in th When-Timer-Expired trigger:
Begin
If lower(Get_Application_Property( TIMER_NAME )) = 'laf_timer' Then
-- form main initializations --
Set_Custom_Property( 'LAF_BLOCK.LAF_BEAN', 1, 'SET_SCHEME', 'purple' ) ;
If PKG_Look_And_Feel.Open_Css(:PARAMETER.PM$CSS_FILENAME) Then
-- read the global GUI properties --
PKG_LOOK_AND_FEEL.Set_GUI_Properties( '.GUIProperties1', 'LAF_BLOCK.LAF_BEAN' ) ;
-- paint the canevases --
PKG_LOOK_AND_FEEL.Paint_Canevas(:PARAMETER.PM$CANVAS, 'LAF_BLOCK.LAF_BEAN' ) ;
-- paint the blocks --
PKG_LOOK_AND_FEEL.Paint_Block
PC$Block => 'DEPT'
,PC$BeanName => 'LAF_BLOCK.LAF_BEAN'
,PC$VA_Name => :PARAMETER.PM$VA
,PC$HeadClass => :PARAMETER.PM$HEADER
,PC$BodyClass => :PARAMETER.PM$BODY
,PC$TitleClass => :PARAMETER.PM$TITLE
,PC$Title => 'Departments'
,PB$ScrollBar => True
PKG_LOOK_AND_FEEL.Paint_Block
PC$Block => 'EMP'
,PC$BeanName => 'LAF_BLOCK.LAF_BEAN'
,PC$VA_Name => :PARAMETER.PM$VA
,PC$HeadClass => '.tableHeader2'
,PC$BodyClass => '.tableBody2'
,PC$TitleClass => '.tableTitle2'
,PC$Title => 'Employees'
,PB$ScrollBar => True
End if ;
End if ;
go_block('DEPT');
execute_query ;
End ;Francois
Maybe you are looking for
-
Can't Find File/Dir info Error 3 :: 30 and (-43)
Please help me with this issue. There's very little previous mention anywhere about this sort of problem. I'm trying to open an After Effects file that I haven't opened in a while, and the footage I used in the project has since been deleted. When I
-
LeCroy Waverunner 104 xi store trace / destination file setup
Hi everybody, My question might be really simple, but it took me already days without real success... I'm currently programming a LeCroy waverunner 104 Xi on CVI 8.5 via LAN. I'm trying to save a trace from a channel C 1...4 or internal memory M 1...
-
Passing a range of dates from Visual Composer 7.0 to Bex Analyzer
Dear Experts, I created a button in my Visual Composer model that has the following settings: System action: Hyperlink Apply to: Self Hyperlink address: "...QUERY=BMMSEG_C01_SAS_Q0001&BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_CO
-
Playlist and ratings did not tranfer from old pc to new pc. Followed Apples guidlines on the move of the "iTunes Music" folder. Any suggestions??
-
Hi, gurus! My question is: does DI RfcSvr supports unicode? When I trying to test unicode RFC connection to RfcSvr it falls to core dump (on Solaris 10 SPARC)...