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

Thread: How to work with multiple forms ...?

  1. #1
    Join Date
    Jan 2001
    Posts
    18
    My requirement is as follows.

    1. Open two forms f1 and f2 (Using OPEN_FORM)
    2. Run Pro*C program from f1 (Using HOST Command)
    3. When Pro*C is running, Go to f2 and continue ..

    I am facing problem here. When Pro*C is running from f1, I am unable to come back to f2.

    Please guide me how to do it.

    Thanks in advance.

    Sundar

  2. #2
    Join Date
    Sep 2000
    Location
    Sao Paulo,SP,Brazil, Earth, Milky Way
    Posts
    350
    You don´t said the version of Forms and the OS, but anyway : I suppose you are trying something like this inside a Form´s trigger :


    .....
    HOST('name_of_pro*c');
    go_form('f2');

    and it´s not working. In some versions of Forms and in some OSs the HOST command is synchronous (i.e. , the execution of the trigger WILL wait for the ending of the HOST call. If so, replace the HOST for another command : in Windows, you can use the d2kwutil.pll (look in technet for more info), or in unix maybe you could run the pro*c in background using &&

    Regards,

    Chiappa

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