Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yikes - too many bizobjs on 1 form!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00262865
Message ID:
00263342
Vues:
23
>I'm working on a form subclassed from cBizObj (ver4.2) with multiple pageframes and a bizobj (w/single view data environment) on each page. I setup my form and all my bizobjs, put the bizobjs where they belong on each page and tested it. I run out of diskspace before the form finishes loading :(>

What do you mean?

>All the views in bizobj data environments are set to no data on load, and auto open tables. The auto open tables on the biggest local view data set is what's causing the disk space problem. So I'm wondering if take off the checkbox in the bizobj builder for auto open tables, do I need to handle opening the tables elsewhere or will they get opened when the views requery? Any related suggestions most welcome! TIA!!>

You can open the table after the fact by calling the data environment's OpenTables method. For example:

loDE = BizObj.GetDataEnvironment()
loDE.OpenTables()

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform