How to design this form code

Hello
Could someone shed some light on what is the best way to design this form. The muti-record block that has:
columns family name, given name start_date and end_date (in the second block) that rely on the view.
Now on the form in the first block, there are 2 query fields end_date1 and end_date2 are just filter to select records in the block 2 (multi record) which have end_date in this range. So that the user can enter two date to the 1st blockthen then run the query and in the 2nd block, records which have end_date range return.

Since these 2 filters are not DB point so I used 2 control point for them, but I have problem to make them behave like normal DB points, such as the color and cancel the query key works as if the 2 fields were Articles of DB.

Could you tell me what is the best way to design this situation for end_date1 and end_date2. Also is there a trigger for the function of query cancel key (as we trigger to the entered query function key)?


Thanks for your help
Michael

Your description is fairly short and somewhat difficult to understand.

It seems that you have two blocks, one being a block of control with two dates, and the other being the block of data based on a view.

I do not understand why you want two dates in the block of the base table, or 'as normal elements DB '. It is easy to color, then why is it important to make them "Elements DB?

I don't know why you are concerned about a button "Cancel request" or function. Why not get your form by working first? I have never found the need for such a feature. There is no trigger or function for "cancel query. There is point Abort_Query, which could be published as is the filling of lines in a block, and there is the menu, query, cancel, who just left the enter query mode. I have never used these features because they are of little use.

The best way to do what you seem to try is to have a control block with your date of two fields which produces a range of dates.

The user grasps the two dates, then based on a query or search button. In the trigger when button pressed, it emits a Go_block to the block of the table; basic, then Execute_Query

And in the block of the base table, you define the place WHERE the property Clause: end_date between: CB.date_from and: CB.date_to

In the above statement, CB is the name of the control bock.

Tags: Oracle Development

Similar Questions

  • How to recreate this form?

    How to make this shape.

    http://i1191.photobucket.com/albums/z473/ragecc/silogo.jpg

    Also in Forms custom, under banners and prices.

    MTSTUNER

  • How to create this form

    Hello
    I use oracle 10g froms & I have a form where the form shows detail of the user as
    EMP NAME ADDRESS ENDDATE
    A-22 ABC 122

    ENDDATE is null, that means employee that this address works when I put a date in the ENDDATE column, I want a new record under this record & with the same entry in column of EMP & this account NAME & cursor should be on the ADDRESS column.

    concerning

    Unfortunately the WHEN-VALIDATE-ITEM trigger is limited, but you can try to do it with the KEY NEXT-ITEM trigger on point ENDDATE:

    IF :ENDDATE IS NOT NULL THEN
        CREATE_RECORD;
        DUPLICATE_RECORD;
        :ENDDATE := NULL;
    END IF;
    
  • In an attempt to sign and date a w-9, I get the following message.  "This form is editable in Adobe Acrobat DC.  Please use Adobe life cycle Designer. "How can I get this document dated and signed without having to buy the life cycle Designer?

    Please provide ideas to the next question. In an attempt to sign and date a w-9, I get the following message.  "This form is editable in Adobe Acrobat DC.  Please use Adobe life cycle Designer. "How can I get this document dated and signed without having to buy the life cycle Designer?

    Thank you

    Rick

    Assuming that you are dealing with a PDF file provided by the IRS, you will not be able to e-sign. but you can fill the fields using Adobe Reader or Acrobat. The version of form W-9 that I have does not include a date field, but you can use the feedback tool add text to add a date. You can also digitally sign or use the annotation of pencil tool to draw a signature.

  • My code servlet JasperViewer report mode more download it in pdf in chrome. How to modify this code it gives only the view in JasperViewr?

    Mr President.

    My servlet code does two things

    1 see the report in JasperViewer

    2. it download it in pdf in chrome.

    How to modify this code it gives only the view in JasperViewr?

    My code is

    package esh.view;
    
    
    import esh.model.AppModuleImpl;
    
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    
    
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    
    
    import java.util.HashMap;
    import java.util.Locale;
    import java.util.Map;
    
    
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.annotation.WebServlet;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    
    
    import net.sf.jasperreports.view.JasperViewer;
    
    
    import oracle.jbo.client.Configuration;
    
    
    @WebServlet(name = "MultiReportServletJasper", urlPatterns = { "/multireportservletjasper" })
    public class MultiReportServletJasper extends HttpServlet {
        private static final String CONTENT_TYPE = "text/html; charset=UTF-8";
    
    
        public void init(ServletConfig config) throws ServletException {
            super.init(config);
        }
    
    
        protected Connection getConnection() {
                
                PreparedStatement st = null;
                String amDef = "esh.model.AppModule";
                String config = "AppModuleLocal";
                AppModuleImpl am = (AppModuleImpl ) Configuration.createRootApplicationModule(amDef, config);
                
                st = am.getDBTransaction().createPreparedStatement("select 1 from dual", 0);
                Connection conn = null;    
            
                try {
                    conn = st.getConnection();
                    return conn;
                } catch (SQLException e) {
                }   
            
                return null;
            }
    
    
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            String var0 = "";  
            String reportName = "";  
            try {  
                 reportName = request.getParameter("reportName");  
                } catch (Exception e) {  
                        e.printStackTrace();  
                       }  
                 response.setContentType(CONTENT_TYPE);  
                 Map parameters = new HashMap();  
                 parameters.put("format", "pdf");  
                 parameters.put("WEBDIR", getServletContext().getRealPath("/"));  
                 parameters.put("REPORT_LOCALE", new Locale("ar"));                             
                                                                                            
                 Connection conn = null;  
                 InputStream is = null;  
            try  
                {  
                 conn = getConnection();  
                 is = getServletContext().getResourceAsStream("/WEB-INF/reports/"+reportName+".jrxml");  
                              
                             
                 response.setContentType("application/pdf");  
                 response.addHeader("Content-Disposition", "attachment; filename="+reportName+".pdf");                                        
                 JasperDesign jasperDesign = JRXmlLoader.load(is);  
                 JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);  
                 JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, conn);                      
                 JasperExportManager.exportReportToPdfStream(jasperPrint, response.getOutputStream());  
                 JasperViewer.viewReport(jasperPrint,false);                                                                                
                  conn.close();  
                }  
                   catch (Exception e) {  
                         e.printStackTrace();  
                    } finally {  
                        closeConnection(conn);  
                    try {  
                           if(is !=null){  
                              is.close();  
                         }                                                             
                } catch (Exception localException1)  
                    {  
                      }  
                }                      
        }
        
        protected static void closeConnection(Connection conn) {
                try {
                    if(conn !=null){
                       conn.close();
                    }           
                } catch (Exception ex) {
                    //  System.out.println("Developer Msg : Exception in printReport1Servlet.closeConnection()");
                }
            }
        
        
    }
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Concerning

    Change: response.addHeader ("Content-Disposition", "attachment; filename = "reportName +".pdf");"

    To: response.addHeader ("Content-Disposition", "inline; filename = "reportName +".pdf");"

    Browser first tries to show the PDF, and if no pdf reader is available, you will get the download dialog box.

    (and remove JasperViewer.viewReport (jasperPrint, false);  )

    Dario

  • How to add the form designed in adobe acrobat pro live cycle Designer?

    How to add the form designed in adobe acrobat pro live cycle Designer?

    I want to add the form designed in adobe acrobat pro live cycle Designer. I saved the form designed in adobe live cycle designer in pdf format. But you can't change the same in Adobe Acrobat format. I would like to add a few fields and use the fields designed by Adobe Live cycle Designer.

    You can only modify this form in LiveCycle Designer. Forms Acrobat and LCD are not interchangeable.

  • How to add blocking ISPS codes to my form?

    Hello world. I have a lot of problems with my contact form in my personal site: www.marcelofa.com with SPAM.

    I would like to know how to add blocking ISPS codes to my form?

    Concerning

    Marcelo

    Muse not control it, but you can try to contact your webhost for this one where they can block specific IP addresses.

    Thank you

    Sanjit

  • I think someone is sneaking my iphone 6 s. they ve probably take my IMEI code... could someone tell me how to stop this please?

    Hello!

    I would like to ask how to stop my iphone sneak? I have an iphone 6 s. I bought it out of my country and I can't send it back. I think someone took my IMEI code and everything now can be seen on my iphone. Please could you help me how to stop this?

    I already did a reset completely, but I don't know if it's useful.

    Thank you!

    The phone is jailbroken?

    You share an Apple ID with anyone?

  • My computer has an operating system of windows vista Home premium 64-bit. When I try to get updates, there is a message error code: 8000-ffff. How to solve this problem?

    My computer has Windows Vista Home Premium 64 - bit operating system.  When I try to get updates, there is an Error Message Code 8000 ffff.  How fix/resolve this problem?

    Error when you download updates using Windows Update or Microsoft Update: 8000FFFF
    http://support.Microsoft.com/kb/946414

    How to reset the Windows Update components?
    [Launch the difficulty mode by default and aggressive , if necessary]
    http://support.Microsoft.com/kb/971058
    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • I have a Canon MG6120. When I start it up I get the error code 5050. Does anyone know how to fix this?

    I have a Canon MG6120 all-in-one. When I start it up I get the error code 5050. Does anyone know how to solve this, more power to the wide / power?

    Hello gregg.

    Please, try the following to see if we can solve your problem:

    1. turn off the printer.

    2 disconnect the power from the printer for at least 5-10 minutes.

    3. once unplugged, remove any paper from the device.

    4. check for obstructions in the paths of the unit or the paper.

    5 If no obstacles are, plug the power back in and switch on the device.

    If the problem persists, the unit will require repairs for the correction.  We apologize for the inconvenience.  Please contact our support group using the 'Contact us' below for further assistance.

    It has not responded to your question or problem? Find more help at the Contact Us.

  • A security update for windows THAT XP cannot install (KB2707511). Code received the error 0x80076BE. How to install this update?

    A security update for windows THAT XP cannot install (KB2707511). Code received the error 0x80076BE. How to install this update?

    Hello

     
    You are able to install other updates successfully?
     
    See the methods mentioned below and check if that helps.
     
    Method 1: Temporarily disable the security software.

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: put the computer in a clean boot state to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After completing the troubleshooting steps in the clean boot, follow steps to configure Windows to a Normal startup State of the link section to return the computer to a Normal startup mode.

    Method 3: Follow the steps in the article.

    How to reset the Windows Update components?

    Method 4:
     
    You cannot install updates from Windows Update, Microsoft Update, or by using the auto update after a repair of Windows XP after installing Windows XP SP3 immediately after a clean installation of Windows XP SP2 or
    Hope this information helps.
  • does not recognize the flash drive. I get a code 28, pilot not available and the code 19 registry damaged. How to solve this problem?

    Original title: Pny flash drive problems

    I used my flash drives on my pc with xp as os without problem. I then took the same flash drive for my laptop with the windows operating system 7, I opened the files. Then I went to the computer with xp, and the pc does not recognize the flash drive. I get a code 28, pilot not available and the code 19 registry damaged. How to solve this problem?

    Hello

    Do you see these error codes in Device Manager?

    Plug the flash drive and run the Fixit of the article below and check out them.
    Hardware devices do not work or are not detected in Windows
    http://support.Microsoft.com/mats/hardware_device_problems/

    See also the section below, which might be useful in solving the problems of USB devices.
    Advanced troubleshooting tips for General USB for Windows XP problems
    http://support.Microsoft.com/kb/310575

  • Update "KB2416447" will download, but not install. Error code is 0x66A. How to fix this?

    Download has been a success, install gets 1/2 way & fails, with error code 0x66A. I can't find this error code in the lists.  Finally, subsequent updates were installed successfully.

    Try a "clean boot": how to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    See also if this post is useful: http://answers.microsoft.com/en-us/windows/forum/windows_other-windows_update/xp-cant-install-kb2416447/e4be0b33-d909-417b-b3f8-4f8084d02387

    J W Stuart: http://www.pagestart.com

  • Please help me. How can I unlock my administrator account while accessing this form another hard drive. ?

    Please help me. How can I unlock my administrator account while accessing this form another hard drive. ?

    Please help me...
    I use windows xp svc pack 3. some how it gets corrupted now and all my important data is in the folder my documents on my desk. I got my account with a password. I tried to repair my widows through the recovery console, but I was unable to open a session in my Windows through this procedure just stuck computer is there. even when I tried to fix it through the installation of windows, Setup also stuck on the step where it says "in search for earlier versions of windows."
    now, I tried to copy the data by accessing another operating system on another hard drive but when I opened my account administrator located in the documents and settings folder, it says access is denied. I really need that data on these files is very important to me.
    If you have an administrator password in windows, then the recovery console would need in order to log in the disk system, i.e. the c prompt.
     
    If you tried to do a repair with the cd, then it may not have worked if your cd is the sp2 version of windows on your computer has been updated to sp3 version.  for the sp2 of xp cd works, you will need to uninstall the update to sp3 via Add/Remove programs.
     
    so, now that you have enslaved the hard drive on another computer, you will need to do is try to take ownership of the files/folders:
     
     

    --
    db·´¯`·...¸><)))º>

    .

    "honeymtrk" wrote in message news: d1c5394d-1aad-4f12-bd12-bc4b485bc596...
    Please help me. How can I unlock my administrator account while accessing this form another hard drive. ?

    Please help me...
    I use windows xp svc pack 3. some how it gets corrupted now and all my important data is in the folder my documents on my desk. I got my account with a password. I tried to repair my widows through the recovery console, but I was unable to open a session in my Windows through this procedure just stuck computer is there. even when I tried to fix it through the installation of windows, Setup also stuck on the step where it says "in search for earlier versions of windows."
    now, I tried to copy the data by accessing another operating system on another hard drive but when I opened my account administrator located in the documents and settings folder, it says access is denied. I really need that data on these files is very important to me.

    DB·´¯'·.. ¸ >-))) º > ·´¯'·.. ¸ >-))) º > share nirvana mann

  • I get this error code and I don't know how to fix it please help!

    Photo Gallery

    I get this error code and I don't know how to fix it please help! Windows live Photo Gallery encountered an error loading WLXPhotolibarymain.dll error code: 0x800736b1

    You will find support for WL photo library in this forum: http://windowslivehelp.com/forums.aspx?forumid=cafb0556-8959-49b9-afeb-635314aa02f3

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

Maybe you are looking for