oracle-apex

Inner Join Three Tables

情到浓时终转凉″ 提交于 2019-12-21 02:37:15
问题 I am working in Oracle APEX.i want to make a report from three tables through INNER JOIN .The Tables are as Fallows. PATIENT (Par_Id(Pk),Pat_Name,Pat_Gender) HISTORY (His_Id(Pk),Pat_id(Fk),Treated_By) and Treatment ( Treat_Id, His_id(Fk),Pat_id(Fk) ,Treat_Type ,Charges) I want to display all the columns in Report mentioned in the above three Tables. Thanks. 回答1: You should always specify the columns to return, especially as the tables contain identical column names SELECT p.Par_Id, p.Pat_Name

How to add custom column in tabular form?

泪湿孤枕 提交于 2019-12-20 05:52:47
问题 My current tabular form just displaying some columns from table. How/where can I add custom column in tabular form, which will be link or button and will take to another page with some input information from that row? Example ID [Name] [Address] [Link or button here] 回答1: To add custom column: Go to "Region Definition" -> "Source", add new column to SQL query there. For example: select col1, -- column of table col2, -- column of table 'some text' custom_column -- custom column that will

I'm in need to add a dummy row in between a tabular form to make it more appealing at the user end

对着背影说爱祢 提交于 2019-12-20 05:25:17
问题 The Tabular form was created on a classic report with an SQL Query (updateable report). It also has a wizard generated MRU & MRD process And the region source has the following code (written below) which works fine and displays columns as stated below select "ROWID", "EVAL_SR_NO", (SELECT SKILL_DESC FROM TB_RCMI_EVAL_SKILLS WHERE SKILL_ID ="TB_RCMI_CNDT_INTV_EVAL"."EVAL_SKILL_ID" ) as "EVAL_SKILL_ID", "EVAL_SKILL_REMARKS" from "#OWNER#"."TB_RCMI_CNDT_INTV_EVAL" where eval_type='TE'and WF_ID =

Cascading List of Values with many to many relationship

梦想与她 提交于 2019-12-19 10:25:23
问题 I am developing an application which tracks class attendance of students in a school, in Apex. I want to create a page with three level cascading select lists, so the teacher can first select the Semester, then the Subject and then the specific Class of that Subject, so the application returns the Students who are enrolled in that Class. My problem is that these three tables have a many-to-many relationship between them, so I use extra tables with their keys. Every Semester has many Subjects

Eclipse cannot connect oracle 10g XE on windows 7

Deadly 提交于 2019-12-19 04:49:15
问题 Eclipse is not able to connect to oracle 10g it is giving errors like: Could not connect to New Oracle. Error creating SQL Model Connection connection to New Oracle. (Error: Io exception: Got minus one from a read call) Io exception: Got minus one from a read call Error creating jdbc.connection.name connection to New Oracle. (Error: Io exception: Got minus one from a read call) Io exception: Got minus one from a read call But it is opening the database page normally. I can create tables,

Linking to a File in Oracle ApEx

旧巷老猫 提交于 2019-12-19 03:15:16
问题 I'm trying to create a report in Oracle ApEx that displays a list of files, and allows you to download them. The files are being created by an external application and I have full control over where they are placed. Just now I am creating them in a subfolder of the ApEx images directory (C:\oracle\product\11.2.0\dbhome_1\apex\images). However, if I try to link to here, I just get a blank page - I've tried the #WORKSPACE_IMAGES# and #IMAGE_PREFIX# values as the link URL but it doesn't work.

Why use Oracle Application Express for web app?

时光毁灭记忆、已成空白 提交于 2019-12-18 10:16:06
问题 I believe we're moving to Oracle Apex for future development. I've read about Oracle Apex on wikipedia and it's pro and con. It seem to me the con outweigh the pro but maybe I'm wrong. I get the sense that Oracle Apex is for DBA with little or no programing knowledge to setup a web app quickly sort like MS Access for none programmer. If you have Oracle Apex working experience, can you share your thought? From Wikipedia's entry, it doesn't seem like you need to know any programming language at

Redirect to url in new tab from plsql code

↘锁芯ラ 提交于 2019-12-14 03:44:03
问题 On button click action "Redirect to URL" I call below script: javascript:var a = window.open('f?p=300:99:&APP_SESSION.::NO:105:PARAM_1,PARAM_2,PARAM_3:&P99_PARAM_1.,P99_PARAM_2,&P99_PARAM_3.'); Is it possible call this from PLSQL in oracle apex application eg. begin //call here //htp.p(?? end; 回答1: You can use APEX_UTIL.REDIRECT_URL for this. Check the documentation. Your pl/sql would then be (bind var syntax :P1_ITEM because it is pl/sql): BEGIN apex_util.redirect_url(p_url => 'f?p=300:99:'|

Exceeding the permissible coordinate zone

不打扰是莪最后的温柔 提交于 2019-12-13 08:59:08
问题 I work in apex oracle, I have a table with geo-coordinates and objects. When I seal this object, I fill out the form. When I fill out this form, I select an object from the LoV from the "test1" table, also in the form of automatically pulling my location into cells P1_long, and P1_lati. I wish that when I stored this form in the "test2" table, I calculated the difference of geo-coordinates between the geodata that is in the "test1" table and in my form. And if this difference is more than -+0

In SQL how do I throw an error when updating 'not null' values in a database table

a 夏天 提交于 2019-12-13 05:59:08
问题 Looking to throw an error where the value i'm updating is a 'not null' value. For example. In below table, say I wanted to update Paul's lastname with 'Jackson'. The SQL should throw an error to say that the value that is being updated is 'not null'. First Lastname Paul Parkinson Peter null Turkey null As a second part to this question, I'm actually looking to do this in the APEX Express Data Load Wizard. If anyone would know how to modify the update command to do this, it would be greatly