Forms 10g user logon question???
We've just done an upgrade from 6i to 10g. In 6i the users are externally identified so once they've logged onto the PC they don't need to enter any more logon details to run the forms system.
Can I do the same in 10g? i.e. the user logs onto the client PC but does not have to provide any more logon details when connecting to forms/oracle on the app server? SSO still needs them to re-enter their logon details when running up the forms session???? Can we avoid this?
Thanks, but that still requires the user to logon again after they have logged onto the client machine. They need to logon to the SSO system.
Is there anyway to pick up the logon from the client as in forms 6i - externally authenticated, meaning once they're logged on to the client PC they don't need to logon again - to anything????
Similar Messages
-
Former PageMaker user has questions
Am switching to a Mac from PC. Have used PM for years on both platforms. Currently using PM 7.0 for windows.
I have a lot of files that i would like to be to access without using Boot Camp or going that route.
Can I import my PM docs into Pages or am i better off buying Indesign?
thanxFar as I know, the only program that can import PageMaker files is InDesign - which did a good job of importing all the import PM templates I'd been using. Whether you can use Pages to replace PM depends on what you were doing with PageMaker.
Lots of things, like brochures and newsletters, I created in PM and ID because it made the task simpler than trying to do it with AppleWorks or Word. I'm now using Pages for quite a few of those tasks (because even with 2GB having ID and Photoshop open (along with the other tools of my daily trade) is a bit too much. But for more demanding tasks I use ID.
iWork has a 30 day downloadable demo - give it a try and see how it works out. -
Change user on runtime in forms 10g
Dear all,
I want to switch user in oracle forms 10g runtime.
for example I have three user "usr1", "usr2", "usr3" and one main user "main_system"
In forms i have four button i.e bt1,bt2,bt3,bt4
Currently when user access the forms user is "main_system"
If user press button "bt1" then forms connect with "us1".
If user press button "bt2" then forms connect with "us2".
If user press button "bt3" then forms connect with "us3".
Finally user press button "bt4" then forms connect with "main_system"
I hope you will help me and thanks in advance
Regards,
Saeed ul haqHi user11957950
Pls share us the code to inspect the problem ...
did u try using the alias of the data base... ?
the following is an example that can help....
BEGIN
:global.quit := 'FALSE';
:global.v_attempt := 0;
END;
WHEN-WINDOW-ACTIVATED-TRIGGER
--MAXIMIZE WINDOWS
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
SET_WINDOW_PROPERTY('LOGIN_FORM', WINDOW_STATE, MAXIMIZE);
IF :global.quit='TRUE' THEN
Log_on;
END IF;
ON-LOGON TRIGGER
logon(get_application_property(USERNAME),
get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING), FALSE);
if not form_success then
:global.bad := 1;
raise form_trigger_failure;
end if;
LOGON BUTTON CODE
WHEN-BUTTON-PRESSED TRIGGER
if :LOGIN_BLOCK.USERNAME is null then
message('User must be entered !');
go_item('LOGIN_BLOCK.USERNAME');
return;
end if;
if :LOGIN_BLOCK.PASS_WORD is null then
MESSAGE('Password must be entered !');
go_item('LOGIN_BLOCK.PASS_WORD');
return;
end if;
set_application_property(CURSOR_STYLE,'BUSY');
:global.bad := 0;
if :LOGIN_BLOCK.CONNECT_STRING is null then
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD, FALSE);
else
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD||'@'||:LOGIN_BLOCK.CONNECT_STRING, FALSE);
end if;
if :global.bad = 0 and form_success then
set_application_property(CURSOR_STYLE,'DEFAULT');
open_form('MAIN_MENU');
ELSE
:global.v_attempt := :global.v_attempt + 1;
set_application_property(CURSOR_STYLE,'DEFAULT');
if :global.v_attempt < 3 then
MESSAGE('Username/Password was invalid. Please re-enter !');
go_item('LOGIN_BLOCK.USERNAME');
else
MESSAGE('Three Invalid Login Attempts. Account Locked');
exit_form(no_validate);
end if;
end if;
CANCEL BUTTON
WHEN-BUTTON-PRESSED TRIGGER
BEGIN
EXIT_FORM(no_validate);
END;
PROGRAM UNIT Log_on
PROCEDURE Log_on IS
BEGIN
:global.quit := 'TRUE';
exit_form(no_validate);
END;
if this didn't solve ur problem pls tell us what error did u get pls tell us the details...!
Hope this helps...
Regards,
Abdetu... -
Arabic characters are displaying as question marks in forms 10g
We have migrated our application from forms 6i to forms 10g and now in forms 10g the arabic characters are displaying as question marks while it displays correctly in the old application using forms 6i. I have already set the character set to AR8MSWIN1256 in the registry, but it didn't help. Somebody please help.
@ Sarah, Al-Salamu Alikum We Rahmatu Allah we Barakatu,
Sarah Habibty, why new installation ? In order to select a new suitable character set !!!
Then creating a new instance from the db is a better alternative since it saves time,effort and another back up of his current db is exist safely if needed for any purposes in the future.
@Amer,honestly speaking...
Modifing ur NLS_LANG to > AMERICAN_AMERICA.AR8MSWIN1256
Works for me in both Arabic and English data in 2 applications.This works in my pc.But it didn't works at my boss pc this can happened don't have any reason for that.!!!!
i spent lot's of time trying to search but what i had got is that solution i suggested by a friend of mine.
Now please could you advise me, is it better to create a new instance of database as Amatu Allah has suggested or is it better to change the character set through sql as some others have suggested? Again i suggest to select the short cut way ; to reset the character set through sql after taking a back up from ur data that is currently exist.
then retest again doing the select and test ur data input and retrieval.
SQL> select * from v$nls_parameters
2 where parameter in ('NLS_CHARACTERSET','NLS_LANGUAGE');watching the output if it works that's fine saving ur time & effort .
if not working with the correct NLS_CHARACTERSET then use my previous solution.
Hope this helps...
Regards,
Amatu Allah -
Forms 10g Design Rich User Interface
Dear All,
i would link to design rich user interface in forms 10g.
for example : the button shape is circle , not only
rectangle.
Is it possible to do that in forms 10g or import some java object from third party tools.
best regards
borisysBorisys,
the concept of Pluggable Java Comnponents (PJC) allows you that. PJC only change the UI of a component without affecting its functionality.
The Forms demos that are available on otn.oracle.com/products/forms contain enhanced buttons in teh form of mouse over effects.
Frank -
Build User Maintainable Formulae in Forms 10g
Dear Experts,
Can anyone suggest me how to build User Maintainable Formulae in Forms 10g and use the same for Calculations.
There are about 25-30 Formulae in the Application I am building which keeps on changing in every 6 months time. I want to build the application where user can maintain these changes without touching the source code. I am giving the sample formula hereunder:
P = ((T X (1-S)) + (E X S)) + Q -Y + D -I +M -AHello,
Maybe you could inspire from this discussion: String arithmatics
Francois -
Forms 10g single user log in from different computers.
Dear All,
I am using forms 10g and I want to stop a single user_name to log in to the application from different computers at same time trough browser. Please help me to resolve the issue....
Thank you in advance..Hi,
user_name is oracle database user name or your own application username?
You want to restrict to only one session at a time for a particular user?
Regards
Yoonas -
Beginning Design question - Forms 10g
This is the first form I have been asked to develop. I am designing a forms 10G application. It is to be a read only interface to multiple history tables in a 10 R2 database. I want to be able to have the user select a year and then populate the form with that year's data. Will I have to create a form for each year? or is there a way to pass the year as a parameter and then select a datablock built from each table and associate that datablock with just 1 form. OR, if that is a lousy design, what is the best approach?
Hi,
You just need one form, but some datablocks (maybe).
If you have a database table for each 'year' then you need a datablock for each year.
Create a stacked canvas for each datablock.
To change beetwen blocks use:
go_block('block_name');If you have just one table then you can use set_block_property
set_block_property('block_name', default_where, 'where clause');
Hope it helps!
Edited by: Ruddy Guerra on 14-abr-2011 21:03 -
How the Forms Application should logon to the database ?
Hi All,
I am not a Forms developer but I have to support a custom developed Forms 10g application deployed to IAS 10gR2 application server. Pls give me some help..
On the Login.fmb (user use this form to login) there is the statement like this :
LOGOUT
LOGON(vUser, vPass || '@' || vTNS, False)
On the Formsweb.cfg and CGICMD.dat of the application server I also put the info for logging in to the database lile this :
Formsweb.cfg :
[myappconn]
userid=theuser/[email protected]
CGICMD.dat :
rep_appsvr: userid=theuser/[email protected] server=rep_appsvr2_ORA_MIDTIER2 destype=cache desformat=pdf %*
The question is :
Is that redundant, If there is already LOGON statement on Login.Fmb, what is the logon info I put on the Formsweb.cfg and CGICMD.dat used for ?
Thank you for your help,Hi Frank,
Thanks for your reply..
Further question :
(1) I don't know what is on-logon trigger, what I found is like this : on the custom made Login form there is OK button, I right-click this button and choose PL/SQL Editor, this is where I found the LOGON Statement ?
Does this override the Logon Info provided by formsweb.cfg ?
(2) YES, I call reports from Form, so do you mean that the Logon info I supplied from the LOGON statement will be used instead of the one from CGICMD.dat ?
Thank you very much,
xtanto -
How to FTP a file from client machine to database server using forms 10g
Hi
I want to ftp a file from a client machine to the database server machine using forms 10G (or PL/SQL).
could you please tell me how can I do this
Regardshi
How to get up and running with WebUtil 1.06 included with Oracle Developer Suite 10.1.2.0.2 on a win32 platform
Solution
Assuming a fresh "Complete" install of Oracle Developer Suite 10.1.2.0.2,
here are steps to get a small test form running, using WebUtil 1.06.
Note: Oracle_Home is used as an alias for your real oDS ORACLE_HOME.
Feel free to copy this note to a text editor, and do a global find/replace on
Oracle_Home with your actual value (no trailing slash). Then it is easy to
copy/paste actual commands to be executed from the note copy.
1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
2) Copy or move jacob.jar and jacob.dll
C:\webutile is the folder where you extracted Jacob, and will end in ...\jacob_18
cd C:\webutile
copy jacob.jar Oracle_Home\forms\java\.
copy jacob.dll Oracle_Home\forms\webutil\.
The Jacob staging area is no longer needed, and may be deleted.
3) Sign frmwebutil.jar and jacob.jar
Open a DOS command prompt.
Add Oracle_Home\jdk\bin to the PATH:
set PATH=Oracle_Home\jdk\bin;%PATH%
Sign the files, and check the output for success:
Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\frmwebutil.jar
Oracle_Home\forms\webutil\sign_webutil Oracle_Home\forms\java\jacob.jar
4) If you already have a schema in your RDBMS which contains the WebUtil stored code,
you may skip this step. Otherwise,
Create a schema to hold the WebUtil stored code, and privileges needed to
connect and create a stored package. Schema name "WEBUTIL" is recommended
for no reason other than consistency over the user base.
Open Oracle_Home\forms\create_webutil_db.sql in a text editor, and delete or comment
out the EXIT statement, to be able to see whether the objects were created witout
errors.
Start SQL*Plus as SYSTEM, and issue:
CREATE USER webutil IDENTIFIED BY [password]
DEFAULT TABLESPACE users
TEMPORARY TABLESPACE temp;
GRANT CONNECT, CREATE PROCEDURE, CREATE PUBLIC SYNONYM TO webutil;
CONNECT webutil/webutil@rcci
@Oracle_Home\forms\create_webutil_db.sql
-- Inspect SQL*Plus output for errors, and then
CREATE PUBLIC SYNONYM webutil_db FOR webutil.webutil_db;
Reconnect as SYSTEM, and issue:
grant execute on webutil_db to public;
5) Modify Oracle_Home\forms\server\default.env, and append Oracle_Home\jdk\jre\lib\rt.jar
to the CLASSPATH entry.
6) Modify Oracle_Home\forms\server\formsweb.cfg insde [default] add :
archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar
archive=frmall.jar
also add :
[webutil]
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
archive_jini=frmall_jinit.jar
WebUtilArchive=frmwebutil.jar,jacob.jar,f90all.jar
archive=frmwebutil.jar,f90all.jar
lookAndFeel=oracle
7) Modify Oracle_Home\forms\server\webutil.cfg and add :
transfer.database.enabled=TRUE
transfer.appsrv.enabled=TRUE
8) Start the OC4J instance
9) Start Forms Builder and connect to a schema in the RDBMS used in step (4).
Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
It is important to generate the PLX, to avoid the FRM-40039 discussed in Note 303682.1
If the PLX is not generated, the Webutil.pll library would have to be attached with
full path information to all forms wishing to use WebUtil. This is NOT recommended.
10) Create a new FMB.
Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
There is no need to Subclass the WebutilConfig object.
Attach the Webutil.pll Library, and remove the path.
Add an ON-LOGON trigger with the code
NULL;
to avoid having to connect to an RDBMS (optional).
Create a new button on a new canvas, with the code
show_webutil_information (TRUE);
in a WHEN-BUTTON-PRESSED trigger.
Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
11) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
the "Application Server URL" is empty.
Then append "?config=webutil" at the end, so you end up with a URL of the form
http://server:port/forms/frmservlet?config=webutil
12) Run your form. -
Batch procedure in Forms 10g, calling rdf and send by mail
Hi all,
I need your advice regarding my task: i have a table with invoices of some clients. I have created a report in Oracle Reports 10g R2, so to have a pdf with all the data from this table.
I have created a form in Forms 10g R2, displaying in a screen one field, where the user can choose the date of invoice. Then i will query by that date all my invoices in that table, and then i want to create a procedure in Forms, so that for every line in that table with the invoice date just chosen i will run HOST(rwrun ... all my parameters).
My questions:
1. I need to read some more about how to create a custom xml so to pass to my rwrun, and depending on the records fetched in my cursors in Forms 10g, i will pass a xml variable to my reports, so i will get the data from Forms 10g in the report created in Oracle Reports 10g. Is there any way that i can grep the errors? I need to create some insertions based on succes on failure, how can i accomplish this?
2. Is the above described scenario way to complicated to loop throuh a cursor, create a pdf, and mail the pdf until the cursor is totally fetched? Do you recommend me a simpler way to accomplish this task?
Thank you so much,
Michael.Hello,
I have a report with all my clients, with their email addresses in the same report. Each client as unique account number or invoice number.
So i want to burst and distribute each invoice to the corresponding client:
1. I have set REPEAT ON: INVOICE in oracle reports.
2. From Oracle Reports, i click on Distribution list, and in the DESNAME i type email_address (which is the column from the table with the invoices).
3. Then, File >> Distribute. Says: distribution completed succesfully, but nothing happens.
Question:
1. Where am i mistaking?
2. Is there any log activity file that i could see what the application is doing, step by step?
Thank you,
Michael -
How to use LDAP with Oracle forms 10g on Oracle application server
Hi,
I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
Thanks
LukshI am not quite sure if this works out of the box. According to an Oracle FAQ:
4.2 Can I use LDAP to authenticate Forms Services?
Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms. -
MS Word smart quotes don't paste the same into Forms 10g as Forms 6i
Hi all,
I have users who write text in Microsoft Word and then cut-and-paste it into Oracle Forms.
After some prodding by the developers, the users have switched to using the 10G version of their application instead of the 6i version.
As a background you should know that Microsoft Word uses Smart Quotes by default, which you can turn off. Smart Quotes are different ascii characters than the ascii 39 single quote and ascii 34 double quote.
When the users cut-and-paste the Microsoft Word text into the Forms 10G field, the single apostrophe smart quote does not convert to ascii 39. I wouldn't be surprised about this except that in Forms 6i the form does convert the single apostrophe smart quote into ascii 39.
So if the users use the 6i Form they can cut-and-paste and the form/database has the character as ascii 39. If the users paste into Forms 10G then the database shows the character as ascii 191 (hex 0xBF), which is an inverted question mark.
Does anyone know of any settings in Forms 10g to revert back to 6i functionality for this?
Thanks much,
TroyI am afraid that Jan is right.
And this might be a bit of a hassle, since it might affect your forms. If you are using some standard Windows lettertype in your forms, though, you should be OK.
Bare in mind, that you the NLS_LANG.characterset will have to be compatible between database and forms (the latter at both compiletime and runtime).
Good Luck!
Remco -
Forms 10g Installation issue on windows 7 Professional service pack 1
hi
I am trying to install oracle forms 10g 64 bit windows 7 Professional service pack 1 ..
Below are 2 files that i am using ..
ds_windows_x86_101202_disk1.zip (626,122,752 bytes)
ds_windows_x86_101202_disk2.zip (236,880,881 bytes)
But it failed but the error is ..
Checking operating system version: must be 4.0, 5.0, 5.1 or 5.2. Actual 6.1 Failed <<<<
just wondering if there are any workaround ..Christian is right - Forms 10g R2 (version 10.1.2.0.2) is not certified for installation on Windows 7. You must apply a Forms 10g R2 patch to bring the version to 10.1.2.3.0 for it to be certified. You must have a My Oracle Support account to obtain the patch.
Now, to your question - is there a workaround; the answer is yes. There are known issues with this installer. I'll list them and their workaround.
1. The Oracle installer checks for a specific set of Windows versions rather than check for a minimum Windows version.
Workaround: Right-click the Installer and select Properties. Click the Compatibility tab and click the checkbox: Run this program in compatibility mode for: Windows XP SP3).
2. The Oracle Installer can't detect Windows Managed Virtual Memory (VM).
Workaround: You must temporarily change the Virtual Memory settings and specify specific Initial and Maximum sizes. See this Microsoft article for more information on changing VM settings. http://windows.microsoft.com/en-us/windows-vista/change-the-size-of-virtual-memory
This change will require you to restart your computer. After you have successfully installed Oracle Forms 10g, you can restore the original VM settings.
3. The Oracle installer MUST be installed as an "Administrator".
Workaround: Windows 7 uses "Least privileged user" so you must right-click the Installer and select the Compatibility tab. Click the "Run this program as an administrator" checkbox.
4. Not a Oracle installer issue, but you will have to install the 32-bit version of the Oracle Java Runtime Environment (JRE) (1.6.0 - not 1.7.0) because Oracle Forms is a 32-bit application so it will not be able to use the 64-bit JRE.
Run the Oracle installer and it should now install succesfully.
Craig... -
Is it possible in forms 10g.
Hello All Gurus,
I have a question in forms 10g and database 11g.
Is it possible to know how the user is navigating between the forms by mouse. For example in a form I have 3 blocks. According to the objects Navigator block1, block2 and block3 are the sequence for the blocks. Also in the layout editor it is synchronized with the object navigator.
Same the items in the block. My question is if I am in the item1 of block 1 and clicking in the item5 of block 1 then here I am moving forward and if I am in the item 5 of block 1 then click in the item 3 of block 1 then I an moving backward by mouse. Is it possible to know in forms?
Regards
SUNLet's say you have 5 Blocks named block1 to block5.
In this five blocks you have 5 Items named item1 to item5
when moving from block1 to block3 it's foreward; otherway it's backward. (same with the items)
So in the when-mouse-click trigger:
check, if the current block is the same as before.
If so, check if the current item is higher then the last item (substring the itemnames).
if substr(:global.previous_triggeritem, -1, 1) > substr(:system.trigger_item, -1, 1) then
moving_backward;
elsif substr(:global.previous_triggeritem, -1, 1) < substr(:system.trigger_item, -1, 1) then
moving_foreward;
else
position_not_changed;
end if;If the last block is another then the actual block do the same with the blocknames as you have done with the item names.
Maybe you are looking for
-
Price is not Picking from Contract while making PO
Hi Gurus, Value Contract for services is created, While making the Purchase Order the price is not picking. Note:-The Contract is in Valid Period only. Can any one tell me what reasons may be there. Regards, Prabhakaran M
-
Hello everyone, I've checked the many questions and posts on KVM switches, but none seem to address my variables, so I'm hoping someone can provide some recommendations, or confirm that I can't do what I'd like to do. I have two primary macs, and a c
-
Email issue - not downloading to Outlook and email on cell phone not working
Anyone know what is causing this? Not working since 1030AM today. No verizon email downloading to MS Outlook and cant send out emails on my cell phone (Verizon network)? When will this be corrected? Solved! Go to Solution.
-
Add fields to reporting table/structure CCSS
My customer has defined some new fields (Z......) for WBS reporting in table PRPS. They would like to use these fields in report painter reports, but we have not managed to make them available in the library used (6P3). In order to make that happen t
-
IChat app. (4.0.5)
Why is there no speficic forum for iChat app. (4) ?