Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem putting different busobj on different pages
Message
De
26/05/1999 16:09:10
 
 
À
26/05/1999 15:45:22
Ed Gay
Computer Software Consultants
Bangor, Maine, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00222860
Message ID:
00223159
Vues:
24
>Bob,
>I'm doing item #1 and don't have a tool bar so I'm not doing item #2. Item #3 I just want to get any records out so I haven't set the filters. The latest error was: Property GETALIAS is not found. I've looked and as far as I can see I have the alais correct on all the grid controls. Still stumped after another 6 hours.
>I tried to follow the exanple in the projmgt projects form, but it's too complicated and cryptic for me to figure out using it as an example.
>
>Ed

It sounds to me like perhaps your BizObj is not insantiating, or perhaps your de... what is a good test is to try to start those items seperate from the form.

Run your ap with DO MAIN and suspend it from the developer menu. Then, in the command box, try to instantiate your data environment...

oDE = createobj('testenvironment')

If that worked without error, type SET in your command window and look and see that all the views opened properly. If so, type requery() in command window and see if you can browse your primary view. (if more than one).

If all this works... clear your de by doing...

oDE = null

and try to run your bizobj...

oBiz = createobj('MyBizObj')

If that goes without error, get the SET window again to make sure all the views are ok...

If you get this far without a problem it is definatly something with the form. Have you added code to anything? If so, make sure to call dodefault()

The biggest help (and way to learn whats going on) is to put...

SET STEP ON
dodefault()

in the init of your form and run the form. Step through it and make sure every thing instantiates properly.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform