Dec 4, 2003 #1 kmagy MIS Oct 21, 2003 38 JO Hi every body Pls tell how to be sure not to run more than one instance of a form. Thanks
Dec 4, 2003 #2 Juris Programmer Jul 22, 2000 71 EE As example VFP 8.0 if VARTYPE(_vfp.Forms("your_from_name")="O" code... endif Upvote 0 Downvote
Dec 4, 2003 #3 Juris Programmer Jul 22, 2000 71 EE This same is applicable to VFP 6.0 Upvote 0 Downvote
Dec 4, 2003 #4 Mike Gagnon Programmer Apr 6, 2002 8,067 CA kmagy Another option would to disable the menu selection in the load of the form (providing you are using a menu). Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first. Upvote 0 Downvote
kmagy Another option would to disable the menu selection in the load of the form (providing you are using a menu). Mike Gagnon If you want to get the best response to a question, please check out FAQ184-2483 first.
Dec 4, 2003 #5 jimoo Programmer Jun 2, 2003 1,111 US Option 1 Set the windowtype property to 1 (modal) and they must enter on that form. However, they can leave to another form. Option 2, depending on how you are doing it. IF WEXIST('myFormName') ACTIVATE myFormName ELSE DO FORM myFormName ENDIF Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com Upvote 0 Downvote
Option 1 Set the windowtype property to 1 (modal) and they must enter on that form. However, they can leave to another form. Option 2, depending on how you are doing it. IF WEXIST('myFormName') ACTIVATE myFormName ELSE DO FORM myFormName ENDIF Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com