FillByParentPrimaryKey(int32) Method


Author
Message
Bill Cunnien
Bill Cunnien
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 785, Visits: 3.6K
It took me about an hour to figure out the best way to handle the address code list for the customer window.  It works like a charm by simply setting the combobox's population type to business object, then setting the data source setting to the AddressBO.FillByParentPrimaryKey(int32) method.  I also changed PopulateOnFormLoad property to Manual.  Within the Navigated event, I added the combobox.requery method and passed in the current customer index.  Smooth.  Quite smooth!  Smooooth

I have most of my customer window completed.  That includes the browse dialog and several populated drop downs from both business objects and enums.  I can count on both hands the number of lines of code that I had to write.

I really wish I had seen framework about a month ago.

I wonder if I can rewrite my current project with this new framework by the end of the year?  What I have done in one day with StrataFrame had taken me nearly a month by using other vendors' products.  Great work!  This is truly developer friendly.

Thanks,
Bill

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Nice BigGrin



One of my memories of learning .NET/SF was spending hours trying to figure out how to do something...only to realize that it was only a line or two of code, because of the work SF put into their framework. As I convert my application, most of the hard problems I've had are related to changing from a connected data model to a disconnected one and dealing with bugs in .NET. If I hadn't found SF I'd still by banging two rocks together trying to get a spark to light my development fire. With SF I have a lighter! w00t
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