Exforsys

Home arrow Reviews arrow Oracle Forms

Oracle Forms Modules

Author: Packt Publishing     Published on: 12th Dec 2009

To convert the .FMB, .OLB and, .MMB files to XML, we need to do the following steps in the command prompt:

Ads

Forms Modules

The following steps are done in order to convert the .FMB file to XML:

1. We will change the working directory to the directory that has the FMB file.  In my example, I have stored all the files in a directory called summit directly  under the C drive, like this:
C:>cd C:summit

2. Now, we can call the frmf2xml command to convert one of our Forms Modules to an XML file. In this example, we convert the orders.fmb module:
C:summit>frmf2xml OVERWRITE=YES orders.fmb

As we see in the following screenshot, this command creates an XML file called orders_fmb.xml in the working directory:

Object Libraries

To convert the .OLB file to XML, the following steps are needed:

1. We first change the working directory to the directory that the OLB file is in. It's done like this:
C:>cd C:summit

2. Now we can call the frmf2xml command to convert one of our Object Libraries to an XML file. In this example, we convert the Form_Builder_II.olb library as follows: C:summit>frmf2xml OVERWRITE=YES Form_Builder_II.olb

As we see in the following screenshot, the command creates an XML file called Form_Builder_II_olb.xml and two images as .tif files in the working directory:

Forms Menus

To convert the .MMB file to XML, we follow these steps:

1. We change the working directory to the directory that the .MMB file is in, like this:
C:>cd C:summit

2. Now we can call the frmf2xml command to convert one of our Forms Menus to an XML file. In this example we convert the customers.mmb menu:
C:summit>frmf2xml OVERWRITE=YES customers.mmb

Ads

As we can see in the following screenshot, the command creates an XML file called customers_mmb.xml in the working directory:



 
This tutorial is part of a Oracle Forms tutorial series. Read it from the beginning and learn yourself.

Oracle Forms

 

Comments