Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business object unable to find its view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Business object unable to find its view
Divers
Thread ID:
01453329
Message ID:
01453329
Vues:
111
Hi y'all,

I have a view/bizobj combination that seems to be cursed. I can't figure out what might be the problem.

I have a form that has a couple of methods that open business objects assigning them to locally-scoped variables in the form:
Local loChecks_bo

loChecks_bo = CreateObject( "Checks_bo")
The above works fine.

There is one particular business object (MonthlyChecksList_bo), however, that just refuses to work. Whenever the object is created, I get vfp's open dialog and I'm asked for a dbf. This happens in the business object's dataenvironment's OpenTables (MonthlyChecksList_bo.MonthlyChecksList_de.OpenTables()) method. In the line that reads "This.oDataEnvironment.OpenTables()".

I've tried the business object in stand-alone mode (running setx and then instantiating the bizobj) and it's fine there.

I have already re-created the view, the business object AND the view. Several times!! Still no luck.

Does anyone have any idea of where and what I should be looking for? I'm very close to just hard-coding my "use" statements and foregoing the framework entirely to get to the data in this case.

Thanks!!!!

Alex
Low-carb diet not working? Try the Low-food diet instead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform