Restrict user form multi-users to select limitied rows
hi oracle programmers ,
I find problem in my under graduate project and I waste more than 36 days to solve it but without result >
I want make join between dba_users and table like(documents) and this idea like e-mail system , one user sends document to other and 3 users can see this document itself they are dba , receptive and (unnecessary who send it) .
If there is better advice tell me about it .
Please help me and I well appreciated to you.
Regards.
As you dismiss all viable solutions, you are pretty much stuck.
Because the schema triggers you mention exist only in your own imagination, as a short trip to the relevant documentation would have told you.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
LOV restriction prob. in multi-user evnironment
hi to all,
I am in a prob. for 3 days. i want to restrict the LOV that once the user selects a value from LOV it must not be shown in LOV again. I have used
declare
b boolean;
begin
post;
b := show_lov('ord_lov');
end;
in when-button-pressed. It works but in multiuser environment , when the same form is opened at more than one client's end , the form helds for 2nd user until 1st user closes the same form. Is there any way to handle this LOV restriction in multi-user environment. Help me plzHow do you maintain the information about who has seen what rows?
-
Not found Users Form in User Defined Field Definition!!
I want to add new filed into Users form, As my subject, but when I query "Users" in User Defined Field Definition, no result return, just exist Orgnizations, Roles, Resource Objects,Structure Utility.
FYI, OIM Version: oim 11g
Thanks,
Edited by: 793495 on 2010-10-11 上午2:53this you can find in Web console
configuration>>user configuration>>action>>attributes
I am able to add attribute but not able to make field as mandatory,while creating attribute we are not getting option like that you want this field mandatory or not but while modifying the attribute we are getting option like required field radio button if i select that i am getting error "you cant change an attribute to required unless all the user have value for this field" -
OIM 11GR2 - mechanism for restoring default adf user forms - create user
Hi All
Our developers has pubkished multiple OIM sandbox and create user form is broken
: the user creation form does not appear - only a html <div> tag .
The developer reverted the form using the em/console - then he ran the catalog sync job but all he can acheive is a blank form not the original user create forms
How do we restore the forms to thier original state.
ThanksNot sure if this helps. But try these steps mentioned in the developer's guide. Once I did some UI customization in identity console and could not load my page after that. I followed these steps and was successfully able to restore it back. You can give a try and in step 6 try to select some known sandbox name which did not have any issues.
1. Login to Oracle Enterprise Manager.
2. In Application Deployments, select oracle.iam.ui.console.self-service.ear.
3. On the top-right of the page, select Application Deployment, and then select MDS Configuration from the list.
4. At the bottom of the screen, select Runtime MBean Browser under the Advanced Configuration section. The right side of the screen refreshes.
5. Click the Operations tab.
6. Scroll down and identify the listMetadataLabels MBean operation and invoke it. Select the MBean operation that does not take any parameters. Select the sandbox precreate that you want to restore, and copy it to the clipboard.
For example, the value you copy can be similar to: Creation_IdM_test_09:25:00.
7. Click Return to go back to the Operation tab.
8. Find the promoteMetadataLabel MBean operation.
9. Invoke the promoteMetadataLabel MBean operation, and enter the value that you copied in step 6.
10. Restart Oracle Identity Manager. -
Best way to link user form with user table
Hi all.
What is the best way to link an user form with a user table (with all of the functions, add, update...)? I have created a simple form, and the question is next:
depending the type object of the user table (document, master...) i have facilities to imlement the basic operations in the form? if i create an UDO i have the functions but i want to use the form that i created with a screen painter.
Thanks.Hi again i want add a new comment please.
If i want do all functions (add,update...) of my form in my user table, and i want my user table is a <b>type document</b>? how can add new lines in my user table with objet <b>type document</b>? because when i make the instance i nedd to say what type of document is (item,order...) and when i do an add(), not add() in my user table. In what moment or how can assign that the add,update functions... affect in my table?
Thanks again. -
Change single user to multi user
Hi,
I put the database ABC in single user mode through SSMS, now when I am changing back it to multi user, I get below error
Msg 1205, Level 13, State 68, Line 1
Transaction (Process ID 127) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
127 is my own session.
Please help meHi,
I restarted the database and was able to get rid of deadlock , but I am still confused how was the deadlock when no other session was in the database, there were other connections to master database.
Also let me know how can I check and remove the deadlock?
REgards
Probably taking it Offline would have worked i assume.Deadlock is not possible if only one transaction is there multiple transaction are required/involved .As suggested by article provided by me there must be some other request coming from application or
from other users who have logged in .Did you searched ? tried using DMV to find out ?
If you say' yes I did but did not find anything ', I would not believe you.regarding how to resolve deadlock please search on net you will get many good articles.without seeing deadlock graph one cannot comment.
Also its brave decision to take database single user ,before we do we make sure app is not accessing DB,no other job is running which is accessing DB. Any background process is using DB should be either killed or rolled back then we proceed with keeping
DB in single user mode.
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
New Safari User-former PC user-Slow Page Fills
safari page fills seem slow even with cable modem hard connected. Any way to "tweak" performance or check for problems? My apologies but as a former PC user, there was usually tweaking to do....
1. Yes it is helpful, but I would limit the choice to the latest version supported by Apple, because it's being tested with their apps. You can download them running "Software Update" from the Apple menu. If it doesn't propose any Java update, you are already running the latest one
2. I am not aware of any. Other people may. I know of some applications that supposedly make downloads faster, but they often cause problems with Safari.
Did you try my previous suggestion to run Firefox or Opera or Camino, just to have a comparison? -
SPD 2010 Workflow "Collect Data From User" activity + Multi User selection
Creating a SPD 2010 workflow. Trying to do something that I think should be simple.
Use a “Collect Data From a User” activity to collect 0 to many “people” that should be affiliated with a piece of content (Discussion).
After the assigned user completes the task (and after ensuring that there have actually been people associated from the task) I want to take the “people” from the Task list item and move them over to a field on the core Discussion item,
that is also setup as a Person/Group field (allowing multiple).
I have tried using both the “Set Field in Current Item” and “Update List Item” activities to map the data over (pulling from the Task item) and in both cases tried using every combination of “Return field as”
values to do the mapping (i.e. ‘String’, ‘Display Names, Semicolon Delimited’, ‘User Ids, Semicolon Delimited’, etc). In some cases I get vague errors about not being able to do mapping (I get it), in others, it sets the
data, but only to the first user entered in the Task’s instance of the field.
After researching a bit, I find that the task from which I am pulling the data only contains one value, eventhough when I submitted the InfoPath form for the task, it accepted my data entry of two
different users. So I think somewhere between the data entry into the custom task's infopath form, and the update of the same data field in the Task list, the value is being lost.
I am sure this would be trivial with a custom activity, but we are exploring OOB ways of doing things and I have to imagine this is possible.
Am I missing something here? This seems “buggy”…
I am able to repro this in two different environments, using an out-of-box Discussion Board on an out-of-box Team Site. If it matters Claims Based Auth against Windows only...
TIA!
Brian McCulloughHi brianpmccullough,
Collect Data from a user action can only use to collect data from one user, and if you need to collect data from one than one user, please use “Assign
a Form to a Group” instead, then it will create separate task for each user.
And if we need to update a user and group field which with multiple selections enabled, we can only use lookup field to get only the one user. And
to add multiple users to this field, we can only use String Builder, type the user account directly or get information from multiple fields.
Best regards
Emir Liu
TechNet Community Support -
Filter Data with Date range.Dates are selected in user form
Does anybody could help me to create a user form, that user could select the date and time from either calendar or other control button (from Userform control Toolbox) and the VBA code would filter the data on Excel SpreadSheet depending on input...
I want user to specify start time and the end time, that I would know the period of time which is on interest and filter the data depending on inputs...
This is part of my table on Sheet1:
ID Time
Products
ProdNoExit
8
04-06-2013 23:00
15
1
8
04-06-2013 23:30
205
1
8
05-06-2013 00:00
235
1
8
05-06-2013 00:30
587
1
8
05-06-2013 01:00
874
1
8
05-06-2013 01:30
155
1
8
05-06-2013 02:00
150
1
8
05-06-2013 02:30
258
1How about this?
Right-click your tab name, and paste this code into the window that opens.
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Target.Address = "$A$1" Or _
Target.Address = "$G$1" Then
Range("Database").AdvancedFilter _
Action:=xlFilterInPlace, _
CriteriaRange:=Range("Criteria"), Unique:=False
End If
End Sub
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
How use multi user one form same time
I have four different form
1.Mainmenu from
2.Expense payment form
3.salary payment form
4. purchases payment form
My problem is when any user use one form same time other user can not use that form
Such as user aamir are using expense_payment_ form if that time user Kashif try to open expense_payment_ form the oracle form not give permission to user kashif . it’s mean only one user can use that form no other can not use same form that time
Please give me idea how I solve that problem and use same form multi user same time
thanking you
aamirI have four different form
1.Mainmenu from
2.Expense payment form
3.salary payment form
4. purchases payment form
My problem is when any user use one form same time
other user can not use that form
Such as user aamir are using expense_payment_ form
if that time user Kashif try to open expense_payment_
form the oracle form not give permission to user
kashif . it’s mean only one user can use that form no
other can not use same form that time
Please give me idea how I solve that problem and use
same form multi user same time
thanking you
aamirWhat do you mean by not give permission???
What is your Forms version??
Are you getting any errors?? what is the error code???
I also suggest you read the [url http://forums.oracle.com/forums/help.jspa]FAQ and [url http://blogs.oracle.com/shay/2007/03/02]The 10 Commandments on OTN Forum Posting
Tony -
SMF and multi-user service not running
Hi,
I have an issue with several services not starting ...
As you can see, the multi-user services is "offline*" And it remains like this...
I've recently patched the system hoping it would resolve this issue, but no luck. Restarting the server does not help.
# svcs | grep multi-user
offline 14:14:21 svc:/milestone/multi-user-server:default
offline* 14:14:53 svc:/milestone/multi-user:default
# svcs -xv
svc:/milestone/multi-user:default (multi-user milestone)
State: offline since Wed Dec 05 14:14:53 2007
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: man -M /usr/share/man -s 1M init
See: /var/svc/log/milestone-multi-user:default.log
Impact: 6 dependent services are not running:
svc:/system/webconsole:console
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
I've tried to enable the services above manually, but had no luck.
Thanks.Darren_Dunham wrote:
>
# svcs | grep multi-user
offline 14:14:21 svc:/milestone/multi-user-server:default
offline* 14:14:53 svc:/milestone/multi-user:default
# svcs -xv
svc:/milestone/multi-user:default (multi-user milestone)
State: offline since Wed Dec 05 14:14:53 2007
Reason: Start method is running.The start method of milestone/multi-user is responsible for (among other things), running all the /etc/rc2.d scripts. If you've placed a startup script in there and it's hanging, you'll see this behavior. From memory, I think there's a 30 minute timeout before it gives up and continues.
During the problem period, you probably want to do a 'ps -ef | grep rc' and look for any rc scripts running. That will probably point to a startup script hanging.
DarrenThanks Darren,
That was the problem. A hung script in rc2.d/
What is odd, is that this script is the same on many of our machines and no problems have been found until now. Thanks for your help. Killing that processes made everything start properly. -
Diff bet multi user and single user installation
Hi,
what is the diff betweeen single user and multi user installation,please let me know advantages and disadvantages also .
RegardsHi,
what is the diff betweeen single user and multi user installationSingle user installation is having one user who owns all the application/database tier files. When you do an installation, you run RapidWiz as this user.
Multi-user installation is having two different users (applmgr user who owns the application tier files, and oracle user who owns the database tier files). When you do the installation, you run RapidWiz as root user.
On Windows, you cannot have multi-user installation. So, the above is valid on Unix/Linux.
More details can be found in the Concept manual --> http://www.oracle.com/technology/documentation/applications.html
please let me know advantages and disadvantages also .I always prefer multi-user installation as you just source the application/env file in the user's profile (in the applmgr/oracle profile) and the file is sourced once you login as that user. For single user installation, you will have to be sure that you source the proper env file manually each time you want to switch between the application and the database (just imagine if you try to shutdown/startup the database after sourcing the application env file, or trying to use any database executable file like export/import/sqlplus ..etc, you will end up using the application tier executable files).
Regards,
Hussein -
How to make extension available for all users in a multi user environment
Hi,
In a multi-user environment, a user install a dreamweaver extension,but just the user who install the extension can use it.
Is there a way that administrator install the extension and make this extension available for other users in multi-user environment(e.g. the Windows 7)
ThanksIn a multi-user environment, a user install a dreamweaver extension,but just the user who install the extension can use it.
Is there a way that administrator install the extension and make this extension available for other users in multi-user environment(e.g. the Windows 7)
Dreamweaver had this capability many releases ago, but it has been dropped, so it's no longer available.
Regards,
Randy Edmunds
Dreamweaver Development
Adobe Systems, Inc. -
Select Multiple Rows in a Table without CTRL
Expecting the user to press "Ctrl" when selecting multple rows is very unfriendly and unintuitive. We'd like the row selection to work as in ALV where you just select multiple rows by clicking on them.
We've set the tables rowSelectable to true and selectionMode to 'multi' but we still cannot select multiple rows without the CTRL hotkey.
This issue apparently [arose before|About selection in the table] but wasn't resolved.
System Details
SAP_ABA 701 0006 SAPKA70106
SAP_BASIS 701 0006 SAPKB70106
SAP_AP 700 0019 SAPKNA7019Hello Marc,
you need to call IF_WD_CONTEXT_NODE->set_selected(index = lv_index) sorry for the typo in my previous comment.
by calling IF_WD_CONTEXT_NODE->set_selected method wont remove the lead selection.
to unselect the records, you can call the same method by passing the FLAG value as abap_false.
so for your usecase the logic will be like this in the ON_SELECT event handler
1. get the index of the new_lead_selection
2. check whether this is already seleted in the context node by calling IF_WD_CONTEXT_NODE->IS_selected
3. if already selected then call IF_WD_CONTEXT_NODE->set_selected( flag = abap_false index = lv_index)
if not selected then call IF_WD_CONTEXT_NODE->set_selected( index = lv_index )
Hope this solved your problem.
BR, Saravanan
Edited by: Saraa_n on Jul 6, 2011 11:52 AM -
Multiple selection of row in a jtable
Hello All,
I am working with this jtable 'tblSearch'. The application requirement is that the user should have the ability to select multiple rows using the control key. I am using the bold part of the code to color the selected row light gray. Can you someone help me to select multiple rows by holding the control key down.
public void PopulateAS400(){
cmbView.hidePopup();
setCursor(hourglassCursor);
int scrPos = scpSearch.getHorizontalScrollBar().getValue();
oapprovalSQL = SQLFactory.createOrderApprovalSql();
Vector FreightList = oapprovalSQL.getData(getAs400SearchString(), getOrderby(), AS400, AS400Overide.length, searchItems, rdoMatchAny.isSelected());
columnNames = (Vector)FreightList.get(1);
data = (Vector)FreightList.get(0);
model = new DefaultTableModel(data,columnNames) {
public Object getValueAt(int row, int col) {
return super.getValueAt(row,col);
public boolean isCellEditable(int row, int col) {
if (row == 0){
getTblSearch().setColumnSelectionAllowed(true);
return true;
getTblSearch().setColumnSelectionAllowed(false);
return false;
public Class getColumnClass(int c) {
if(c == 5 || c == 9){
return BigDecimal.class;
}else{
return String.class;
JTable tmp = new JTable(model)
private final KeyStroke tabKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_TAB, 0);
private final KeyStroke shiftTabKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_TAB,KeyEvent.SHIFT_DOWN_MASK);
public void changeSelection(int rowIndex, int columnIndex, boolean toggle, boolean extend)
AWTEvent currentEvent = EventQueue.getCurrentEvent();
if(currentEvent instanceof KeyEvent)
KeyEvent ke = (KeyEvent)currentEvent;
if(ke.getSource()!=this)
return;
if (KeyStroke.getKeyStrokeForEvent(ke).equals(tabKeyStroke))
if (rowIndex > 0)
rowIndex = 0;
columnIndex = 0;
toggle = false;
extend = false;
getTblSearch().setColumnSelectionAllowed(true);
else if (KeyStroke.getKeyStrokeForEvent(ke).equals(shiftTabKeyStroke))
if (rowIndex > 0)
rowIndex = 0;
columnIndex = getTblSearch().getColumnCount()-1;
toggle = false;
extend = false;
getTblSearch().setColumnSelectionAllowed(true);
else if (columnIndex == getTblSearch().getColumnCount()-1)
rowIndex = 0;
columnIndex = getTblSearch().getColumnCount()-1;
toggle = false;
extend = false;
getTblSearch().setColumnSelectionAllowed(true);
super.changeSelection(rowIndex, columnIndex, toggle, extend);
public Component prepareRenderer(TableCellRenderer renderer, int rowIndex, int vColumnIndex)
Component c = super.prepareRenderer(renderer, rowIndex, vColumnIndex);
if ((vColumnIndex == 7) && (rowIndex > 0))
if ((model.getValueAt(rowIndex,7) != null) && (model.getValueAt(rowIndex,7).toString().equalsIgnoreCase("NMI")))
c.setBackground(Color.red);
else if ((model.getValueAt(rowIndex,7) != null) && (model.getValueAt(rowIndex,7).toString().equalsIgnoreCase("NMI ANSWERED")))
c.setBackground(Color.green);
else
c.setBackground(Color.white);
else
c.setBackground(Color.white);
**if (isRowSelected(rowIndex) && (rowIndex > 0)){**
**((JComponent)c).setBackground(Color.LIGHT_GRAY);**
if (rowIndex == 0 && isCellSelected(rowIndex, vColumnIndex)) {
c.setBackground(lightBlue);
return c;
setTblSearch(tmp);
getTblSearch().setAutoscrolls(true);
getTblSearch().setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
getTblSearch().setAutoCreateColumnsFromModel(false);
getTblSearch().setColumnSelectionAllowed(false);
getTblSearch().setRowSelectionAllowed(true);
getTblSearch().setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
JTableHeader header8 = getTblSearch().getTableHeader();
ColumnHeaderListener colH8 = new ColumnHeaderListener();
colH8.setCallFrom("OrderApproval");
colH8.setOapproval(this);
header8.addMouseListener(colH8);
header8.setReorderingAllowed(false);
header8.setResizingAllowed(false);
getTblSearch().getColumn("Co #").setCellEditor(asCompCell);
getTblSearch().getColumn("Reg").setCellEditor(asRegCell);
getTblSearch().getColumn("Rep #").setCellEditor(asRepCell);
packColumns(getTblSearch(), 1);
getTblSearch().getColumnModel().getColumn(6).setPreferredWidth(240);
for(int i=0; i<searchEntries8.length; i++) {
getTblSearch().setValueAt(searchEntries8,0,i);
((GenericTextEditor)getTblSearch().getCellEditor(0,i)).setCellEditorValue(searchEntries8[i]);
scpSearch.add(new PopupContainer());
popupMenu = new JPopupMenu();
JMenuItem printFinalOrderMenu = new JMenuItem(PRINTFINALORDER_CMD);
printFinalOrderMenu.addActionListener(new PrintFinalOrderMenuListener());
popupMenu.add(printFinalOrderMenu);
MouseListener popupListener = new PopupListener();
getTblSearch().addMouseListener(popupListener);
scpSearch.setViewportView(getTblSearch());
scpSearch.getHorizontalScrollBar().setValue(scrPos);
setCursor(normalCursor);
Thank you all for your time n help.
Edited by: anjan_dev on Jan 29, 2008 2:14 PM
Edited by: anjan_dev on Jan 29, 2008 2:15 PM
Edited by: anjan_dev on Jan 29, 2008 2:16 PMThe issue is when I have one row already selected and then when I click on another row while holding the control key down. Our application needs an user to be able to select multiple rows at the same time.That is the default behaviour. I have no idea why it doesn't work for you.
Get rid of all your custom KeyEvent logic and try it again.
If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
http://homepage1.nifty.com/algafield/sscce.html
Don't forget to use the "Code Formatting Tags", so the posted code retains its original formatting.
http://forum.java.sun.com/help.jspa?sec=formatting
Maybe you are looking for
-
Help in using Jasper Report in JSC !
Hi, I am new to this forum and Studio creator as well. I made a Web Application with creator.Now i need to make reports of the data in my web application. I have heard of Jasper Report. But I am unable to find out ,from where to start with in Creator
-
"error message Quicktime - 3" can't run itunes
I was in the middle of updating itunes and I got an error message that just says error message -3. I have tried to uninstall both itunes and quicktime and re-install and that was unsucessful as well. I also tried to dissable my security stuff and ins
-
I have an older 30 GB iPod Video (called the Classic now, I think?). I keep only music on it, and while I've long since outgrown the storage capacity, I like to keep it as full as possible. I understand that I only have about 28 GB of usable space, b
-
Hi ... I'm finding working with multi column\row text box ("table") in Illustrator CS6 really irritating and non-intuitive. Maybe just my ignorance but I can't find simple ways to do the following: 1. Click in a different cell of the "table" to the o
-
"Older version of quicktime could not be removed."
Basically I'm missing some kind of install file which prevents me from updating Quicktime (and thusly, iTunes).. It's fairly annoying since I can't use iTunes with my friends' newer iPods to put music on it. Any suggestions? It's been an ongoing prob