Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Training Class vs Conference
Message
General information
Forum:
Visual FoxPro
Category:
Conferences & events
Miscellaneous
Thread ID:
00983018
Message ID:
00988640
Views:
44
><snip>
>
>Selim,
>
>You're missing TRY...CATCH in your code < gd&R >
>

yes, ur right
If Karben.Selim.Mejia.WannaHaveMore = .T. or Karben.Wife.Command = .T.
   For HowManyChildren to 2
       Try 
           Karben.Selim.Mejia.Child.Add()
       Catch
           If Messagebox("Wana try again?",4,"Another baby?") = IDYES then 
              loop
           else
               Quit
           endif
       EndTry
   EndFor
EndIf
.......
DO WHILE .T.
      ME.Work()
ENDDO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform