7.6.1 More Complex Prompt Key Processing

Since prompt key processing programs are user coded RDML programs, they can be very flexible and handle just about any situation.

An example of a more complex prompt key, processing program might involve prompting something like a "customer number".

When invoked, it might initially present a pop-up window that looks like this:


    INVOICE01              Invoice Inquiry                         
                                                                   
    Company number  . . .                                          
    Dept number . . . . .                                          
    Invoice number  . . .                                          
    Customer number . . .                                          
                                                                   
               ..................................................  
               : CUST01       Customer Number Search            :  
               : Select type of search required and press enter :  
               :                                                :  
               :   1. By name                                   :  
               :   2. By outstanding orders                     :  
               :   3. By city of residence                      :  
               :   4. By post / zip code                        :  
               :                                                :  
               : F12=Cancel F14=Msgs                            :  
               :                                                :  
               :................................................:  
                                                                   
    F4=Prompt                                                      

 

The actual processing that this program performs is immaterial. What is important is that you understand the following points about using it: