creating form without having the base table
Hello friends,I was just jiglling with a single query in my mind that we will achieve an express application FORM without using a table for her.
I mean, all feature here in the Apex, where, when submit us a form, then it will make the tables and columns that automatically based on metadata fields, I gave in my form.
I get nothing in the apex where I can make a form without tables/views associated with it.
I'll be very grateful if someone can help out me
Concerning
As previously indicated not currently*.
Tags: Database
Similar Questions
-
Add more than 2 lines for a select statement without inserting rows in the base table
Hi all
I have a below a simple select statement that is querying a table.
Select * from STUDY_SCHED_INTERVAL_TEMP
where STUDY_KEY = 1063;
but here's the situation. As you can see its return 7 ranks. But I must add
2 rows more... with everything else, default or what exist... except the adding more than 2 lines.
I can't insert in the base table. I want my results to end incrementing by 2 days in
measurement_date_Taken on 01-APR-09... so big measurement_date_taken expected to
end at study_end_Date...
IS IT STILL POSSIBLE WITHOUT INSERT ROWS IN THE TABLE AND PLAYIHY ALL AROUND WITH
THE SELECT STATEMENT?
Sorry if this is confusing... I'm on 10.2.0.3
Published by: S2K on August 13, 2009 14:19Well, I don't know if this request is as beautiful as my lawn, but seems to work even when ;)
I used the "simplified" version, but the principle should work for your table, S2K.
As Frank has already pointed out (and I fell on it while clunging): simply select your already existing lines and union them with the 'missing documents', you calculate the number of days that you are "missing" based on the study_end_date:MHO%xe> alter session set nls_date_language='AMERICAN'; Sessie is gewijzigd. Verstreken: 00:00:00.01 MHO%xe> with t as ( -- generating your data here, simplified by me due to cat and lawn 2 select 1063 study_key 3 , to_date('01-MAR-09', 'dd-mon-rr') phase_start_date 4 , to_date('02-MAR-09', 'dd-mon-rr') measurement_date_taken 5 , to_date('01-APR-09', 'dd-mon-rr') study_end_date 6 from dual union all 7 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('04-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 8 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('09-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 9 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('14-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 10 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('19-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 11 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('23-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 12 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('30-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual 13 ) -- actual query: 14 select study_key 15 , phase_start_date 16 , measurement_date_taken 17 , study_end_date 18 from t 19 union all 20 select study_key 21 , phase_start_date 22 , measurement_date_taken + level -- or rownum 23 , study_end_date 24 from ( select study_key 25 , phase_start_date 26 , measurement_date_taken 27 , study_end_date 28 , add_up 29 from ( 30 select study_key 31 , phase_start_date 32 , measurement_date_taken 33 , study_end_date 34 , study_end_date - max(measurement_date_taken) over (partition by study_key 35 order by measurement_date_taken ) add_up 36 , lead(measurement_date_taken) over (partition by study_key 37 order by measurement_date_taken ) last_rec 38 from t 39 ) 40 where last_rec is null 41 ) 42 where rownum <= add_up 43 connect by level <= add_up; STUDY_KEY PHASE_START_DATE MEASUREMENT_DATE_TA STUDY_END_DATE ---------- ------------------- ------------------- ------------------- 1063 01-03-2009 00:00:00 02-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 04-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 09-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 14-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 19-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 23-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 30-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 31-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 01-04-2009 00:00:00 01-04-2009 00:00:00 9 rijen zijn geselecteerd.
Is there a simpler way (in SQL), I hope that others join, and share their ideas/example/thoughts.
I feel that it is using more resources there.
But I have to cut the daisies before now, they interfere my 'grass-green-ess";) -
Two filters in two dimensions without constraining the fact table
Hi all
does anyone know how to avoid the factual constraint when you create a report with two filters on different dimensions?
I have a fact table big with more than 10 million lines. In the starmodel is the customer of the dimension and the products. I create a filter on the customer atrribute 'Status' and set to 'active '. Now I add the "Product Type" column of the dimension 'Product' in the filter section. When I want to choose a value OBIEE executes a select statement in the fact table. So I have to wait very long to select a value. Is it possible to say OBIEE only to select the dimension table without joining the fact table?
Thank you much in advance.
Kind regards
StefanUse is implied.
Create a table of facts of the DUMMY and make also implied made for this dimension column. It will solve the problem.
http://obiee11gqna.blogspot.com/2011/01/implicit-fact-column-in-OBIEE.htmlPublished by: MK on January 17, 2012 07:08
Published by: MK on January 17, 2012 07:08
-
How to compare the length of the data to a staging table with the definition of the base table
Hello
I have two tables: staging of the table and the base table.
I get flatfiles data in the staging of the table, depending on the structure of the requirement of staging of the table and the base table (length of each column in the staging table is 25% more data dump without errors) are different for ex: If we have the city long varchar 40 column in table staging there 25 in the base table. Once data are discharged into the intermediate table that I want to compare the actual length of the data for each column in the staging table with the database table definition (data_length for each column of all_tab_columns) and if no column is different length that I need to update the corresponding line in the intermediate table which also has an indicator called err_length.
so for that I use the cursor c1 is select length (a.id), length (b.SID) of staging_table;
c2 (name varchar2) cursor is select data_length all_tab_columns where table_name = 'BASE_TABLE' and column_name = name;
But we get atonce data in the first query while the second slider, I need to get for each column and then compare with the first?
Can someone tell me how to get the desired results?
Thank you
Manoi.Hey, Marco.
Of course, you can set src.err_length in the USING clause (where you can reference all_tab_columns) and use this value in the SET clause.
It is:MERGE INTO staging_table dst USING ( WITH got_lengths AS ( SELECT MAX (CASE WHEN column_name = 'ENAME' THEN data_length END) AS ename_len , MAX (CASE WHEN column_name = 'JOB' THEN data_length END) AS job_len FROM all_tab_columns WHERE owner = 'SCOTT' AND table_name = 'EMP' ) SELECT s.ename , s.job , CASE WHEN LENGTH (s.ename) > l.ename_len THEN 'ENAME ' END || CASE WHEN LENGTH (s.job) > l.job_len THEN 'JOB ' END AS err_length FROM staging_table s JOIN got_lengths l ON LENGTH (s.ename) > l.ename_len OR LENGTH (s.job) > l.job_len ) src ON (src.ename = dst.ename) WHEN MATCHED THEN UPDATE SET dst.err_length = src.err_length ;
As you can see, you have to hardcode the names of the columns common to several places. I swam () to simplify that, but I found an interesting (at least for me) alternative grouping function involving the STRAGG user_defined.
As you can see, only the subquery USING is changed.MERGE INTO staging_table dst USING ( SELECT s.ename , s.job , STRAGG (l.column_name) AS err_length FROM staging_table s JOIN all_tab_columns l ON l.data_length < LENGTH ( CASE l.column_name WHEN 'ENAME' THEN ename WHEN 'JOB' THEN job END ) WHERE l.owner = 'SCOTT' AND l.table_name = 'EMP' AND l.data_type = 'VARCHAR2' GROUP BY s.ename , s.job ) src ON (src.ename = dst.ename) WHEN MATCHED THEN UPDATE SET dst.err_length = src.err_length ;
Instead of the user-defined STRAGG (that you can copy from AskTom), you can also use the undocumented, or from Oracle 11.2, WM_CONCAT LISTAGG built-in function.
-
reason for updating a view rather than on the base table
Can someone tell me what is the reasons that sometimes we would update a view rather than on the base table? I always thought that we cannot update a view, of course, I am wrong. Thank youHi Welcome to the Forum
Basically, a view is used to present the data, a different way. He can rely on more than one table and we cannot update a
Discover directly that contains Sql functions, aggregate functions, a group of Clause and a view created excluding the required columns of the table.In all the cases mentioned Instead of trigger is very useful
Published by: user10862473 on July 28, 2009 07:10
-
Updated scoreboard celled without redrawing the entire table
I have a program that uses a Table hint. Each line is a step program and in the same row, there is a countdown indicating the time remaining.
Update the remaining length of cell is easy enough to help replace the subset of table (is there a better way?) but whenever I do it looks like LabView redraws the entire table on the screen, and this causes the annoying flashing-flashing of text in the table.
I reduced the updates to 500mS and that "works", but there are still some flashes and 500mS reduces the precision of the synchronization.
Is it possible to update a single cell on a table hint without redrading the entire table?
Tables, always teetering.
Try to drop a decoration above it, the value transparent border/fill. I remember that, with my field engineer, back in LV 8.5 and ending up in the incredibly annoying time discussing.
I think that not fair to say he'd be only even partially covering it to remove the flicker of screen refresh.
Edit - in fact, I * think * he has to cover even the label of the table to delete a part.
-
the base tables store jobs oem
Hello
I have some work in the Oracle Enterprise Manager job console. (These jobs call a PL/SQL procedure). Can you please let me know what are the base tables that store the names of this work, work planning and other information about jobs? The version of database is Oracle 9i and OEM version 9.0.2
Thank you
RKHello
using the repository databaseWork 4SystemJOBS tables
--> Connect as SYSDBA
# > export ORACLE_SID = emrep
# > sqlplus / as sysdba
SQL # > select table_name from user_tables where table_name like '% % ';4Emrep (OEMGC) work tables
--> Connect as SYSMAN
# > sqlplus sysman/MYPASS@emrep
SQL # > select table_name from user_tables where table_name like '% % ';
SQL # > mgmt_job desc;* T
-
You can create a datamerge at the editing table?
Using InDesign CS5 is anyway that you can create a datamerge at the editing table?
I want to place the file number in the section of purge for the series of newspaper advertisements. When I try to create a merged document, I am informed that there are no placeholders are present even if I added in the mount table.
Someone at - it solutions?
When you configure the placeholder, set the text to get to the bottom of the text box and stretch the text box so that it touches the print area of the page.
-
create view materized without constraint primary key on the base table?
Hello
I tried to create a materized view, but I got this error:
SQL > CREATE MATERIALIZED VIEW FAST REFRESH TABLE1_MV
START BY
TO_DATE (April 25, 2009 03:00:13 ',' DD-MM-YYYY hh24:mi:ss')
NEXT
SYSDATE + 1
AS
Select * from TABLE1@remote_db
SQL > /.
CREATE MATERIALIZED VIEW FAST REFRESH TABLE1_MV
*
ERROR on line 1:
ORA-12014: table 'TABLE1' does not contain a primary key constraint.
Table1 in remote_db is not a primary key constraint. Is there anyway that I can create a view materized on a base table that is not a primary key constraint?
Thank you
LizMake sure user name used in remote_db database link has select privileges on Journal of MV. On the issue of db source:
SELECT LOG_TABLE FROM DBA_MVIEW_LOGS WHERE LOG_OWNER = 'TABLE1-owner' AND MASTER = "TABLE1";
This will give you MV table the journal name. On the issue of target side:
SELECT * from MV-LOG-NAME@remote_db;
And after your version.
SY.
-
Submitting a form by creating multiple lines in the DB table
Hi all
I created a new Apex application and have created a table with columns - USER_ID, ADDRESS, TELEPHONE, CREATEDON etc.
I want to read the USER_ID of the user and complete this field on the form and fill in the CREATEDON field with the date system. These two fields are hidden on the form.
Now, when the user fills his address and phone on the form and click on send, 3 identical rows are inserted into the DB table. The values of user and date system are set correctly.
To set the UserID field, I inserted a $APP_USER. in the default value of the form section. I am not able to understand why the Apex is to insert several lines even when you click the submit button once.
Help, please.
The problem is solved now. I noticed that add default values for the form fields added process duplicate. That's why the form has been processed three times. Remove the additional process solved the problem.
-
2 forms to modify the same table at the same time
I have a block record multi and now we add more fields to the table. I thought I had
users press a button for a specific record in the block and then he would open another form (or something like that)
to set up a regular shape where they may enter these details).
But then I think two forms at the same time, changing the same table is going to be a problem.
right?
Is there a way to do what I want? I want the user to choose and to be able to change some things of 'a grid.
aka multi-record block and then be able to go to a non tabular entry in the details form. Is it possible to do?then he would open another form (or something like that)
Could be another form, or just another block in a different window/canvas or even field in the same block using 'Reflect the elements' ('synchronize with' - property)
But then I think two forms at the same time, changing the same table is going to be a problem.
Not necessarily. If you use CALL_FORM or OPEN_FORM without having to open a new session it is no problem to do so. You just check that the modifications of the form "first" are recorded or posted at least before opening detailed form.
-
Data block in the procedure and the Base Table
Hello
I hava a form with a block of master and detail. The fields in the Master block are
Emp_name, DateOfJoin, salary... I created this block with the procedure with a Ref Cursor, becaue the user
want to load the data based on the conditions it enter for example: DateOfJoin < = Sysdate and DateOfJoinn July 1, 2008 "."
SO I created a block of control with the fields name, MiddleName, LastName, of DateOfJoin, in DateOfJoin, the salary, and when the user clicks on the data loading
button, I load the data to block under these conditions using the procedure.
Note that in the Emp_Name table if a field, but contain first name, middle name, and last name with a separate space.
My needs is, is there any method to develop this master block with a database table, so that if the user want to select it
data based on other conditions, it can enter directly into the block of data using Qry enter and run Qry, also if he wants to
Select data based on the top-level asked the search criteria, it will click Load Data.
I hope that in this case, when the user selected the Load data button, I need to change the data source to the Type of procedure and set the source of data on behalf of the procedure name.
Is there any other easy solution flor this
Thanks in advancenot sure if I get your needs. I understand the following:
You have a block based on table emp, containing a DateOfJoin column and the user should be able to enter into a 'complex' where denomination.To do this, you do not have to base block one a procedure or ref_cursor. Two possibilities:
Add two fields more directly in the block that are non-base of data-objects of type date fixed query on yes and let the user to enter a date range in these columns. In the accumulation of PRE-QUERY-trigger a WHERE condition by using the value in this field:
something like:
DECLARE vcMin VARCHAR2(10):='01.01.1700'; vcMax VARCHAR2(10):='01.01.2999'; BEGIN IF :BLOCK.DATE_FROM_JOIN IS NOT NULL THEN vcMin:=TO_CHAR(:BLOCK.DATE_FROM_JOIN, 'DD.MM.YYYY'); END IF; IF :BLOCK.DATE_TO_JOIN IS NOT NULL THEN vcMax:=TO_CHAR(:BLOCK.DATE_TO_JOIN, 'DD.MM.YYYY'); END IF; SET_BLOCK_PROPERTY('BLOCK', ONETIME_WHERE, 'DATEOFJOIN BETWEEN TO_DATE(''' || vcMin || ''', ''DD.MM.YYYY'') AND TO_DATE(''' || vcMax || ''', ''DD.MM.YYYY'')'); END;
Another option:
together, the length of the request of the DATEOFJOIN field to say 255, then the user can directly enter #BETWEEN fromdate AND fodate in the field. -
Adding items to a table and having the front Table is displayed correctly
Hi all
I'm working on creating a .vi who will take an old instrument and allow the operators on the ground record the data automatically instead of reading the data out of the instrument and to have to manually enter in the computer.
The instrument is configured using a RS232 communication port, I can communicate with the instrument, and I have full control of all functions.
My problem is when I am trying to gather data and add it to a table existing and then to have the front table information is displayed correctly. At the end of which this table in its entirety will be saved in a template excel in an existing format, so I can't adjust the way I need to the table to display.
Please take a look at pictures and give me a hand if possible. I won't be able to view the .vi due to the nature of my work and I like to read the information of the instrument.
Thanks in advance for any assistance!
There is no way to solve this problem by looking at the pictures. Please attach a version of VI simplfied. Is the "FG" table just a driving force?
What size of the 2D string table that comes out of the table of FG? There may be large enough to hold all the fields as empty strings, then you can (re) place values using 'replace the subset of table' to desired locations.
-
Create form that records the data locally - iOS and Windows (using AIR)
Hi, I need to be able to create a form that stores the parts locally on iPads and touch of Windows screens. The app will be used as a kiosk at exhibitions, so there is no internet connection, but devices will be limited in number and owne3d by the customer.
Is there a simple way to do this? I looked at other options: HTML5 (where the user is rerouted to local browser) or Acrobat?
With AIR, you can still use an internal DB SQLlight to store data - or even write a based local text file. Depends on the complexity of the data, I guess.
Adobe Flash Platform * working with local SQL databases in AIR
-
Thus, we are about to spread our first campaign of stream Nurture (woohoo!) and I'm trying to figure out how to do a segment that feed only new prospects (Eloqua contacts) who recently completed a form, without putting twice in the same person.
Is there sort of to do so and to ensure that they will not re-entered in our feed, Nurture, because we do not want to receive them the same e-mail twice and pushed all the way up until the beginning of the stream of the innate?
Aid or redirects to prior messages, that I may have missed would be super useful, thanks!
The canvas of default campaign will not accept that a contact enter the campaign once; This can be checked by navigating up the gear icon > settings, make sure that the checkbox "Allow contacts to get into the campaign more than once..." is unchecked.
Maybe you are looking for
-
Since the last update of firefox, I think, I don't see any picture on facebook.I have seen no sites blocked on tools > contetnt > download images orthe button in the address bar of the site > more information
-
DesignJet 130: what should look like a NEW Assembly of ink for DesignJet 130 tube to
I ordered a new Assembly of tube of ink for DesignJet 130 from an online source. The item is marked refurbished. Frankly, it seems not yet to have been refurbushied but just pulled an old printer (but that didn't matter that I was expecting again), b
-
Toshiba virtual Store account Reset - 22602
Please I need aToshiba virtual Store account Reset - 22602 Thank you.
-
deny a change of standard personal account
I can't change a standard for an administrator account. Thanks for any help
-
I need to open a Firefox HTML doc in Notepad. But Notepad does not appear in the options, nor can I find it in my program files... (it always works on my desktop but). I searched my C drive, and he appears only in windows.old I use Windows 7 (vista -