Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting records in VFP framework makes me feel like a d
Message
De
13/12/1998 19:59:16
 
 
À
13/12/1998 19:17:06
Hermann Strijewski
Fast Track Business Solutions
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00167030
Message ID:
00167047
Vues:
22
>Thanks, Jim, that helped. I indeed had SET DELETED OFF when the form was running. I did not realize that my SET DELETED option was not global for all forms.

Herman,

You should have some sort of application object that does all the global stuff for you. I have an app object that does all the housekeeping, including setting up the environment, making certain required tables are availble, preventing the application from being instantiated more than one, setting up global variables from my global setting table, and so on. Once all the setting are finished, your app object calls your first form (or better yet, displays a menu from which the user selects a form).

An example of such a framework object can be seen in the TasTrade example that ships with VFP. But there are better example around. I think a few are in the examples here in the UT. Try the "file cabinet" icon to your upper left.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform