ActiveX in Forms 6i ???? Urgent

Greetings..
I want to implement the activex control (A grid object). The issue is when I use a textbox the end user needs to us arrow keys to read the data in the Textbox whereas using Grid Contro the end user capable of resizing and moving columns.
So my queries are,
1) Is it possible to link the activex/grid to the data block more directly, so that the grid populates automatically when the query executes?
2) I put DB Grid control in one OCX container and Microsoft ADO control in another OCX container. I am able to set server/username/password/table names in ADO Control's properties. But I dont know how to bind these two OCX. The documentations says DB Grid's Datasource property should point to this ADO datacontrol. But I dont find any property called datasource in DB Grid property palette.
Please help.
Thanks,
Badhri ...

William,
check this one - should be similar
uifont.ali? Tk2Motif? Which adjusts the fonts
Frank

Similar Messages

  • How to use ActiveX in Forms 6i

    Hello friends:
    Being a novice forms developer I'm eager to gain the skill of using ActiveX in Forms 6i. I 'll appreciate if anyone could help me finding some online tutorial on this issue. Otherwise, I 'll very highly appreciate if someone would share his/her expertise. I wish to do the following:
    1) A master (dept) - detail (emp) blocks : I'd like to view emp records in a ListView like grid
    2) The detail emp block in ListView should be populated in-sync with change of prev/next record of my dept block
    3) On double clicking a row of the emp ListView the selected emp's info should be popolated to another for update.
    Thanks in advance,
    SAJJAD
    [email protected]
    [email protected]

    why do you need an active/X for this?
    Can't you just create 2 default blocks on dept and on emp.
    Use the relationship wizard to define the relation. and set the number of records displayed for the emp block to 10?
    This will give you all you need with no hussle.

  • How to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    how to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    Hi,
    At Form level, write trigger for WHEN_KEY_DOWN, check for F10 and put action as NULL.
    Regards,
    Amol

  • How to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    how to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    If F10 is the Save button, than just simply program key-commit as:
    begin
      null;
    end;BTW: never say URGENT here on the forum. It is considered very impolite!

  • Fonts in Forms 6i - URGENT!

    Good day to you all
    I am urgently seeking help. I am using Redhat Linux 9, I have Oracle Database 9i running and have just installed Forms and reports 6i.
    My issue is that I don't know where to adjust the font family and size when I run a form application (f60runm).
    Please help, this is extremely urgent
    Many thanks.
    William

    William,
    check this one - should be similar
    uifont.ali? Tk2Motif? Which adjusts the fonts
    Frank

  • View BLOB content through Forms 6i URGENT... URGENT...

    I have a table which stores word documents as BLOB. My database is on UNIX machine and I access the database through a Citrix machine through Oracle Forms. My client wishes to open the word document in Forms which is stored in BLOB in the database. My database version is 9.2 which supports me to import and export files from file system to BLOB and vice versa using DBMS_BLOB and UTL_FILE packages. But, my only concern is regarding opening the word document through Forms 6i. Is that possible through OLE or any other means? I've tried all the sources. I know I can do it using Webutil, but it will not work for Forms 6i. Please help me in this regard. I have an urgent release tonight. Please. Please. Please. Please help me. Thanks in advance.

    I know that OLE can solve the problem. But issues is my word document is stored as BLOB in the database. My database is in UNIX. So, I can't export my files into UNIX and open them. I can't view them either from Forms. Please let me know if you have any alternative. Please can you guide me with step by step procedure as to how this can be done if we can do it using OLE.

  • Is it possible to create activeX with Forms?

    Hi, I'm new to Forms. I want to know if it is possible to create an activeX composant with Forms.
    Because, I need to integrate a part of an application create with Forms in a VisualBasic application.
    Tia

    No. You can't create an Active/X with forms.

  • ActiveX in Forms

    Does anyone have any experience with calling ActiveX controls from Forms 6i (on web)?
    Zeljko Djuricic

    you may use JACOB, a Java-Com bridge. go to Oracle metalink form forum, you may find a Oracle article to show you steps in a sample how to get it work on webforms.

  • Calling ActiveX from Forms 2.1

    Hi,
    Does anyone have the experience of using ActiveX components
    with Forms? I'm trying to include an activeX component MS common
    dialog into a forms project to allow our users to browse the
    directories on windows. We have no problems with other ActiveX or
    OLE components like MS Calendar, Excel, and Words. My problem is
    that we cannot find out the MSCOMDLG's server name so we cannot
    event start it since all the functions included need a OLEOBJ to
    run.
    Thanks.
    Dan
    null

    Hi Sarah,
    Thanx for your reply.
    I followed your suggestion and changed the call to the report (Screen, pdf type) in:
    WEB.SHOW_DOCUMENT('http://192.168.137.1:9001/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) || '?server='||v_repserver,'_blank' );
    Unfortunately it gives an HTTP error 404 ---page not found
    If I change the portnumber in 9002 In forms), the report is displayed in a second screen on the server. I can close this second screen again and continue with other forms in my apllication (server side).
    However, if i press the button on my form on the client side a second screen shows up . But nothing on it (empty). Only the header is '192.168.137.1'.
    Any other suggestions ?
    Greetings Martin

  • Password expirtation in Oracle 8i and Forms 6i - URGENT please.

    Hi,
    We are trying to implement password security features available in Oracle 8i.
    We created the profile, and assigned it to a user. The user's password will expire soon.
    If I login as that user to through SQL+, user gets an ORA-28001 error message "the account will expire soon, change your password now" and is able to login to the database still. However if I try to logon as that user through Forms Builder or Forms runtime, the same error message comes up, but the user does not get connected. The Logon screen stays there and the user can not do anything. How can we make it work the same was as it does in SQL+? (To give the error and still allow the user to log in to the database so that they can change their password).
    Thank you very much for any help.

    hI,
    I have the problem backward!
    I created a profile then assigned it to the user, then I launched the apps thr the browser, it worked prompting the message "...password will expire in 3 days..."
    Now I reassigned the Default profile back to the user which does not expire the password, launched the apps again it still prompted that password warning message! I even deleted the profile that was first created, still got the warning.
    I tried to do it alter user in SqlPlus but not able to connect to database using the same System account as Sysdba (used to connect in Enterprise Console successfully), received error :Insufficient Privileges.
    What is wrong ? Thanks.
    Win2000,
    DB 9.2.1.0
    9iDS 9.0.2
    Netscape 4.75

  • Help needed to display my form,very urgent

    i have a Main.java to display my tabs, then a PlayerTab.java which contains all the buttons, Create, Update, Delete and View and a CreatePanel.java which contain the form for adding new members.
    The flow is like this when user click on the PlayerTab it will show the 4 buttons.Then when user click on the Create button, i want to show the create panel which contains the form which is inside CreatePanel.java.Then click on other buttons will show other forms. Please teach me how to hide the forms too thanks.
    Main.java
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.Toolkit;
    import javax.swing.BorderFactory;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    public class Main extends JFrame {
         // Constructor
         public Main(){
              setSize(800,600);
              setTitle("S-League Management System");
              setResizable(false);
              setVisible(true);
              Container frame=getContentPane();
              //centralise the screen
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Dimension frameSize = frame.getSize();
              frame.setLocation((screenSize.width - frameSize.width) / 2,
                   (screenSize.height - frameSize.height) / 2);
              // create new tabbedPane object
              JTabbedPane tabbedPane = new JTabbedPane(){
                   ImageIcon imageIcon = new ImageIcon("");
                   Image image = imageIcon.getImage();
                   public void paintComponent (Graphics g) {
                        g.setColor(new Color(220,220,220));
                        g.fillRect(0,0,800,74);
                        g.drawImage(image, 0, 4, this);
                        super.paintComponent(g);
              //tabbedPane.addTab(" Team Management ", null, new TeamTab());
              tabbedPane.addTab(" Player Registration ",null, new PlayerTab());
              //tabbedPane.setSelectedIndex(1);
              tabbedPane.setBorder(BorderFactory.createEmptyBorder(78,0,0,0));
              frame.add(tabbedPane);
         public static void main(String[] args) {
              Main main = new Main();
              main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              main.toFront();
              main.show();     
    PlayerTab.java
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class PlayerTab extends JPanel implements ActionListener{
         //JPanel mainPanel = new JPanel();
         JButton createbutton = new JButton("Create");
         JButton updateButton = new JButton("Update");
         JButton deleteButton = new JButton("Delete");
         JButton viewButton = new JButton("View");
         public PlayerTab() {
              this.setLayout(null);
              createbutton.setBounds(new Rectangle(10, 16, 79, 27));
              updateButton.setBounds(new Rectangle(10, 64, 79, 27));
              deleteButton.setBounds(new Rectangle(10, 113, 79, 27));
              viewButton.setBounds(new Rectangle(10, 161, 79, 27));
              this.add(createbutton, null);
              createbutton.addActionListener(this);
              this.add(updateButton, null);
              updateButton.addActionListener(this);
              this.add(deleteButton, null);
              deleteButton.addActionListener(this);
              this.add(viewButton, null);
              viewButton.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              String cmd = e.getActionCommand();     
              if ("Create".equals(cmd))     
                   JPanel createPanel = new CreatePanel();
                   createPanel.show();
              }//close of if
         }//close of action perform
    CreatePanel.java
    import java.awt.*;
    import javax.swing.*;
    public class CreatePanel extends JPanel {
         JPanel createPanel = new JPanel();
         JLabel jLabel1 = new JLabel();
         JLabel jLabel2 = new JLabel();
         JLabel jLabel3 = new JLabel();
         JLabel jLabel4 = new JLabel();
         JLabel jLabel5 = new JLabel();
         JLabel jLabel6 = new JLabel();
         JLabel jLabel7 = new JLabel();
         JLabel jLabel8 = new JLabel();
         JLabel jLabel9 = new JLabel();
         JTextField nricNo = new JTextField();
         JTextField name = new JTextField();
         JRadioButton singleRadio = new JRadioButton();
         JRadioButton marriedRadio = new JRadioButton();
         JRadioButton divorcedRadio = new JRadioButton();
         JComboBox position = new JComboBox();
         JComboBox team = new JComboBox();
         JTextField address = new JTextField();
         JTextField salary = new JTextField();
         JTextField contactNo = new JTextField();
         JTextField dob = new JTextField();
         JButton submitButton = new JButton();
         JButton clearButton = new JButton();
         JButton retrieveButton = new JButton();
         public CreatePanel() {
              createPanel.setBounds(new Rectangle(108, 10, 690, 472));
              createPanel.setLayout(null);
              jLabel1.setText("NRIC:");
              jLabel1.setBounds(new Rectangle(14, 6, 41, 17));
              jLabel2.setText("Name:");
              jLabel2.setBounds(new Rectangle(14, 48, 41, 17));
              jLabel3.setText("Address:");
              jLabel3.setBounds(new Rectangle(14, 90, 57, 17));
              jLabel4.setText("Salary:");
              jLabel4.setBounds(new Rectangle(14, 132, 41, 17));
              jLabel5.setText("Contact No:");
              jLabel5.setBounds(new Rectangle(14, 174, 68, 17));
              jLabel6.setText("Marital Status:");
              jLabel6.setBounds(new Rectangle(14, 216, 83, 17));
              jLabel7.setText("Position:");
              jLabel7.setBounds(new Rectangle(14, 258, 58, 17));
              jLabel8.setText("D.O.B:");
              jLabel8.setBounds(new Rectangle(14, 300, 41, 17));
              jLabel9.setText("Team:");
              jLabel9.setBounds(new Rectangle(14, 342, 41, 17));
              nricNo.setText("jTextField1");
              nricNo.setBounds(new Rectangle(101, 3, 63, 21));
              name.setText("jTextField2");
              name.setBounds(new Rectangle(101, 44, 63, 21));
              singleRadio.setSelected(true);
              singleRadio.setText("Single");
              singleRadio.setBounds(new Rectangle(102, 210, 103, 25));
              marriedRadio.setText("Married");
              marriedRadio.setBounds(new Rectangle(221, 210, 103, 25));
              divorcedRadio.setText("Divorced");
              divorcedRadio.setBounds(new Rectangle(340, 210, 103, 25));
              position.setBounds(new Rectangle(102, 256, 128, 24));
              team.setBounds(new Rectangle(102, 337, 128, 24));
              address.setText("jTextField3");
              address.setBounds(new Rectangle(101, 87, 63, 21));
              salary.setText("jTextField4");
              salary.setBounds(new Rectangle(101, 130, 63, 21));
              contactNo.setText("jTextField5");
              contactNo.setBounds(new Rectangle(101, 171, 63, 21));
              dob.setText("jTextField6");
              dob.setBounds(new Rectangle(103, 299, 63, 21));
              submitButton.setText("Submit");
              submitButton.setBounds(new Rectangle(114, 409, 79, 27));
              clearButton.setText("Clear");
              clearButton.setBounds(new Rectangle(332, 409, 79, 27));
              retrieveButton.setText("Retrieve");
              retrieveButton.setBounds(new Rectangle(356, 0, 105, 27));
              createPanel.add(clearButton, null);
              createPanel.add(submitButton, null);
              createPanel.add(jLabel1, null);
              createPanel.add(nricNo, null);
              createPanel.add(jLabel2, null);
              createPanel.add(name, null);
              createPanel.add(jLabel3, null);
              createPanel.add(address, null);
              createPanel.add(jLabel4, null);
              createPanel.add(salary, null);
              createPanel.add(jLabel5, null);
              createPanel.add(contactNo, null);
              createPanel.add(jLabel6, null);
              createPanel.add(singleRadio, null);
              createPanel.add(marriedRadio, null);
              createPanel.add(divorcedRadio, null);
              createPanel.add(jLabel7, null);
              createPanel.add(position, null);
              createPanel.add(jLabel8, null);
              createPanel.add(dob, null);
              createPanel.add(jLabel9, null);
              createPanel.add(team, null);
              createPanel.add(retrieveButton, null);
              add(createPanel);

    1. make createPanel an instance variable
    public class PlayerTab extends JPanel implements
    ActionListener{JPanel createPanel = null;
    2. consistent with how you are coding, add the panel,
    public void actionPerformed(ActionEvent e)
    String cmd = e.getActionCommand();
    if ("Create".equals(cmd))
    {if( null == createPanel ) {
    createPanel = new CreatePanel();
    createPanel.setBounds( 20, 16, 300, 300 );
    add( createPanel, null );
    createPanel.show();
    }//close of ifyou can also search for the specific panel, remove and then add a new instance rather then reusing the same createPanel once it is instantiated.

  • Duplicate item checking failed in Form level-urgent

    Hi all
    i have creation page with advanced table
    i need to restrict the duplication at form level as well as save button
    in some cases the validation is failed
    if ("CodeValidation".equals(pageContext.getParameter(EVENT_PARAM)))
    itemcode = vo.getCurrentRow().getAttribute("ItemCode").toString();//advanced table multiple records come
    am.xxItemCodeValidation(itemcode);//checking the item validation at databse level
    am.xxdupitemcode(itemcode);
    method in am
    public void xxdupitemcode(String itemcode)
    System.out.println("The item code is.........."+itemcode);
    int count = 0;
    xxcrmNewItemVOImpl vo = getxxcrmNewItemVO1();
    vo.executeQuery();
    System.out.println("the row are" + vo.getAllRowsInRange().length);
    Row r[] = vo.getAllRowsInRange();
    int n = vo.getAllRowsInRange().length;
    for (int i = 0; i < n; i++)
    System.out.println("entered into this block......for loop" + count);
    if (itemcode.equals(r.getAttribute("ItemCode")))
    System.out.println("entered into this block......" + count);
    count = count + 1;
    System.out.println("the count is........."+count);
    if (count > 1)
    throw new OAException("Duplicate Item found plz change the item",
    OAException.ERROR);
    } else
    System.out.println("Exception block....... ");
    in save button i am calling
    if ("Save".equals(pageContext.getParameter(EVENT_PARAM)))
    am.xxdupitemcode(itemcode);
    am.invokeMethod("xxsavetr");
    in which case it is failing is
    in first row user enter
    ROW-ITEMCODE
    1-A
    2-A
    3-B
    4-B
    in second row and 4 th row exception is raised but user didnt change the itemcode and proceed for next steps
    IN SAVE BUTTON EXCEPTION IS RAISED
    but user will go to 4 th row and B should be change as C and click on save
    records are saving with duplication item of A
    but i need to restrict in save button also
    how its posible
    Regards
    Sreekanth

    Sreekanth,
    The correct way to check for duplicates is to check it both in the VO/EO cache as well as the database. It is possible the user entered duplicate value in the current session. In that case you should first check within the existing VO rows if the values are duplicated or not (in case all the database rows are already queried, you might not need to run an explicit query, otherwise another validation VO needs to be executed to check for duplicates).
    Regards
    Sumit

  • How to Change the Visible property of Adobe Form Dynamically - URGENT

    Hi,
        I am woking on a scenario where when I click a button in Adobe Form,
    another Adobe Form should be displayed. This is using Web Dynpro Java.
    For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
    Also, If there is any other way this can be done please let me know.
    I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
    Thanks in Advance,
    Vasu

    You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
    IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
         // Get appearance setter. 
         IWDPDFDocumentAppearance appearance =
              iFormHandler.getDocumentContext().getAppearance();
         //appearance.
         // Set page layout option
         appearance.setPageLayout(pageLayoutOption);
         // Set show option.
         appearance.setShowOption(showOption);    
         // Hide menu bar.
         appearance.hideMenuBar(true); 
         // Hide tool bars.
         appearance.hideToolBars(true);
         // Hide window controls.
         appearance.hideWindowControl(true); 
         // Show full screen.   
         appearance.showFullScreen(true);
    Reward points if the post is helpful
    Thanks!
    Surya.

  • Plz help me regarding scripting in adobe forms..urgent

    Hi all,
    I have the requirement to print <b>subtotal for each page in the layout</b>.Please tell me how to do the scripting  to find out subtotal in the form object.
    and also i want to know how to refer each field in the hierarchy .
    i would be greatful if you help me

    In that thread,... gareth.roberts say to modify the trigger definition to the column. Actually i am new to oracle >alert. How do i get that trigger definition and from where i have to get. and how to modify the trigger definition . >
    plz...Need not to say like that, I am just trying to help you. I believe if you are new try to read and understand the documents and process. Please start with Oracle Alert User's Guide to create a alert and send notification.
    I do not have any ready made scenario, I can refer you the documents to do the same,
    [How to Create a Basic Trigger|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=119667.1]
    [RDBPROD: How to Create an Update Trigger Which Depends on Any Other Field|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=68037.1]
    To view the Trigger Information you can use TOAD and modify the same as per your need.
    Thanks,
    Anchorage :)

  • Can anyone help how to call JavaBeans from Forms 6i (Urgent !!!!)

    Hi,
    I'm working on Forms 6i and oracle 8.1.6 database in Client-Server Environment. In forms 6i how to use bean area button. I could able to write a bean program and save it in jar file. But when I attach that to 'bean area', it's not reflecting. Could any one help in this.
    Thanks in advance.
    Murali.

    Hi,
    I'm working on Forms 6i and oracle 8.1.6 database in Client-Server Environment. In forms 6i how to use bean area button. I could able to write a bean program and save it in jar file. But when I attach that to 'bean area', it's not reflecting. Could any one help in this.
    Thanks in advance.
    Murali.

Maybe you are looking for

  • Problem deleting items in cover flow view

    Hi, I recently upgraded to a new MacBook Pro with running Leopard and I thought that viewing directories using "cover flow" view in the finder would be a great new way to quickly browse through folders containing many pictures and deciding what to ke

  • Constant syncing with iTunes

    Just recently updated iTunes software and every time I plug in the iPod and it does its thing (syncing) with iTunes it wants to go through about 80 to 500 songs and re-upload them to the iPod. ( have about 1800 songs on iPod) All songs are already on

  • Addind fields of an internal table to another!

    Hi! I need to add the contents of an internal table to another. Say, I have an internal table itab1 having 5 fields and 10 rows of data. I have another internal table itab2 with 1 field having 5 rows of data. I need to copy the contents of itab2 to t

  • Where do your movies go after they go to final cut?

    I placed a video in final cut and left iMovie and now I lost it.  I really need this video. 

  • The movie could not be opened. A file could not be found.

    I keep getting this message when I try and open some quicktimes off of our server. I'm trying to narrow down whats causing it. Our server was upgraded not to long ago. This happened after. Part of that upgrade, put some of our Final Cut Users connect