Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Pass Through Data Services
Message
 
À
18/08/2001 18:03:16
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00544329
Message ID:
00546453
Vues:
14
Mark,

>When the form initialises, the user hasn't got the opportunity to choose the query conditions, so how can the business object retrieve its data when it doesn’t know yet what data to retrieve? >

My apologies...I didn't catch the fact that you were using the CFindForm class. What you're running up against is one of the downsides of SPT...As you know, views load the structure of the data for you and SPT does not. In this particular case, I recommend clearing the ControlSources of the grid, then setting them *after* the user clicks the "Find Now" button.

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