General information
Category:
The Mere Mortals .NET Framework
Kevin,
I finally got it to work but had to use the following code:
protected override void HookParentRetrieved(mmBusinessObject bizObj, mmBusinessStateChangeEventArgs e)
{
this.GetInvoicesByCustomerAndCurrencyID(e.PrimaryKeyValues[0].ToString(), e.PrimaryKeyValues[1].ToString());
}
Adding the ToString() to each primary key value did the trick, but has introduced another issue. Now I get the "Object reference not set to an instance of an object." message when the parent table is empty? Any thoughts on why this may be happening.
Finally, could you provide me with a Jump Start sample of a business object that would use two parent keys to retrieve a child dataset?
Thank you,
Theo
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only