Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Baby Steps!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
00662635
Message ID:
00662724
Vues:
16
Julie,

If you are going to use the Framework, you will want to use it in a fashion that makes it the powerful toolset it is. Meaning, you should always use the business object when updating a table/view. This will prove very valuable if and when your database needs to be migrated to SQL Server. If done properly no new code will need to be written in a migration to SQL Server. Keep this in mind when creating your objects.

Now, to answer your question, there must be some form or program you use to start your process. If you use a form, you can drop an instance of the business object on the form and it will be instantiated at form creation. If you use a program you instantiate the object using the 'CREATEOBJECT' command. You then use the methods to update and save the view that is contained in the business object. Here's an example:

loObj = createobject('mybizobj')
loObj.New()
replace col1 with 'value1' in v_mybizobj
replace col2 with 'value2' in v_mybizobj
loObj.Save()

If you would like to call me an discuss, I would be glad to help you, since I've cut my teeth in MM over the last 2-3 years and would've like to have had a little more help. You can reach me at (203) 798-8581.

Best of luck!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform