Help setting up the table/list of choices
Hello:I create an application where I use a custom authentication scheme and captures all user information in a separate table. When the user logs in he will refer to the table to identify a user name and password stored in the table.
I am allowing users to create their own user accounts that will be default to basic access levels. Further along in the process, users will need to select a person to approve something. I want to use a list of choices so that the name of the approver is entered regularly every time. The user table has the following format:
Default primary key Type Nullable data column name
Username VARCHAR2 (8) No - 1
PASSWORD VARCHAR2 (8) No. -
FNAME VARCHAR2 (30) - No.
LNAME VARCHAR2 (30) - No.
E-MAIL VARCHAR2 (50) - No.
ADMIN VARCHAR2 (1) Yes.
APPROVER VARCHAR2 (1) Yes.
I would like users to be able to choose from a list of choices that displays LNAME, FNAME. I don't know how to make the two fields appear in a list of choices.
Furthermore, I would like to (if possible) to keep the two separate fields for the creation of user accounts so that I can get a coherent LNAME, FNAME format and people are not go backwards (e.g., Smith, Joe c. Joe Smith).
If I can't show the two fields in the drop-down list, is there a way where I could add a free calculation filed to the table that will concatenate LNAME"," FNAME?
Thanks for any help you can provide.
RKD,
Create a dynamic list of values.
select lname||', '||fname displayed, username returned
from user
order by 1
You can view what you want, regardless of the value returned. And that includes the concatenation of elements together (or do other calculations/manipulations).
-David
Tags: Database
Similar Questions
-
Hi all
I use R12.1.3 EBS. I want to create a value set with the posting type "Table". But I must specify what application will be set and the table to use. I want to refer to an another diet/no apps. Is this possible? I have the link of database between this regime to receivables / via SQL Developer, I'm able to query or manipulate the data.
Thanks in advance,Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production PL/SQL Release 11.1.0.7.0 - Production "CORE 11.1.0.7.0 Production" TNS for Linux: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production
Bahchevanov.Create a custom view in the schema of APPS that points to the table in the remote database, and you should be able to create a validated set of values from table based on the custom view. This will require you to create a link of database on the remote database (or a private database link in the APPS schema)
HTH
Srini -
How to recover the table list all empty in a schema
How we get all the empty list of table in a schema. That is, the tables were that no line is presentCheck this query
select table_name from user_tables where num_rows=0 /
-
Name of the table list ALL_TABLES but not in TABS
Hello
I was trying to programatically check if a table is exist or not and insert the records if exist (via Java). I see a weired behaviour where when I check the metadata through my connection, I see this table_name in it (don't think there is an error in the logic), but when I try to insert a record after that, he lifts - java.sql.SQLException: ORA-00942: table or view does not exist.
When I manually check the DB, I see this table to table ALL_TABLES but not in TABS (not sure what is the same difference between those two, and that is the right place to check), desc < table_name > is also a failure...
I'm really confused if the table is exist or not...
Any help is really appreciated.
Thank you
RajivSHOW USER
Select owner, table_name from ALL_TABLES where table_name = 'PROPDB_VIEW_MAP ';probably, 'you' (USER) are not the owner of this table
-
records_per_block: can be set when the table has a lot of data?
Hello
We have a partition table with a length of middle line of 7K, and there are a lot of the line string. The score is based on the date, old partition will be truncated and reused later. I'm trying to find a way to limit the rows by block 1 (pct_free is another way, but is not reliable), it looks like records_per_block is a parameter that could be defined at the table level. But unfortunately, my test shows that the use of records_per_block, the table must be an empty table and insert a row inside and then set records_per_block, otherwise records_per_block will be ignored. Is there a solution?
SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created SQL> delete t_11 where a<65; 64 rows deleted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> alter table t_11 minimize records_per_block; Table altered SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 2 121355 33 SQL> insert into t_11 select * from t_11 where rownum<100; 35 rows inserted SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER( COUNT(*) ------------------------------ ---------- 121354 37 121355 33
A solution that is not quite perfect - alter table XXX pctfree, pctused 99 1.
Unless your beginning of lines off incredibly short it will probably limit you to one line per block for the future DML.As a guideline for "ranks shortcuts" (and this may vary slightly depending on whether you use SAMS or not):
SQL> insert into t1 values(rpad('x',42)); 1 row created. SQL> insert into t1 values(rpad('x',1)); 1 row created. SQL> select rowid from t1; ROWID ------------------ AAAY2bAAFAAAA4KAAA AAAY2bAAFAAAA4LAAA
Your analysis of the rows_per_block is not quite right — but the critical point is correct, it is very difficult to get the recorded "records per block" reduced once you have data in place. Here is an improved version of your test cut-n-pasted from a SQL * Plus term in 10.2.0.3:
SQL> @temp SQL> set echo on SQL> SQL> drop table t_11; Table dropped. SQL> SQL> create table t_11 as select rownum a, rpad('x',100,'x') b from dual connect by rownum<100; Table created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 66 5643 33 2 rows selected. SQL> SQL> delete t_11 where a between 31 and 70; 40 rows deleted. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> alter table t_11 minimize records_per_block; Table altered. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number (rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5642 30 5643 29 2 rows selected. SQL> SQL> insert into t_11 select * from t_11 where rownum<100; 59 rows created. SQL> SQL> select dbms_rowid.rowid_block_number(rowid),count(*) from t_11 group by dbms_rowid.rowid_block_number(rowid); DBMS_ROWID.ROWID_BLOCK_NUMBER(ROWID) COUNT(*) ------------------------------------ ---------- 5644 33 5642 33 5643 33 5645 19 4 rows selected. SQL> spool off
I delete the last lines 36 to one block and the first 4 lines on the other. For this reason, Oracle is capable (on the block drain plug) to reduce the size of the + 'line directory' + in the first block by removing the pointers 'empty' to the end of the book - but it cannot eliminate all entries in the directory of the line of the second block because the "empty" pointers are not at the end of the directory.
Code to determine the limit on the number of lines per block looks like the size of the largest directory online - not the current number of rows in the block.
In my example, the largest directory of line is 33 because the last 34 entries have been pruned at the end; in your example, the largest directory of line was still 67 because your deletion had left two rows at the end of the directory.
Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
http://www.jlcomp.demon.co.UK"Science is more than a body of knowledge; It's a way of thinking. "
Carl Sagan -
Help needed in the table in the Table using the OPS approach
We have a requirement in the OPS in which the region of the page of search results should provide details of the header. And in the header Details there is a show and hide the button that would show details of line corresponding to the header (such as the Table - to - Table).
For more details header I used table under the tip, I used region of detail and there I created the table for more details of line.
I also created see links in the header details links discovers the object and a view object Details.
I put in the request of the controller process method, see link name and name of the child attribute for external table (table details header) and the inner table (line details table)
When I launch OAF page, I get the error below. I am facing this error when I tried to put the link name view attribute and child of the internal table (i.e. table line details) in the controller.
Retail 0 #.
java.lang.NullPointerException
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties (unknown Source)
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest (unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest (unknown Source)User - try the framework OFA Forum
-
Cannot see the displays in the table list when you create a form page or a State
We are new at the APEX. to access remote databases by setting the database links in our instance apex and then view (s) in the case of the apex on remote tables. We have implemented this, so when we're going to build a form or a report on one of the views, the views are not appearing in the pop-up list for us to choose from.
Any ideas as to why this would be? This is a showstopper for our application now. Any help would be greatly appreciated! Thank you.
Published by: moo on April 11, 2011 11:55You defined local synonyms for objects? Try this, then come back...
Thank you
Tony Miller
Webster, TXWhile it is true that technology is waiting for no man; stupidity always stops to accommodate new passengers.
If you answer this question, please mark the thread as closed and give points where won...
-
Evaluation order of setting using the Table of Interface EPMA
Hello everyone,
the new post is to share with you a question EMP architect that I don't know how to fix.
I use table Interface to load several dims on my App. planning and before you deploy it to the EPMA, I check my Dim evaluation order. My choice is very simple: the only Sun crept toward the right the order property of the assessment panel is my Sun account.
After validation and delpoyment of my App on EPMA (both successful), I noticed that the order of evaluation on the planning app is not the same: no sun is evaluated (empty can on the right panel).
This problem has upset my forms because I can't use SmartList or percentage account, for example.
Could someone help me?
Thanks in advance
StefanoHello
Last Planning patch - Patch 8527948: Hyperion Planning - System 9 Release 9.3.1.1.11 Service difficulty
You have all the listed patches EPMA 9.3.1 and should install all.See you soon
John
http://John-Goodwin.blogspot.com/ -
Add the table list does not view database in Configuration Manager
Hello
I try to add a view of database in the configuration table tab manager. The display does not appear in the list of tables available in WCM 11.1.1.6 version. This is possible in the 11.1.1.4 version. Anyone else facing this problem?
Thank you
SoumyaSoumya salvation,
I think that this can be resolved with EBRIncludeViewsInTableList = true set in config.cfg to the server of the University Complutense of MADRID.
The recent MLR 12 also has the fix to display views of DB tab Table of the WCC.
Thank you
Srinath -
Can someone help me with the table layout please
www.hunterstables.co.UK/pricelist1.html
I am trying to create a table with an ordered list in my table.
I have three rows and three columns. The first is my 'specifications' title that is correct. The second row, I would like to have the titles of the product in bold, but as in the 'td' If make sure that "BOLD" then all the text will be "BOLD".
My third row, trying to get my products in a list, so IE
3 X 2 CLS TANALISED FRAMING
4 X 2 TANALISED PERLINS TANALISED
FINISHES of RABBETS of T & G 16MM, 12MM
PROFILE BOX GALVANIZED STEEL ROOF
2PI OVERLOOK STANDARD WITH SHED ROOF
Can someone please!
Thank you in advance.
Copy and paste the css code and table:
Specification table .specifications {
font-family: helvetica, sans-serif;
font-size: 14px;
border: 1px solid #000;
border-collapse: collapse;
}
.specifications .header-text {
text-align: center;
font-size: 20px;
background-color: #ccc;
}
.specifications th {
text-align: left;
padding: 20px 15px;
font-size: 17px;
border-bottom: 1px solid #000;
border-right: 1px solid #000;
}
.specifications th span {
font-size: 14px;
display: block;
padding: 5px 0 0 0;
}
.specifications td {
border-right: 1px solid #000;
background-color: #f5f5f5;
}
.specifications td {
padding: 20px 15px;
}
.specifications ul {
font-family: helvetica, sans-serif;
font-size: 14px;
margin: 0;
padding: 0 0 0 15px;
}
.specifications li {
margin: 0 0 8px 0;
padding: 0;
}
SPECIFICATIONS BUDGET 16mm T & G rabbets, ends 12mm (treated)
STANDARD 19mm T & G rabbets, finishes 15mm (treated)
PREMIUM 22mm T & G rabbets, ends 19mm (treated)
- 3 x 2 CLS Tanalised framing
- 4 x 2 Tanalised Perlins Tanalised
- 16mm T & G rabbets, ends 12mm
- 2 pi in standard with shed roof overhang
- 3 x 2 CLS Tanalised framing
- 4 x 2 Tanalised Perlins Tanalised
- 16mm T & G rabbets, ends 12mm
- 2 pi in standard with shed roof overhang
- 3 x 2 CLS Tanalised framing
- 4 x 2 Tanalised Perlins Tanalised
- 16mm T & G rabbets, ends 12mm
- 2 pi in standard with shed roof overhang
-
Need help to create the sequential LIST of IP
Dear friends...
Please help meet the following requirement:
Table IP_POOL
USER NAME NOT NULL VARCHAR2 (30)
STATIC_IP VARCHAR2 (4000)
LASTOCT VARCHAR2 (4000)
MASK VARCHAR2 (4000)
NOFIP NUMBER
The sample lines
username, static_ip, lastoct, mask, nofip
insert into ip_pool values ('ABC@a', ' 10.56.16.0', '0', ' 29 ", 8);
insert into ip_pool values ('DEF@a', ' 10.63.254.84', '84', '30', 4);
Desired output:
ABC@a, 10.56.16.0
ABC@a, 10.56.16.1
ABC@a, 10.56.16.2
ABC@a, 10.56.16.3
ABC@a, 10.56.16.0
ABC@a, 10.56.16.0
ABC@a, 10.56.16.0
ABC@a, 10.56.16.0
DEF@a, 10.63.254.84
DEF@a, 10.63.254.85
DEF@a, 10.63.254.86
DEF@a, 10.63.254.87
Thanks in advance please.
Ashwin
Try this
Select the user name
static_ip
lastoct
mask
nofip
regexp_replace (static_ip '(\.) [^.] *$', '\1' || TO_CHAR (lastoct + (level - 1))) new_static_ip
of ip_pool
connect
by level<=>=>
and prior username = username
and prior sys_guid() is not null;
-
Diagram of all the tables list of primary key column names
Hi people,
I have a Scott user for example, I want to retrieve all tables primary key column names in the user Scott.
can someone help me please.
Thanks in advance,
karmayaYou can log in to SCOTT and try this
select c.constraint_name , cc.table_name , cc.column_name from user_constraints c join user_cons_columns cc on c.constraint_name = cc.constraint_name where c.constraint_type = 'P';
-
Help setting up the banner reactivates the 25 theme
Hello
I'm putting in place this banner on apex 4.2, theme 25.
[url http://www.thevillaproject.com/i/KR/source/light.html] Standalone demo
But it does not work. Here is the doc
[url http://www.famproperties.net/documentation/index.html] Documentation
[url http://theexecutivetowers.info/apex/f?p=121:1] It's the application
workspace: test
user: test
PWD: test
I noticed that this only works when removing this file from the page template > > JavaScript > > file URL
#IMAGE_PREFIX#themes/theme_25/js/4_2#MIN#.js?v=#APEX_VERSION#
I already made through this doc, but not of result: [url http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/app_comp001.htm#sthref1786] with reference to the library in your JavaScript Code of jQuery
Any help to implement this is very appreciated.
FatehDon't you get a solution here: + {message identifier: = 10664176} +?
This app gets the same JS errors that Tom identified in this post, and they are solved if you follow his instructions.
The fatal error is caused by the plug-in tries to use Google Fonts:
... //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Google Fonts !! // local GoogleFont JS from your server: http://www.yourdomain.com/kb-plugin/js/jquery.googlefonts.js // GoogleFonts from Original Source: http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js or https:... // PT+Sans+Narrow:400,700 ///////////////////////////////////////////////////////////////////////////////////////////////////////////// googleFonts:'Oswald', googleFontJS:'/kb-plugin/js/jquery.googlefonts.js' ...
The error console is:
GET http://theexecutivetowers.info/kb-plugin/js/jquery.googlefonts.js 404 (Not Found)
Which is explicit: the code for plugin Google Fonts is not found at the specified location (i.e. /kb-plugin/js/jquery.googlefonts.js). You must configure the plugin option by the actual location of your server:
... //////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Google Fonts !! // local GoogleFont JS from your server: http://www.yourdomain.com/kb-plugin/js/jquery.googlefonts.js // GoogleFonts from Original Source: http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js or https:... // PT+Sans+Narrow:400,700 ///////////////////////////////////////////////////////////////////////////////////////////////////////////// googleFonts:'Oswald', googleFontJS:'/i/KR/source/kb-plugin/js/jquery.googlefonts.js' ...
-
Need help to replace the tables with CSS
Having trouble finding how to recreate these stacked boxes:
http://96.0.181.107/_report-containers.html
like div using only CSS, keeping the same look/padding.
I want to close the space between the containers by a few pixels, that I can't do with tables and use the simplest code possible.
Thank you!
Try this (view source to see the code)
http://ALT-Web.com/test/boxes.html
Nancy O.
ALT-Web Design & Publishing
Web | Graphics | Print | Media specialists
http://ALT-Web.com/
http://Twitter.com/ALTWEB -
Please let me know using the following line:
bufferedlist < q > ArrayList < BufferedImage > = new ArrayList < BufferedImage > (); < /q >The simpler explanation: an ArrayList is created, which can contain only BufferedImage objects. If you try to save an object that isn't a BufferedImage, the compiler will tell you it's impossible.
Maybe you are looking for
-
OK as States of questions, I've upgraded to Windows 10 and improved my Firefox as recommended and now when I put a request in the search box of Firefox it takes me to the screen that allows me to choose the site that I really want, so instead of goin
-
HP 2000: More lost BIOS password
I am trying to upgradelaptops for AARP Taxaide. Iposted earlier and got the password for a computer, but it does not work on others I have. The error codes for the 5 other computers I'm upgrading are: 81425674 72001517 61572129 56698166 90961984 Any
-
Hello I have my attempt at creating uisng Excel report. "(I tried with the code smaple works not very well, but when I try to add in my project its giving an error"error excel2000.h"(7333,66): expected ' ')', What could be the issue,", what could be
-
My laptop has changed some of its Calibri fonts, how can I change this back?
I checked in the part of the appearance, and it's all default font settings. So, I don't know what I did. Some of my programs use Calibri, google search on Google Chrome use Calibri. And all those other things are just not not using the default font.
-
I had to remove some users on the computer, now, I do not see the files in Users\public. States of Explorer folder is empty but clists them properties. also, if I search for them as they appear on the results but I can't access it then.