two different forms.

Hi all.

example;
I have forms for two different companies, I have a different server and two servers of database application.
but I want to use a single server applications for both companies. How to change the default.env for both companies?
and how to create two different configs?
I created for a company and its operation.

any suggestions?


Sarah

OK, so let's assume that you have 2 different databases and an application server. You want to use the same forms for the two databases, but you want to adjust some parameters for each company; e.g. compagnie1 runs with the English language while company2 runs with German.

First of all, you need to change the file environment accordingly. the default.env is included in the default section of the formsweb.cfg which means that it will be used for all other configs except those who use another file of approx.

If you want to use different environment for the two configs settings you will need 2 files of the environment. To make things easy, I copy the default.env and deal with things that you want.

for example, company 1 that you want to use English as NLS_LANG. then copy the default.env and rename it to company1.env and adjust your settings:

NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252

same thing for company2; just copy and rename and change your settings.

After that, you need 2 different webconfigs for each company where replace you the default.env with the files in your environment; Like this

# config for company1
[company1]
envFile=company1.env
[...]

#config for company2
[company2]
envFile=company2.env
[...]

now, if you want to access the database of the company 1 appeal

http://IAS/forms/frmservlet?config=company1& [...]

and for the company 2 call

http://IAS/forms/frmservlet?config=company2& [...]

Tags: Oracle Development

Similar Questions

  • Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different with different

    Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different files with different after encoding names?

    Located in and out on a section and that export brands.

    .. .Rinse and repeat for the other section.

    Name each section and where it is exported to separately... and as you wish

  • How can I define two different emails in one form of contact?

    How can I define two different emails in one form of contact?

    To enter several e-mail address with Contact form Widgets:

    1. Click on the Options icon for the selected widget, then
    2. In the Email box, enter several emails in delimiting them with a semicolon. For example:
      [email protected];[email protected]
      

    CARI

  • Play two sound waves through two different sound cards at the same time?

    Hi all.

    With the help of old ship poles and the example of screw provided with Labview 2009 SP1, I could get a part of the path.

    The goal is to simultaneously play two .wav files, to two different sound cards. So far:

    (1) I can play a wav file for each sound card

    (2) I can generate two sinusoidal waves of different tones and put each two cards separately at the same time.

    But when I replace these two tones of #2 with .wav files, wave files play in turn. If wav_1 plays sound_card_1, THEN wav_2 plays sound_card_2, not simultaneously.

    It is even possible to play 2 wav files simultaneously on different maps?

    I've included a VI of the attempt to #2 above. WARNING: my labview skills are minimal and this vi was very experimental is probably terrible form.

    Why do you want to do this. Many modern sound cards have 5 channals output

  • Pavillion 500 - c60: two different monitors as multiple monitors

    Is it possible to run a two-screen display using two completely different monitors? I'm replacing an antique desk with a 500 - c60 (Win 8.1) Pavilion and also buy a W2371d monitor for the new machine. The old PC use a perfectly good 17 inches Samsung screen, but the former.

    What will happen if I tried to include my old monitor in my new configuration? If I was able to use two monitors, I would of course make the new HP the primary one. Yet, it would be useful to me if I could have the additional area of the former monitor display. However, the screens are not only of different manufacturers - they are of different vintages, different sizes, different standard resolutions. It is even possible to do?

    Hello

    Yes, you can use TWO different monitors as indicated:

    • Chart AMD Radeon HD 8400 (in combination with the processor)
  • Process in two different tables in one page

    Hi all

    I have A form with a submit button, when I click on the button I want to send the data from two different tables. For example:

    REQ_ID: 221

    BOX_NUMBER: 2

    NOM_ELEMENT: APPLE

    COUNTRY_ORIGIN: USA

    I want to send all the information in table 1 and only REQ_ID and BOX_NUMBER in table 2.

    I tried to create processes two different which are:

    1. the usual process line DML for table 1 and;

    2. simple query 'Insert' SQL for table 2

    It seems fine, until I realized that when the user tries to update the BOX_NUMBER to 10 for example, only 1 table is updated and table 2 creates an another duplicate data instead of updating the old one! This also applies to my button Delete,.

    any idea to fix this problem?

    Thank you very much

    Vika

    Reread what you wrote and you would realize why 2nd table only "new lines".

    2. simple query "Insert into ' SQL for table 2

    If you need to UPDATE the table, then you must write a simple UPDATE statement.

    If you want to REMOVE from the table, then you must write a simple DELETE statement.

    I call this "DML DIY" - do it yourself DML

    (personally, I'd probably use MERGE for INSERT and UPDATE)

    MK

  • Concatenate the date and time that are stored in two different date columns

    Hello

    I have to select date two columns from two different tables a date and another over time.

    I want to concatenate these two columns and format the result form dd/mm/yyyy hh24

    But I get error invalid number

    For example

    create table as datetime

    (select to_date (' 21/01/2014 ',' dd/mm/yyyy') as dt, to_date('08:00','hh24:mi') like double MC

    )

    Select to_char(dt||) TM, "dd/mm/yyyy hh24") of datetime

    I use oracle 10 g

    Help, please.

    Hello

    Roger wrote:

    ... If you need to take the party date to a date column and the time of anonther part, then you must first convert them to a string, concatenate them and convert them to date.

    You don't need to do this.  What you have described is a way to do it, but this isn't the only way.

    If d1 and d2 are the two DATEs, you can get year, month and day of d1 combined with hours, minutes, and seconds from d2 liike this:

    TRUNC (d1) and (d2 - TRUNC (d2))

    Nesting TO_DATE and TO_CHAR in Oracle, is almost never the best way to do anything.  Oracle provides many functions (for example, TRUNC) to manipulate dates, but also of DATE arithmetic.

  • How to make shape even alignments of element on two different regions

    Hello

    I have two different areas on the same page as the second is below the first. The two regions have some form elements like text field, select list etc. However the alignment of elements on these two regions are not the same. In different regions, it lines up just the input fields based on the maximum length of the label in the region only, so it creates two different vertical alignments by region. How have the same alignment for elements of entry in all regions?

    (I want to download the screenshot of the page but there is no provision in this forum to do).

    Thanks in advance.

    Natarajan

    The basic approach is to set the width of the point labels using a built-in CSS style sheet in the Header HTMLpage:

    
    

    If you want to limit it to the elements in specific regions, then give these regions region static ID (for example, region-1) for use as CSS selectors:

    
    
  • How to make 2 different forms for 2 different users with a single report?

    Hello

    I have a report based on a table with many columns.
    There are two different groups of people who will use this report.
    These two groups of people need to have different forms in order to complete the information as to specific columns.

    How can I allow users from the first group to use a report and the second group, users use a (different from the first) second form - first group will have to fill in the information for the first 5 columns and the second group will fill in information for the last 5 columns. However, the two groups should see all the report.

    Thank you in advance.

    Hi Rita,.

    OK - do you want to have two separate pages, one for each type of user?

    If so and you want one button to manage this for you, it is possible that the page a button can be calculated using a function.

    Create a new branch on your page and set the Type to "branch to function returning a page.

    As part of PL/SQL, you should return a string that represents the page number to create a branch to. How you do this depends on how you identify the type of user. For example:

    IF IsAdminUser(v('APP_USER')) = 'Y' THEN
     RETURN '2';
    ELSE
     RETURN '3';
    END IF;
    

    This requires that you have a function called IsAdminUser that checks if the current user is an admin user - if they are, the function returns "2", "3" is returned.

    Set this button to be triggered by the button. Remove any other branch which is also triggered by the same button that only a branch can be performed.

    Andy

  • Utility FNDLOAD between two different servers

    Hi friends,
    For the phase of the UAT of our project, we have a new server (server with RedHat Linux ES4 HP).
    We need to migrate reports form the unfounded (IBM - AIX 5.3 p) server to the new.
    FNDLOAD works between two different servers?
    If not, please tell me the reason why it doesnot work between servers.
    I would also like to know if there is a way to migrate data between two servers.

    As indicated in the documentation, it does not work between servers. You export the metadata and get an output file. Then, you take the output file and transfer it to the new source. Complete with examples, including the necessary part of XDOLoader.

  • iTunes playlists show two different formats. Why is it so.

    iTunes playlists show two different formats. Why is it so.

    A playlist displays a blue screen with numbered songs and music before notation box provided for each song. The other playlist is predominently white numbered from each song and check the box. Why is it so and how both can be given.

    Use the view > view as menu from one of six different layouts. Ones you mention is Playlist and songs respectively.

    TT2

  • I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions?

    I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions? I am familiar with clicking history / restoration of previous session, but do not want to reboot to let windows update to do it's thing unless I can restore the two sessions.

    guigs2 said

    If they run different profiles, then Yes.

    Thanks, but I use only 1 profile. However, I found the answer! If I restart/turn off / down pc WITHOUT closing a firefox session, he will come with the screen 'well, it's embarrassing"and list the TWO sessions to restore. The trick is not not to close before stopping! If you close them first, then you can only restore the session first (?).

  • I have two different pages on my Facebook account but you can only post photos on my private account.

    I have two different pages on my Facebook account but you can only post photos on my private account. How do you do if you want to share your photos of my other pages.

    < re-titled by host >

    Use the uploader on Facebook to upload photos to your other account. You can open the library of Photos from the web browser using the media browser. In the file selector, when you download image files, scroll down until you see 'Media' in the sidebar. Click on the camera icon, then select your photo library.

  • incoming mail goes to two different accounts

    How to stop incoming mail to go to two different accounts. Counting gmail.com and the other yahoo.com

    Who would say that you have configured Gmail to collect mail for you, and then Thunderbird yahoo retrieves yahoo and gmail with the inside already to say yahoo.

    To cancel such an arrangement, you will need to login to webmail servers and undo what you set.

  • Two different language versions of Firefox at the same time?

    I am running Windows 7 Home Premium. I have two accounts, one for me and one for my wife. She uses Firefox (Japanese), and I've been using another browser. But I would like to firstly using Firefox (in English).

    Is it possible to run two different language versions of Firefox on the same computer? I want to be able to run both at the same time... (So if I navigate and she wants to check an auction quickly it can without my duty close my browser).

    Can be done with relative ease?

    Make sure that each of you has their own Firefox profile folder.

    See:

    You can add - no.-distance to the command line to open another instance of Firefox with its own profile and run multiple instances of Firefox at the same time.

Maybe you are looking for

  • How to print from an android tablet to a range of hp eprint printers 5510

    I have a note samsung galaxy Tablet 10.1... I'm having problems trying to use it to print on my print Photosmart HP 5510 E in a printer... can anyone help please. Samsung was not very useful.

  • SIMM Mobile 4G: locked out!

    My HP Chromebook 14 just bought (with capacity of 4G) arrived yesterday and is working fine. So of course I had to try something that immediately work! (Well, not the works, in fact.)  The purchasing group includes 2 years of free access to the 4G mo

  • left hinge is broken

    Hello community HP,. my hp ultrabook model: HP ENVY Sleekbook 6-1080ex The left hinge broke a few days ago and I checked my warranty status and he arrived at expiration. Then a regualr computer store repair my ultrabook or should I fix it in one of t

  • CSS media queries

    Making browsers OS 5 and 6 both CSS media queries? I am trying to create style sheets separate to a Torch, Bold (9700) and a curve (9300). http://forabeautifulweb.com/blog/about/hardboiled_css3_media_queries/

  • BlackBerry Smartphones, adding a contact

    Hello! Can someone tell us how to add a new contact - a received incoming call? That is to say if someone calls on the phone, how can we then add them as a contact in the Blackberry Bold 9700. Your help it is much appreciated. Thanks in advance.