Call Form Problem
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Call Form Problem

  1. #1
    Join Date
    Jul 2001
    Posts
    334

    Call Form Problem

    Hi,
    I have three (3) FORM (Developer/2000 6i)

    Main
    sub1
    sub2

    calling FORM sub1 from Main -Ok CALL_FORM('C:\abc\sub1.fmx');
    calling FORM sub2 from sub1 -Not working CALL_FORM('C:\abc\sub2.fmx');

    If I run program from main then it call sub1 not sub2 from sub1
    If I run program from sub1 then it call sub2

    * I am using PRESS_BUTTON trigger
    * codes
    CLEAR_FORM
    CALL_FORM('......');


    Please help to resolve this issue.

    Thanks in advance

  2. #2
    Join Date
    May 2002
    Posts
    2,645

    Re: Call Form Problem

    Originally posted by aph
    Hi,
    I have three (3) FORM (Developer/2000 6i)

    Main
    sub1
    sub2

    calling FORM sub1 from Main -Ok CALL_FORM('C:\abc\sub1.fmx');
    calling FORM sub2 from sub1 -Not working CALL_FORM('C:\abc\sub2.fmx');

    If I run program from main then it call sub1 not sub2 from sub1
    If I run program from sub1 then it call sub2

    Please state this more clearly.

    You are running the main form and try to call form sub1. Do you get sub1? Can you call sub2 from the main?

    Generally, if you can call one form from another (calling form - called form relationship), but are having a problem calling a different form from the same master or calling form, it is a syntax problem (spelling, typo, etc.).

  3. #3
    Join Date
    Jul 2001
    Posts
    334
    Hi, thanks for the response
    Here is the problem:

    Main (Calling Form) ---Press button
    sub1 (Called Form by Main) ---This is ok
    sub1 (Calling Form) ---Press button (remain on this Form)?
    sub2 (Called Form by sub1) ---This is not (not executing)

    Thanks.

  4. #4
    Join Date
    May 2002
    Posts
    2,645
    Originally posted by aph

    sub1 (Calling Form) ---Press button (remain on this Form)?
    Don't know. Which form are you trying to call?


    sub2 (Called Form by sub1) ---This is not (not executing)
    What does sub2 need to run? Parameters? Is there a parameter list being passed in?

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