Printer selection in Forms 10g
Hello,
I am looking for a suggestion, to realize a printer selection in Forms 10g.
For a migration I have to replace the command
win_api_dialog.select_printer with something similar.
Some threads suggest to implement a java class.
Under
How i select printer in Forms9i
exist an example.
The implementation there is based on the JDK 1.4.
I need an implementation based on JDK 1.3.
Inside of the JDK 1.3 exist only a simple printer dialog.
(compare http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4645377 )
Probably exist the option to use the C-API of WebUtil. The C-API could be used to start a printer dialog of a dll. I like to avoid this option, but if you an example for that option, I appreciate to see an example for that.
In all other respects, I hope on your suggestions.
I invest some more time on that topic, but did not found a solution to display a printer selection on the client.
The only thing that i found in forum was that you can read the standard printer out the registry. But I would need all local installed printers.
I hope on your help.
Similar Messages
-
How to select local printer using oracle forms 10g
Dear All
We have developed ERP solution in oracle 10g forms & reports. and deployed on web using oracle apllication server 10g. I need help when we are giving print from oracle forms directly it goes to server default printer. instead we want
to select local printer installed on client terminal.
Please help us in this regards if anybody has solution.
Thanks,Take a look at this:
http://www.oracle.com/technology/sample_code/products/reports/index.html#orarrp
And Note:167100.1 on MetaLink.
Hope this will help.
Thanks
Shail -
Problem with PJC (Print Dialog) - Forms 10g
I have a problem with my PJC for Forms 10g r2. When I try to connect and run my PJC (raise Print dialog and put printer name in some text item) I get following message:
oracle.forms.net.ConnectionException: Forms session <2> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
When I started application, on Java console I saw this message, so I think the server configuration is fine (I change everything I need in Default.env and FormsWeb.cfg files):
Loading http://devsrv/forms/java/jESPrintDialog.jar from JAR cache
What can I change with server configuration or deploying my project to this PJC can work normaly?
Thanks....Hi and thanks!
I resolve one part of my problem. Tt was about diferent compiler (in JDeveloper 10.1.3 compiler is 1.5 and in my oc4j server JRE is earlier version, so it can`t work normaly).
I comiled PJC in 1.4 version of compiler and now I can start and run my PJC.
But, there is another problem:
this is my part of java code (note: everything work fine except one line when I want to get printer name from select printer dialog):
try {
boolean b;
PrinterJob job = PrinterJob.getPrinterJob();
b = job.printDialog();
try {
return job.getPrintService().getName();
catch (Exception e) {
System.out.println("Error: "+e.getMessage());
return "My error:";
} catch (Exception e) {
System.out.println("ERROR: " + e.getMessage());
return "Problem with PJC [esoft]";
So, when pjc want to get back printer name
return job.getPrintService().getName();
i get following error (on Java console):
java.lang.NoSuchMethodError
at happypjc.PDialog.getProperty(PDialog.java:50)
at oracle.forms.handler.UICommon.onGet(Unknown Source)
at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Can you give me some hint about it. Everything is OK now, except this (very important) peace of code!
best regards
mret -
I am trying to print a fillable form - - an application for a Chinese visa. It will not print and I get two error messages: "document could not be printed" and "there were no pages selected to print." The latter is not true. Won't print at all, the page I am on, nor any series of pages inserted.
Am using a MAC desktop and a Cannon PIXMA MX922 printer.
I need to print this form now that it is filled out? What can I do?Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
EDIT: I found it and did, but still not working. -
How to open color selection diaglog in 10g forms Plz help
Hi Everybody
I'm new to oracle 10g forms
I want to open color selection dialog in 10g forms
I've configured demos...nd they r working well....
Now i want to use code in my forms.......But I tried to see it from the source.. But I couldn't understand...
Plz help....If anybody knows...
Thanx in advanceI've added
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar,colorPicker.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar,colorPicker.jar
java.io.IOException: Caching not supported for http://192.168.0.106:8890/forms/java/frmall_jinit.jar
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WARNING: Unable to cache http://192.168.0.106:8890/forms/java/frmall_jinit.jar
java.io.IOException: Caching not supported for http://192.168.0.106:8890/forms/java/colorPicker.jar
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
at sun.misc.URLClassPath$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getLoader(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.ewt.util.FocusUtils.<clinit>(Unknown Source)
at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)
at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)
at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)
at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)
at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)
at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)
at oracle.forms.engine.Main.<init>(Unknown Source)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
WARNING: Unable to cache http://192.168.0.106:8890/forms/java/colorPicker.jar
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
*** VBean Setting debugMode to ALL
*** VBean Setting beanName to oracle.forms.demos.beans.ColorPicker
*** VBean Failed to instantiate class: oracle.forms.demos.beans.ColorPicker java.lang.ClassNotFoundException: oracle.forms.demos.beans.ColorPicker -
Forms 10g installed and running on Windows Vista
<font color=0000FF>Update 12-Dec-2008: </font>Oracle has published NOTE 559067.1 -- How to Install Developer Suite 10.1.2.0.2 - hence 10.1.2.3 - on Windows Vista, 24-OCT-2008 with some installation help.
<font color=0000FF>Update 07-July-2008: </font> Added text at the bottom showing how to find patchsets for Forms 10g.
<font color=0000FF>Update 29-May-2008: </font> This thread was started in November, 2007. In January, 2008, Oracle released Patch 3 for Forms 10g, which makes Forms 10g compatible with Windows Vista. As time permits I'll try to keep the information in this post up to date. Updated information will be inserted <font color=0000FF>as blue text.
</font>
<font color=0000FF>Original message begins here:</font>
This is a second thread I am posting to outline the steps I have used to install Forms on a Windows Vista Home Basic laptop. The other thread describes installing Forms 6i:
Forms 6i installed and running on Windows Vista
Please read through the initial part of that post for the background. I realize Oracle has not certified Forms 10g to run on Vista, but the time has come for my associates and I to upgrade our old computers to new desktop/laptop platforms, and I would hate to acquire XP machines and be stuck with them for the next 5 years. <font color=0000FF>(Note: Since first posting this message, Oracle has certified Forms 10g Patch 3 (version 10.1.2.3.0) to run on Vista)</font> So after another person informed me that he had Forms installed and running on Vista, I went ahead and bought one. I found that as long as I set the compatibility mode to run Forms programs as Windows XP (and a few other changes), Forms 6i and 10g run quite satisfactorily.
<font color=0000FF>Update 29-Jan-2008: </font> Unfortunately, it turns out that the Forms 10g Builder running on Vista <font color=0000FF>had</font> a major flaw: If you try to develop a form, the Builder will crash if you try to compile a procedure that calls another procedure in the form that has errors. The problem is reported and described in this thread: Error compiling a form under Vista
<font color=0000FF>Update 12-Mar-2008: </font> Installing Patch 3 on Vista does not help with this problem -- the Builder still crashes in the same situation.
<font color=0000FF>Update 25-July-2008: </font> Applying Patch 7047034 has corrected the problem. See this link within this thread: Forms 10g: Installing Patch 7047034 on Windows Vista
Webutil note: I am stuck in a Forms 6i client/server world, so all my forms must run in that environment. Therefore I have not used any Webutil software, and I do not know whether that part will run under Vista.
Internet Explorer note: On Windows Vista, IE CANNOT be used to run the Web Forms runtime. It crashes immediately when you try to run a form. Instead, I can use either Firefox (Firefox 2, Firefox 3.0 Crashes with Forms 10g) or Netscape, as long as they are set to disable java. <font color=0000FF>[ Correction: IE7 on Vista now runs the Forms 10g forms. You just need to add "?config=jpi" to the browser URL when starting the Web Forms session. More IE/Vista info: [url=http://forums.oracle.com/forums/thread.jspa?threadID=642973]Vista JInitiator Problem ]</font>
The Oracle Developer Suite download page:
http://www.oracle.com/technology/software/products/ids/index.html
Oracle Developer Suite Installation Guide:
http://download.oracle.com/docs/cd/B25016_07//doc/dl/core/B16012_04/toc.htm
The steps below are those I followed to install Forms 10g (version 10.1.2.0.2)
I. Preliminary system changes in Windows
When I started installing, I got the following error message: Install has encountered an error while
attempting to verify your virtual memory settings.
Please verify that the sum of the initial sizes of
the paging files is at least 256 MB.To fix this: Go to Control Panel, System and Maintenance, View amount of RAM and processor speed (under "System"),
Advanced system settings (in left "Tasks" column), Advanced tab, Settings (under "performance"), Advanced tab:
Virtual Memory shows a "Total paging file size for all drives: 2337MB.
Click "change", Uncheck "Automatically manage paging file size for all drives"
Click "custom size:", set Initial size to: 2048, Max to 4096
Click set button, then OK, get message:The changes you have made require you to restart your computer before
they can take effect.Restart the computer.
II. Installing Forms 10g
1. Download two files from Oracle:
ds_windows_x86_101202_disk1.zip (626,122,752 bytes)
ds_windows_x86_101202_disk2.zip (236,880,881 bytes)
2a. Before extracting, it is a good idea to shut down any virus protection software. It can sometimes prevent some files from being created.
2b. Extract both into the C:\oracle directory, as disk1 and disk2.
3. Using Windows Explorer, change the properties of setup.exe in the C:\oracle\disk1 folder. (In windows explorer, right click, properties, Compatibility tab.) Change the compatibility to run as Windows XP (Service Pack 2).
4. Right click setup.exe and click "Run as administrator"
5. Select "Installation type" = Complete (1.11 GB)
6. Received this message:Windows Firewall has blocked this program from
accepting incoming network connections. If you
unblock this program, it will be unblocked on all
public networks that you connect to.
C:\users\steve\appdata\local\temp\orainstall...
2007-10-29_11-59-08am\jre\1.4.2\bin\javaw.exeI clicked "Unblock"
7. Received this message: "Provide outgoing mail server information" I entered the smtp mail server that I use.
8. A summary screen displayed showing 274 products under New Installations.
I clicked the Install button.
9. Received this message: You can find a log of this install session at:
C:\Program Files\Oracle\Inventory\logs\installActions2007.....log
10. The installation completed. Installed products shows Forms 10.1.2.0.2
III. After the install completed
1. Create a shortcut to the Forms 10 Builder on the Desktop.
On the shortcut line, after the .exe, add *userid=userxxx/pwxxx@orcl* so Builder automatically logs into 10g database. If you do step 4 below (creating an easily-accessible folder to use for your forms) change the "Start in" path on the shortcut so it points to that folder. Otherwise, Forms Builder will not find referenced objects and PLL libraries when it opens a form. Also do the same on the Start, All Programs shortcut for the Forms Builder.
Edit: After applying Patch 3, the following steps are not necessary.
Set its compatibility to Windows XP.
Set checkbox: "Run this program as as an administrator." (Without this, FormBuilder will NOT open a PLL library.)
Click the "Show settings for all users" and change values there.
2. Copy "Start OC4J Instance" icon to desktop.
Set its compatibility to Windows XP.
The first time it runs, I got a Windows popup to unblock program named Java. I clicked "Unblock".
3. tnsnames.ora:
Rename C:\oracle\DevSuiteHome_1\network\admin\tnsnames.ora
to: tnsnames_orig.ora
If you created a tnsnames.ora file for Forms 6i, just copy it to the path above. If not, do this:
Create a new tnsnames.ora file, copying entries old file on my old laptop, which contains all the connections I use.
Delete the old laptop entry, replace with new entry for the new local ORCL connection on new laptop from tnsnames file renamed from the c:\oracle\... ...\10.2.0\db_1\ path.
4. Optional: Create an easily accessible folder to store fmb files:
C:\users\steve\.1\fmb10
You don't really want to keep drilling into C:\oracle\DevSuiteHome_1\forms, and then find your .fmb file among the several dozen oracle-supplied files.
To create a folder named .1, you have to open a CMD.exe (Windows DOS) window, and type the Make Directory command:
MD .1
That will create the folder within the current directory -- mine defaults to C:\users\steve
Note: If you also need to use Forms 6i like me, DO NOT EVER open a .fmb file in the Forms 10 Builder from the Forms 6i folder. If you compile it, or even worse, save the .fmb, Forms 6i *cannot ever* access the file. Instead, always use the File Manager (Windows Explorer) to copy the fmb from the fmb6 folder into the fmb10 location.
5. Change the Forms 10g Default.env file using a text editor.
This file replaces all the settings originally written to the Windows Registry (GREAT idea, Oracle! I hate the registry.) No more Regedit. The default.env file is located at: (DevSuiteHome_1 path)\forms\server\default.env
Locate line with: FORMS_PATH= and add:
;C:\users\steve\.1\fmb10
Add a new line:
FORMS_MMAP=FALSE
The above allows compiling an fmx while the form is running.
Add a new line:
FORMS_ROWLOCK_OPTIMIZATION=FALSE
(This fixes Oracle bug number 3949854, which prevents automatic skipping if the same value is typed over another value. TAR 4806199.993 Automatic Skip failure...) See bug 4068896
Add a new Line:
FORMS_RESTRICT_ENTER_QUERY=False
This allows use of Query-Where window in enter query, after entering a colon in any input field. Without this, Forms returns FRM-40367: Invalid criteria in field nnn in example record. Oracle shut it down to prevent "sql injection" attacks.
6. Jiniator setup:
Run file jinit.exe in C:\oracle\DevSuiteHime_1\jinit\jinit.exe
It installs Jinitiator 1.3.1.22.
I installed it in C:\oracle\JInitiator 1.3.1.22\
For Firefox, make sure a copy of file \bin\NPJinit13122.dll resides in C:\Program Files\Mozilla Firefox\plugins.
For Netscape, the path is: C:\Program Files\Netscape\Navigator 9\plugins
7. Browser settings
See the note above about using Firefox 2 and not Firefox 3!
In Firefox 2 go to: Tools-> Options-> Content
Uncheck the "Enable Java" checkbox
--Firefox terminates if this is not done!
Note: After my system automatically installed updates to either java or Firefox, re-check the "Enable Java" setting. I am suspicious that one of these installs re-enables java in the browser.
Also note: some web sites cannot display properly if java is disabled. Example: U.S. time website: http://www.time.gov Use Internet Explorer to view these.
In Netscape make the same changes as Firefox. Without disabling java, it also terminates when you try to run a form.
Creating a url to use in the browser:
Try this:
http://127.0.0.1:8889/forms/frmservlet
If it does not work, change the 8889 port number as follows:
Open file: C:\oracle\DevSuiteHome_1\install\portlist.ini
Note the number in line:
Oracle Developer Suite HTTP port = 8889
Use the number as the port number.
You can also change the 127.0.0.1 to the computer name:
Control Panel, System and Maintenance, See the name of this computer (under "System"). Mine is "steve-PC"
So the alternate URL is: http://steve-PC:8889/forms/frmservlet
To try out the URL, start the OC4J instance set up above. Then start either Netscape or Firefox, and enter the URL. You should get a welcome screen.
If the above URL works, start up the Forms Builder, and open Edit, Preferences. On the General tab, uncheck the "Build before running" check box (optional). On the Runtime tab, set the "Application Server URL to the url above.
To run a real form, add this to the URL after frmservlet, (with no spaces):
?form={formname}&userid={userxxx}/{passwordyyy}@{connect-string}
but replace the parts in curly braces with the appropriate values. Example:
http://127.0.0.1:8889/forms/frmservlet?form=ABC&userid=abc123/zyx@orcl
Setting up Forms Builder to directly run a form in the browser:
Run the Forms Builder. Go to Edit, Preferences, Runtime tab.
Set the Application Server URL to:
http://127.0.0.1:8889/forms/frmservlet
(or use whatever URL string you developed above)
Set the Web Browser Location to:
"C:\Program Files\Netscape\Navigator 9\navigator.exe"
(or an equivalent to run the Firefox browser).
8. FORMSWEB.CFG file changes
The file is located at:
C:\ORA_DS_101202\DevSuiteHome_1\forms\server\formsweb.cfg
I changed the following two lines in the file, but these are my personal preferences:
separateFrame=true
lookandfeel=Generic
9. FMRWEB.RES file changes
For Oracle help: Enabling Key Mappings
The file fmrweb.res defines actions (triggers that run) when a function key is pressed while running Forms. The one released has unix-style key mapping, but I prefer keys originally mapped for Windows PC Forms users. There is a fmrpcweb.res in the same folder that can be renamed to fmrweb.res.
In the C:\oracle\DevSuiteHome_1\forms path, I renamed fmrweb.res to fmrweb_orig.res.
I have a file that I prefer to use, so I put it into the folder as fmrweb.res. The contents are listed below. It is organized so the most important keys are listed alphabetically at the top (URFD column is the sort column), followed by a group of less-important keys. These are keys that are available to users, but they either would not use, or are disabled within most forms. The URFD column in the second set starts with a hex A0 character, which is a high-order space, so collates after normal alphabetic characters. (Note: If you want to copy the text below and use it, the hex A0 character has been changed by the forum software to a space. So you would need to use a text editor with hexadecimal character capabilities to replace the space with the original character. )
My file has special keys defined for F2 (I use it for a debugging Key-F2 trigger in my forms), and a "Cursor to Home" F12 function. All the rest are pretty much the same as in the released fmrpcweb.res file, only mine are organized alphabetically on the URFD column.
The Web Forms fmrweb.res file is editable using any programming editor (NOT MS Word!!!). The old Client/Server key mapping file, fmrusw.res, could only be changed using the Oracle Terminal program (and it is a pain to use).
Here is the main part of my fmrweb.res file:#
#Jfn :Jmn: URKS :Ffn : URFD
# : : (User-readable : : (User-readable
# : : Key-sequence ) : : function description)
118 : 1 : "Shift F7" : 74 : "Clear Form"
121 : 0 : "F10" : 36 : "Commit"
117 : 0 : "F6" : 65 : "Create Record"
10 : 1 : "Shift Enter" : 82 : "Cursor to Home" # sdsu uses this
123 : 0 : "F12" : 82 : "Cursor to Home" # sdsu uses this
#: --Alt+Home works, but leaves the Action (first
#: --pull-down menu item) highlighted. Press Esc or
36 : 8 : "Alt Home, then Alt" : 82 : "Cursor to Home" #-- Alt again to clear highlight.
117 : 1 : "Shift F6" : 63 : "Delete Record"
119 : 0 : "F8" : 77 : "Execute Query"
120 : 0 : "F9" : 29 : "List of Values"
9 : 0 : "Tab" : 1 : "Next Field"
40 : 0 : "Down-Arrow" : 7 : "Next Record"
9 : 1 : "Shift Tab" : 2 : "Previous Field"
38 : 0 : "Up-Arrow" : 6 : "Previous Record"
112 : 0 : "F1" : 35 : "Show Keys"
116 : 1 : "Shift F5" : 69 : " Clear Block"
116 : 2 : "Ctrl F5" : 3 : " Clear Field"
113 : 1 : "Shift F2" : 80 : " Count Query Hits"
112 : 1 : "Shift F1" : 78 : " Display Error"
114 : 0 : "F3" : 73 : " Duplicate Item"
115 : 0 : "F4" : 64 : " Duplicate Record"
69 : 2 : "Ctrl E" : 22 : " Edit Field"
122 : 0 : "F11" : 75 : " Enter " # Causes validation, w/o cursor move
118 : 0 : "F7" : 76 : " Enter Query"
81 : 2 : "Ctrl Q" : 32 : " Exit"
112 : 2 : "Ctrl F1" : 30 : " Help"
34 : 0 : "Page Down" : 66 : " Next Set of Records"
119 : 1 : "Shift F8" : 79 : " Print"
10 : 0 : "Enter/Return key": 27: " Enter/Next Field"
33 : 0 : "Page Up" : 12 : " Scroll Up"
116 : 0 : "F5" : 87 : " F5 Key for special uses"
#121 : 3 : "Shift Ctrl F10" : 82 : " Function 0" #--disabled. Cursor to home defined above
112 : 3 : "Shift Ctrl F1" : 83 : " Function 1"
113 : 0 : "F2" : 84 : " Function 2"
113 : 11: "Ctrl Alt Shift F2":95: " List Tab Pages" #<-REQUIRED, or F2 cant be assigned
114 : 3 : "Shift Ctrl F3" : 85 : " Function 3"
115 : 3 : "Shift Ctrl F4" : 86 : " Function 4"
117 : 3 : "Shift Ctrl F6" : 88 : " Function 6"
118 : 3 : "Shift Ctrl F7" : 89 : " Function 7"
119 : 3 : "Shift Ctrl F8" : 90 : " Function 8"
120 : 3 : "Shift Ctrl F9" : 91 : " Function 9"<B>Finding Forms 10g Patchsets</B>
Here is how to do the search: Log into metalink ( https://metalink.oracle.com ), then click on the Patches & Updates tab, then Simple Search.
In "Search by", select Product or Family. Enter "Developer Forms" in the box.
Then click the Release choices, and select "iAS 10.1.2.3"
Patch Type should be "Patchset/Minipack"
Platform or Language should be "Microsoft Windows (32-bit)"
Click Go, and the Forms 10g patch should show up. As of July, 2008 the only one available is: [url=
https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5983622&release=1710123&plat_lang=912P&patch_num_id=943599
]5983622
Edited 2008-12-12 to add a link to Oracle Note 559067.1 and added the fmrweb.res file listing.
Edited 2008-10-28 to change text format to work better within new forum format
Edited 2008-7-7 to add patchset search information.
Edited 2008-4-21 to modify information.
Edited 2008-3-6 to add information.
Edited 2008-5-29 to update information.I followed your instructions and installed Developer Suite 10G on Windows Vista Home Premium edition. I have Oracle 11G DB running on the same machine.
Two points, Steve:
1. When I tried to set the maximum virtual memory to 6110 an error message displayed from Windows and told me that I can't set the maximum virtual memory to more than 4096. I set it to 4090 and it worked and I got nothing wrong during the installation process.
2. After installing JInitiator and disabling Java on Firefox I called the http://127.0.0.1:8889/forms/frmservlet page and everything seemed to be OK because the Oracle Forms Services logo appeared and then a successful installation message appeared , but as I clicked (ok) to continue a gray screen appeared inside the browser (like the one displayed when you try to run a Java applet inside a browser) and then I wait to death till something appears but sadly nothing. I just get a blank gray screen inside my Firefox browser.
Do you have any idea what to do to solve the problem?
Regards -
Open a printer selection dialog
hi,
I've installed oracleAS 10g, and I would like to open a printer selection dialog in an application form.
I know that I can't use a JavaBean because of my version of JInitiator -1.3.1.17-, which not supported javax.print package.
I know that I can't use WebUtil because there isn't function which do it.
Have you pplease a solution ?
Thank you for your help.
ThomasHi Frank,
I am using developer 9.0.4. Can you explain the javax.print package in detail so that i can work on the printer selection dialog window, since i too am facing the same problem.
i unable to adjust the paper size in character mode while printing, as we do not have the preview of the character mode print in the version that i am using, the out is directly taken to the printer, and does not give the option of selecting the paper size. ( paper size is 8"x6").
hope you got wht is the problem.
please let me know your suggestions ASAP.
Thanks,
Bahsar -
Calling Report from Menu (Oracle Forms 10g)
We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.Here is the code to call report from menu in 10g
DECLARE
pl_id ParamList;
repid REPORT_OBJECT;
v_rep varchar2(100);
v_server VARCHAR2(100);
rep_status varchar2(100);
v_host VARCHAR2(100);
BEGIN
select rep_server into v_server from reports_data;
select machine into v_host from reports_data;
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
repid := find_report_object('REPORTOBJ');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
v_rep := RUN_REPORT_OBJECT(repid, pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
message('Running');
END LOOP;
IF rep_status = 'FINISHED' or rep_status is NULL THEN
--Display report in the browser
WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
ELSE
null;
END IF;
END; -
DB link is not working in forms 10g
Hi,
I have to different machines with DB Oracle 10g and Oracle 9i. I have created dblink to access data from Oracle 9i from Oracle 10g. This DB link is working perfectly from sql. but when i am using this dblink in form 10g. it is giving following errors.
Here it is compiling post-query trigger.
my query is select count(*) into var1 from CL_PASS_MASTER@ICLC2CISF .
Compiling POST-QUERY trigger on form...
Compilation error on POST-QUERY trigger on form:
PL/SQL ERROR 0 at line 0, column 0
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-06544: PL/SQL: internal error, arguments: [55916], [], [], [], [], [], [], []
ORA-06553: PLS-801: internal error [55916]
ORA-02063: preceding 2 lines from ICLC2CISF
the same query is working from sql prompt.
Please help me..+"How about if you create a synonym in the back-end using db link?+
+create synonym syn_CL_PASS_MASTER for CL_PASS_MASTER@ICLC2CISF;+
+and use the synonym in post-query. "+
+ 1
Francois -
Print 2 different forms to 2 different printers 1 ABAP program
Is it possible to print 2 different forms to 2 different printers from one program?
Example: a Shipping invoice and a Shipping Label (mailing sticky label)
Could they be a combination for form types? SAP Script and SMARTFORMS, SAP Script and PDF, SMARTFORMS and PDF
I have a need to print a Shipping Invoice and Label from a single program. I need to beable to print multiple copies of the label at the same time for multiple shipping packages. i.e. 1 of 4, 2 of 4 etc.
The users want to select print a single invoice and the neccessary labels from a single transaction request.
KenHi,
Could you please see the program RLVSDR40.
Thanks,
Abhijit -
Problem with output from report to excel, calling the report from form 10g
Hi everyone, I'm having a problem generating a excel from a report, which is called from a form, I'm using Forms 10g. The problem is this: My report has a variable number of columns. These columns appear according to data obtained from the database, these columns are dates, In vesion 6 excel file generated shows the columns one after another starting in column A1 to column CP. I mean that the dates are correlative. But in version 10g the excel file generated shows the same report starting in column A to column T, only shows the 20 dates correlative corresponding to this columns, the rest of the dates are down the excel sheet in groups of 20 dates, it's something, the file in 6i grows across and in 10g grows down the excel sheet. The report (rdf file) is the same in 6i and 10g, I compiled the 6i version to obtain the 10g version. The excel sheet generated in 10g looks like the report was in pdf format, because PDF format, cuts the report in pages and the file grows down, if I generate the report in PDF format it has the same structure excel file in 10g has. I hope yo can help because I have days trying to solve this but I have no succes. If someone could help I could email the excel files generated in two versions. Here I put the code I use to generate the files in 6i and 10g. I have tried with DESFORMAT=SPREADSHEET in 10g but the result is the same. Thanks for your help. Greetings for all.
Code for version 6i (Works Very well)
PROCEDURE GUARDAREXCEL IS
pl_id ParamList;
nom_rep varchar2(20);
cla_rep varchar2(20);
cod_dis varchar2(4);
nom_arch varchar2(100);
fec date;
BEGIN
pl_id := Get_Parameter_List('tmpdata');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('tmpdata');
IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
cod_dis := :BK_PARAMETROS.LI_COD_DIS;
END IF;
IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
ELSE
Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
:BK_PARAMETROS.TI_COD_CLI:='%';
END IF;
IF :BK_PARAMETROS.CLAS_REP=1 THEN
cla_rep := '001';
ELSE
IF :BK_PARAMETROS.CLAS_REP=2 THEN
cla_rep := '002';
ELSE
IF :BK_PARAMETROS.CLAS_REP=3 THEN
cla_rep := '003';
ELSE
cla_rep := '004';
END IF;
END IF;
END IF;
Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );
select sysdate into fec from dual;
IF :BK_PARAMETROS.TIPO_REP=1 THEN
BEGIN
nom_rep := 'tdvenrli1577.rep';
nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
END;
ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
BEGIN
nom_rep := 'tdvenrli1578.rep';
nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
END;
ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
BEGIN
Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');
nom_rep := 'tdvenrli1576.rep';
nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
END;
ELSE
BEGIN
nom_rep := 'TDVENRLI1545.REP';
nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
END;
END IF;
--Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
standard.commit;
Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
EXCEPTION WHEN Run_Product_Failure THEN
message('Error');
END;
Code for version 10g
PROCEDURE GUARDAREXCEL IS
pl_id ParamList;
nom_rep varchar2(20);
cla_rep varchar2(20);
cod_dis varchar2(4);
nom_arch varchar2(100);
fec date;
--byt12122007.sn
repid REPORT_OBJECT;
vURL VARCHAR2(500);
rep_status VARCHAR2(20);
vJobID VARCHAR2(100);
v_rep VARCHAR2(100);
VAR NUMBER;
w_name_repserv VARCHAR2(30);
--byt1212007.en
BEGIN
--w_name_repserv:=F_OBTIENE_SERVREP;
w_name_repserv:='repserv';
pl_id := Get_Parameter_List('mytmp_params');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('mytmp_params');
IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
cod_dis := :BK_PARAMETROS.LI_COD_DIS;
END IF;
IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
ELSE
Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
:BK_PARAMETROS.TI_COD_CLI:='%';
END IF;
IF :BK_PARAMETROS.CLAS_REP=1 THEN
cla_rep := '001';
ELSE
IF :BK_PARAMETROS.CLAS_REP=2 THEN
cla_rep := '002';
ELSE
IF :BK_PARAMETROS.CLAS_REP=3 THEN
cla_rep := '003';
ELSE
cla_rep := '004';
END IF;
END IF;
END IF;
Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
/*Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );*/
select sysdate into fec from dual;
IF :BK_PARAMETROS.TIPO_REP=1 THEN
BEGIN
repid := find_report_object('tdvenrli1577');
--nom_rep := 'tdvenrli1577.rep';
nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1577');
END;
ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
BEGIN
repid := find_report_object('tdvenrli1578');
--nom_rep := 'tdvenrli1578.rep';
nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1578');
END;
ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
BEGIN
repid := find_report_object('tdvenrli1576');
Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');
--nom_rep := 'tdvenrli1576.rep';
nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1576');
END;
ELSE
BEGIN
repid := find_report_object('tdvenrli1545');
--nom_rep := 'TDVENRLI1545.REP';
nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1545');
END;
END IF;
--Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
--Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
standard.commit;
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME,nom_arch);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, 'File');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'DELIMITED');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, w_name_repserv);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER, 'paramform=no');
v_rep := RUN_REPORT_OBJECT(repid, pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
rep_status:= report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
vJobID := SUBSTR(v_rep, INSTR(v_rep, '_', -1)+1);
vURL:='/reports/rwservlet/getjobid'||vJobID||'?'||'server='||w_name_repserv;
END IF;
WEB.SHOW_DOCUMENT(vURL, '_blank');
IF NOT form_success THEN
MESSAGE('Error: PL/SQL held against Button failed to execute');
RAISE FORM_TRIGGER_FAILURE;
END IF;
/*Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
EXCEPTION WHEN Run_Product_Failure THEN
message('Error');*/
END;There are two problems with your VI. First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this: Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition. When you exit the acquire/write to file loop, then close the file. In particular, the opening and the closing of the file should not be inside the loop.
As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus. As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function. Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
Good Luck.
Bob Schor -
Hi All..
Can you plz explain me clearly..
How can i use WRITE_FOR ..
shell i write it in form or Print Program..
Clearly.. i want to print 5 columns like vbap-arktx, vbap-zmeng,vbap-zmeng,vbap-netpr, vbap-kzwi1..
with headings Service details,personnel,HR,Rate,Amount
AT last i want to print Total of all amounts..
Can u plz tell me the logic clearly. with code..
Thanks & Regards
RajHi prasad,
we have to write 'Write_form' FM in driver program itself. I am writing small example code below. if it is helpful plz give me points.
report zsumascriptsv1_p .
data v1 type i value '888-'.
tables mara.
data it_vbap like mara occurs 0 with header line.
selection-screen begin of block b1.
select-options: s_matnr for mara-matnr.
selection-screen end of block b1.
*-- Start of Selection
start-of-selection.
select *
into table it_vbap
from mara
where matnr in s_matnr.
if sy-subrc = 0.
endif.
call function 'OPEN_FORM'
exporting
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
* DEVICE = 'PRINTER'
* DIALOG = 'X'
form = <b>'script_form_name'</b>
* LANGUAGE = SY-LANGU
* OPTIONS =
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJECT =
* RAW_DATA_INTERFACE = '*'
* SPONUMIV =
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
* EXCEPTIONS
* CANCELED = 1
* DEVICE = 2
* FORM = 3
* OPTIONS = 4
* UNCLOSED = 5
* MAIL_OPTIONS = 6
* ARCHIVE_ERROR = 7
* INVALID_FAX_NUMBER = 8
* MORE_PARAMS_NEEDED_IN_BATCH = 9
* SPOOL_ERROR = 10
* CODEPAGE = 11
* OTHERS = 12
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
loop at it_vbap.
call function 'WRITE_FORM'
exporting
element = 'HEADER'
function = 'SET'
type = 'BODY'
window = 'MAIN'
* IMPORTING
* PENDING_LINES =
exceptions
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
codepage = 9
others = 10
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endloop.
call function 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
* TABLES
* OTFDATA =
exceptions
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
others = 6
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
if it is helpful plz reward points.
Thanks,
suma. -
How to print a smart form in two diff languages runtime
Hi friends,
we have a requirement to print a smart form in two langauges one in english
and other in Spanish those selection has to given by check box condition.
pls send some stuff .
Thanks & Regards
Jagadeeshwar.Bhi! Jagadesh
1. Create two different Smartforms
2. In Form Atributes Option -->General Attributes -->Language Tab -- there is a Optiona to select a Particular Language.( To select Language) there <b>select the EN</b> for 1st optin and <b>ES for Spanish</b>, Normally it will be in To all Language.
3. Create a report with Radiobutton (bz Check Box have an attributes to check both the Options)
when option1 = 'EN'.
call form1 with EN language
when option2 = 'ES'.
call forms 2 with ES Language.
Reward me if its useful.
Regards,
Nagulan -
Dear All
I want to load image from hard Disk to data base in forms 10g.
I have a Image item and Browse button in my forms and in database it is a BLOB column.
I need when i click on Browse Button then it will open the browse window and you can select on that.
How to do ? Urgent , please help me .
Thank you.or
try this.
declare
l_file_name varchar2(383);
begin
l_file_name := webutil_file.file_open_dialog( );
if
l_file_name is not null
then
if
:block.rowid is not null
then
create_record;
end if;
client_image.read_image_file ( l_file_name, substr ( l_file_name, instr ( l_file_name , -1 ) ), 'images.images' );
end if;
end;Note:- u have to attach webutil.pll without library it will not work.
Sarah -
Hello,
I am using FormsGraph in forms 10g.
Now I need additional options - more visualized graph and dynamic graph - like in Flash.
Is there a way to achieve that using a java bean?
Is it possible to use flash inside a form window?
Thank you,
NinaJava Plug-in 1.6.0_14
Using JRE version 1.6.0_14-b08 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\nina_n
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx
load: class oracle.forms.webutil.common.RegisterWebUtil not found.
java.lang.ClassNotFoundException: oracle.forms.webutil.common.RegisterWebUtil
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx
גרסת Forms Applet היא : 10.1.2.3
Reading certificates from 1990 http://pc10-060.jer.ad.malam.com:8889/forms/java/eHTMLBrowser.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\9\603b1b09-2844393f.idx
Reading certificates from 6718 http://pc10-060.jer.ad.malam.com:8889/forms/java/jdic.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\51\2a47f033-52581ebc.idx
org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at org.jdesktop.jdic.init.JdicManager.initShareNative(Unknown Source)
at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
at oracle.forms.fd.EnhancedHTMLBrowser.<init>(EnhancedHTMLBrowser.java:56)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Unknown Source)
at java.io.File.getCanonicalPath(Unknown Source)
... 23 more
------> ExtendedFrame title : Enhanced Web Browser
Set Border=false
Reading certificates from 141303 http://pc10-060.jer.ad.malam.com:8889/forms/java/frmall.jar | C:\Documents and Settings\nina_n\Application Data\Sun\Java\Deployment\cache\6.0\25\373de359-57e5f745.idx
Maybe you are looking for
-
Pages uploading too big or zoomed in
Every time I preview a page in the browser it is always zoomed in or too big. Firefox is my default browser so when I zoom out it shows fine but for visitors coming to page for the first time the page will not display the way it's supposed to be. Is
-
Cannot See Database Tables in BI Discoverer Admin
Hello All - My organization recently upgraded to Discoverer 10g from Discoverer 4i. In 10g the EUL is called BIEUL and in 4i it was called V9EUL. During the upgrade, all the Business Areas belonging to V9EUL in 4i were assigned to BIEUL in 10g. I'm n
-
Resize a single desktop icon?
Is there any way to change the size of just one folder icon on the desktop? I just want to be able to emphasize one icon, and keep the others a smaller size. Is this possible?
-
Recently Played list with multiple tracks
Is it possible to have the same track more than once in a Recently Played smarlist? Thanks.
-
QS41 & QS51without trasnport request!!!!!!!
Hello, All. Here we are with ECC6.0. We have implemented some notes, but before that,,,,,,,,,, FOR QS41 and QS51, we have done some settings following two things were happening for these two trxns, 1. No any transport request fired. 2. QS41 a