Developer20006i
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Developer20006i

Hybrid View

  1. #1
    Join Date
    Dec 2001
    Location
    Brazil
    Posts
    282

    In Forms6i:
    - I have created a form and a menu, how do I link the
    menu to the form?

    - When I put the code for a menu item:
    RUN_PRODUCT(FORMS, 'employee', SYNCHORONOUS,
    FILESYSTEM, RUNTIME, NULL, NULL).

    returns the error:
    Too many declarations for this match .... .. what is this?


    Thanks in Advance.
    F.

  2. #2
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    1 question : "how do I link the menu to the form? "

    Menu (and menu designer) integtated with Form
    You have a vouple of ways to link both.
    a)
    main way - in Oracle Form Designer choose
    FILE -- NEW -- MENU and build mrnu as you need
    b)
    in FORM (where place form name) -- property palette --
    change " DEFAULT&SMARTBAR " to yuor menu module name.

    Also you can link form and menu modules in run time use form API.

    This is your statment --
    RUN_PRODUCT(FORMS, 'employee', SYNCHORONOUS,
    FILESYSTEM, RUNTIME, NULL, NULL).
    Try this -->
    Run_Product(FORMS, 'employee', SYNCHRONOUS, RUNTIME, FILESYSTEM, '', '');

  3. #3
    Join Date
    Dec 2001
    Location
    Brazil
    Posts
    282

    I had done already what you told me, i get the error:
    FRM-10221: Cannot read the file MENUTEST

    my menu is called menutest, it's saved. the forms too.
    I just changed default%smartbar for this.

    tks in advance.

    F.

  4. #4
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    What is your working (current) directory. I thing u have this problem.

    u can check it -- type full path to your menu module file
    (for exm. c:\project\menu\MENUTEST).

  5. #5
    Join Date
    Dec 2001
    Location
    Brazil
    Posts
    282

    Thank you very much, it worked. I hadn't put the complete
    path. But .... I got another error. When I put that command
    the way you told me: Run_Product(FORMS, 'employee', SYNCHRONOUS, RUNTIME, FILESYSTEM, '', '');

    .....it worked, compiled sucessfully, but when I run
    and click on it, I get the error: FRM-440010: cannot read from employee

    What is it now? And, my you explain me please why when I put '', '' it works and when I put 'null, null', it doesn't?

    Thank you so much.
    F.




  6. #6
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    Originally posted by Mnemonical

    What is it now? And, my you explain me please why when I put '', '' it works and when I put 'null, null', it doesn't?
    Probably this is internal Developer problem with datatype convertions.
    when u typed '', '' - u say oracle - datatype is string, it's my mind.


    .....it worked, compiled sucessfully, but when I run
    and click on it, I get the error: FRM-440010: cannot read from employee
    [/QUOTE]

    About this error i can't say norhing. need little bit more information.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width