Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help in calling a method in post init?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00225047
Message ID:
00225313
Vues:
14
>Well I tried this.wo_ticekt_biz.gen_master2_base and it did not work. The name of the bizobject is wo_ticket_biz now when droped on the form, it is referenced as wo_ticket_biz1 and that is not working either. I have also tried this.gen_master2_base.
>
>__Stephen

Stephen,

Where are you making the call? If you are in the POST_INIT of wo_ticket_biz and you are trying to call gen_master2_base which is also in wo_ticket_biz, then This.gen_master2_base() should work.

If you are trying to call from a method on the form, then you need to reference the bizobj by ThisForm.wo_ticket_biz1.gen_master2_base(). Make sure you look in the properties window to add any parent classes. For instance, if you have a page frame, then you might reference the bizobj by something like ThisForm.pgfBizObj.Page1.wo_ticket_biz1.gen_master2_base().

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform