Is it better to create a form for the 25 different forms?

We have a Telco Application (in the form of 10g) which has about 200 forms that are called from the main menu. Off than 200 forms on * 25 * are forms of type 'upload file' (see below).

http://www.freeimagehosting.NET/alg6q

As you can see, it's small size. The feature is:
*(a.) Select a text file (which includes tabular data) of the client computer.
When the file is selected, it is also copied to a directory on the DB server machine. The file name displays the full path of the file in the client computer.
* (b) * when the user press the load button, form calls a stored procedure that is packed. We create an EXTERNAL table mapped to the file in the directory db and read the contents of a temporary table in the comic book.
* (c) * when the user press the Process button, the temporary table is read and our Telco tables are updated using these data.
* (d) * you can view the records of error and the correct records discovered during treatment, with the option to view the file . This will display 2 Oracle reports.
* (e) * you can delete the contents of the temporary table by using the option delete temporary .

This story goes like this: our application is in the form of 10g. Now, we want to update this application Forms 11 g value. We met one of the problems was the FileUploader bean that we use in the forms above. This does not work in 11g. Solution has been found using WebUtil. Now, we must change all the 25 forms (obviously).


Now here's the really important part: our managers feel that in the future also we may have to move to these 25 forms (due to problems/upgrades future with WebUtil and so on) and they want us to create a form for 25 forms. For example, in a form.

(a.) we have a list box at the top where chooses to uses which upload function he wants.
(b.), the file is selected (and then transferred to the DB directory).
(c.) now when users click on the load button to execute the charge process packed for the selected workload file option.
(d) when he pressed the Process button we need to run the program for the selected file download function unit.
(e) when the user presses the button view the file, it should display the correct records and invalid records (found after treatment) 2 speed. The reports differ from a function to a function.
(f) it can delete the records in the temporary table by using the Delete Temp button.

Is it good idea? My first study tells me that it isn't a good idea since we have a form with too many features. What are the advantages and disadvantages of this approach and what is the best solution?

Published by: user12240205 on June 25, 2012 01:16

The code is not DUPLICATED. The code to load and process is completely different from form to form.

Looks like the old method of copy-paste-adapt.
But it surely is something all forms have in common, no? Even if the code is not duplicated the process is (select the file, download it, treat it, call a report, delete temporary data). Look at what needs to be done in general, create an API on that and let your forms to use this API. Ways to form stuff can be done via the user triggers, procedures referenced/copied, etc.. If I were you I would go back, look at the code and see how I can do an API.

see you soon

Tags: Oracle Development

Similar Questions

  • Can we use Beta to create live applications on the Apple App Store?

    Hello

    Can we use Beta to create live applications on the Apple App Store?

    Here are the terms of use, you agree to during registration for the beta: https://beta.publish.adobe.com/resources/dps_beta_tou.pdf. Article 3 is the relevant section that answers your question.

    Neil

  • Creating a custom for the current scale

    Hi guys,.

    I need help in the creation of a custom scale. I read motor current (analog I / P) and I want to show that on a chart and write it to a file. I need to use a linear scaling for custom scale. The slope is 2 and the intersection point is 0. I have attached the code to clearly indicate what I'm currently building. The way I put up right now, it's not the scaling. It has 2 spots in the code. I would like to create a custom for the first task, as in the attached code scale. I had a scale customized using VI to Express DAQ Assistant. But I do not see these options when I try to do the same with the DAQmx task. Please let me know how this can be done. Any help is greatly appreciated.

    Thank you

    REDA

    Ah.

    on the pallate DAQmx > advanced > the balance settings

    There is a scale property node and "Create Scale.vi"

  • How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    If you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    Make sure you get the 64 bit version.

    See you soon. Mick Murphy - Microsoft partner

  • How to create a password for the user account for my child?

    How to create a password for the user account for my child?

    You can create the user with the parental control account. This will act as a protection for the child's account.

    You can take a look at the following links on setting up parental controls:

    http://Windows.Microsoft.com/en-us/Windows/set-up-family-safety#set-up-family-safety=Windows-7

    http://Windows.Microsoft.com/en-us/Windows/set-parental-controls#1TC=Windows-7

    http://www.howtogeek.com/HOWTO/10524/how-to-use-parental-controls-in-Windows-7/

  • How can I create a shortcut for the recycling bin in my office?

    Original title: Recycle bin shortcut.

    Anyone know how I can create a shortcut for the recycling bin in my office context menu (context menu)?

    Sorry Manu B G, but I think I understand what he wants exactly. This isn't a desktop shortcut but a shortcut context Menu. He wants a right-click on any empty space in the office and click Recycler Bin shortcut in the menu to go to the basket. Any way to do it?

  • I am creating a desktop for the mail icon

    None of these options work for me.  I am trying to create a desktop for the mail icon.  When I right click on the mail icon, my only choice is "detach from the beginning ' or 'uninstall '.  (Either by the way, I don't like the home screen - messy, confused, not how I work).

    David

    Split from another thread:

    http://answers.Microsoft.com/en-us/Office/Forum/office_2010-Excel/creating-desktop-icons-in-Windows-8/505061e9-e64e-4D42-96d3-30a27725e834

    Hi David,

    By design, we cannot create shortcut on the desktop for Mail App Mail App isn't a desktop program, it is designed to work in the modern user interface Interface.

    For example, you can pin Google Chrome in Start Menu and taskbar. But where you open it open only in desktop mode, because it's a desktop program.

    Hope this information helps. If you need more assistance or information on this question, reply to this post. I'll be happy to help you.

  • Need to create a structure for the target data store?

    Hi Experts,

    If I create a structure for the target data store, and then load the data from source to target works fine. If I make mistakes.

    Is necessary to create a structure for target?

    Please help me...

    Thanks in advance.

    A.Kavya.

    I found the answer. No need to create the structure for target temporary data store. and we need to create the structure for the permanent target data store.

  • How to create a password for the pdf file

    The Adore Acrobat XI, how to create a password for the file? Aid says going to the Tools Menu and clicking on the Protection tab - but there is no option. In the security file - properties - screen, it shows the security details but doesn't allow for no change.

    I think you can be mixing two different products: (free) Adobe Reader and Acrobat ($$).

  • create a page for the Tablet

    Hi all.

    I do not know English and perkladayu your question in the Google Translator

    Sorry for the typos

    Is it possible to Adobe Muse

    create a page for the Tablet (not a site, but only one page)

    This page is having a video background

    widget that I used for the video backgrounds

    https://creative.Adobe.com/addons/products/2604#.u93-4_l_t8E

    My Web site

    http://skajiprobleme.NET/

    a link to a video setting

    http://skajiprobleme.NET/tips-Alla.html

    I just created a page with a video background to the Tablet, and coming on the site of a tablet that fell on the video backgrounds and not on the main site

    Duplicate Page with video calling Tablet - locking

  • How to create a list for the tabs 2nd level

    Dear Experts

    I created a view
    CREATE OR REPLACE FORCE VIEW  "MY_VW_TABS" ("APPID", "PTTARGET", "PTTABNAME", "PTTABLABEL", "TABNAME", "TABLABEL", "TABPAGE") AS
      select pt.APPLICATION_ID APPID,pt.TAB_TARGET PTTARGET,pt.TAB_NAME PTTABNAME,pt.TAB_LABEL PTTABLABEL,t.TAB_NAME TABNAME,t.TAB_LABEL TABLABEL,t.TAB_PAGE TABPAGE
    from APEX_APPLICATION_PARENT_TABS pt,APEX_APPLICATION_TABS t
    where t.tab_set = pt.TAB_NAME
    and pt.APPLICATION_ID=t.APPLICATION_ID
    order by pt.TAB_NAME,t.TAB_NAME
    I need to create a dynamic list based on this view of the * 2nd level tabs * (of my model of two-level tabs page), to be used in a region bordered on page 0. However, I found that the code in the list should be as follows:
    select level, labelValue label, 
           [targetValue]            target, 
           [is_current]             is_current_list_entry,
           [imageValue]             image, 
           [imageAttributeValue]    image_attribute,
           [imageAltValue]          image_alt_attribute,
           [attribute1]             attribute1,
           [attribute2]             attribute2,
           [attribute3]             attribute3,
           [attribute4]             attribute4,
           [attribute5]             attribute5,
           [attribute6]             attribute6,
           [attribute7]             attribute7,
           [attribute8]             attribute8,
           [attribute9]             attribute9,
           [attribute10]            attribute10
    from ...
    where ...
    order by ...
    Now, I have two questions:
    (1) how to use the view above to be used in the code of dynamic list?
    (2) is a good way to create a list for the tabs 2nd level?

    Best regards
    Mahmoud

    Mahmoud

    Are you sure that you view is correct?

    >

     where t.tab_set = pt.TAB_NAME
     
    

    Should be

    where t.tab_set = pt.current_for_tabset
    

    Nicolette

  • How to create a function for the function date two

    Hai All

    How can we create a function for the date function two and to return the number of hours between two dates

    For example

    1 January 2010 0815' - '01-jan-2010 1715' and I need to calculate the time between two dates

    How can I create a procedure

    Thanks I advance

    Srikkanth.M

    What have you tried?

    Here is an example (untested):

    CREATE OR REPLACE FUNCTION RETURN_HOURS
    (
            pDateStart      IN DATE
    ,       pDateEnd        IN DATE
    )
    RETURN NUMBER
    DETERMINISTIC
    AS
    BEGIN
            RETURN (pDateEnd - pDateStart) * 24;
    END RETURN_HOURS;
    
  • How to create a 'category' for the brushes?

    I've collected a ton of different types of paint brushes. To keep all in my active brush Panel seems to slow down Photoshop and my computer, and it is difficult to sort all the when you are looking for a particular brush.

    Is there a way I can create a category for certain types of brushes, as the default categories that appear at the bottom of the context menu brush Panel (calligraphic, false finish brushes...)? An example would be a category for all my brushes of foliage (leaves, grass, Moss, trees, etc.).

    Or is there a better way to keep similar brushes orgainized together and accessible in the PS brush Panel? Thank you

    Hi rich,

    Yes, you can get your brushes to show up in the menu of the Panel under all the built-in brushes. But it is a few steps, follow me.

    Start by creating your predefined. Looks like you already know how to do this, but I'll repeat the steps for someone else.

    Click the create predefined in the Panel forms.

    The name of the brush.

    Create as many other preset that you like.

    When you have all your brushes. Choose the Preset Manager in the brushes Panel menu.

    This opens the preset manager.

    Shift + click or Cmd/Ctrl-click to select the brushes you want to have in their own game. Then click on the button Save the value. This opens the dialog box save the value.

    This should open in the brushes folder that is located in the Presets for Photoshop. Don't go anywhere else. This is where you want to be.

    Name your game (such as foliage), and then click Save.

    You can now delete these brushes from the preset manager.

    Restart Photoshop.

    Your brushes custom if poster at the bottom of the Panel forms Preset.

    At any time, you can choose the brushes. An alert will ask you if you want to replace (throw all your other brushes and insert those custom) or append (add brushes to those you already have). I usually add.

    Let us know if that helps.

  • Creating BBID token for the signature of invalid query results

    EDIT: WARNING: I may sound like a bitter ars * hole for some.  I'm not.  I'm grumpy and sarcastic, but generally happy and have good intentions.  If that is not met in this post, please accept my apologies.

    ----------

    I just installed Momentics IDE under Windows XP x 64 and I'm going to run a project (making the first application of waterfalls * beep *-EDIT: who says cr * p lol, because really, it * is * a cr * p app lol), and he wants a token of debugging. I find in the preferences and enter a password, and it jumps to the top of the web page to connect with my BBID (for BlackBerry Jam Zone). So I do that and it spits out:

    ERROR: Invalid query. Missing required parameters.

    I don't think it's a browser problem, but who knows. The page is apparently planned the use of IE and I went and made sure that cookies are enabled, but no change.  I couldn't think of something else IE would do is stupid.  So assuming it was something stupid (EDIT: lol), I tried the URL on the page in Chrome properties.  Same result.  Still think this isn't a browser problem (EDIT: lol) I tried Firefox (I have all these browsers, because I am trying to find one that does not suck.  It turns out that all suck somehow (EDIT: lol, first world problems huh? lol)).  Same result.

    Should I wait for the servers to stop playing with them?  EDIT: lol I wait for BlackBerry update the IDE?  EDIT: lol has anyone else had this problem?  Apparently not because my research give nothing... (EDIT: try to point out that I have * fact * research before posting)

    Creating thus a vendor account is released.  At the point where I have to present Government ID BlackBerry in order to run Hello world on a phone that I own, I check.  I want just a few keys to be able to run things on my phone.  BBOS was relatively trivial.  I applied for keys, key got sent to me, actually.  Isn't this possible in BB10?

    ...

    If it turns out that it is.  I finally realized that I could "bb10 code signing" in google and see if I could get the keys from outside the IDE.  Duh.  I didn't when I was half asleep.  Led me to https://www.blackberry.com/SignedKeys/codesigning.html where I could connect with my BBID without errors.  I was able to get bbidtoken.csk and it sat in my downloads directory.  I went through the record of signature and the Configuration Wizard in the IDE preferences and arrived to the party requesting the token BBID password.  I clicked get Token and instead of the page web to appear, he did what he needed to do and carried on.  I saved the token and certificate and noticed that the token in the zip file was different from the one I downloaded.  Don't know what is happening here.  Note that the browser was still open and connected to the area of Jam BB while I did this.  Not sure if this is important or not.  I thought that maybe a cookie was the key but the browser is chrome plated and the IDE using IE.

    So problem solved, sort of.  You don't have a supplier account to run applications on your phone.  Do you if you want spam BlackBerry World with bubble bursting games well.  Hope this helps someone in the future and I hope that BlackBerry corrects this bug, which probably didn't happen to me, because everyone has Windows 7, or something.  So for the record:

    Windows XP x 64 Version 5.2 (Build 3790.srv03_sp2_gdr.130306 - 1435) SP2

    Momentics IDE for BlackBerry Version: 2.0 Build id: v201310251603

    BlackBerry SDK native 10.2 installed

    Internet Explorer 8.0.6001.18702

    Google Chrome 33.0.1750.154 m

  • How to create a shortcut for the Windows on the desktop community?

    Original title: widdget windows community?

    can I get a widget for the windows community?  I don't know if widdget is the word just sorry, I'd like something for my office (sort of click and go) kind of thing.

    Hello

    Thanks for posting your query in Microsoft Community.

    According to the description, it seems that you want to create a shortcut to the Windows community on the desktop. Correct me if I misunderstood the question.

    (1) what do you mean by Windows community? Microsoft Community are you referring?

    If so, I suggest you follow the steps to create a shortcut to the site and check out:

    (a) open the Web sites.

    (b) copy the link, right-click on the desktop and select new , and then click shortcut.

    (c) Paste the link in the shortened window then click Next and type a name for the shortcut.

    (d) click Finish.

    I hope this helps. Try the above steps and get back to us for further assistance if you have questions about the Windows operating system. We will be happy to help you.

Maybe you are looking for