Populating Business Object


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
All of Edhy's suggestions are good ones.  It sounds like you may not have created an SF application and/or SF form.  That would be the first place to look.  Ensure that your form inherits from the MicroFour.StrataFrame.UI.Windows.Forms.StandardForm and then try again.  Even though the ParentFormLoading event is on the BO, it does work in conjunction with the SF BaseForm (which StandardForm inherits).
Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Gerard,

Make sure of the following:

  • That your form is based on the StrataFrame Maintenance Form.
  • That you added your Business Object to the Form.
  • Select the Business Object then in the Property View, in the Events, double click the ParentFormLoading event so it will be added to the form's code view for you.
  • Then add the call to your BO.Fill method you created.

I hope I understood your problem. Smile

Edhy Rijo

Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I am following the Getting Started manual but have come to a halt. Am uisng C# rather than VB if that makes a difference. I am at the point where I want to call the FillMyTable from the ParentLoading Event (I have set this method up in the Business Object)

I right click on View Code for the Form, and on the Left hand drop down I can only see Form1 (with all the Code) and on the RHS I can see all the Objects on the form)

Cant get up the ParentFormLoading event.....

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search