Hi Edhy. Many thanks for your detailed response.
I have input code as suggested bu am getting a message on the Requery code;
Dynamically populating the ListView Failed. Could not create and fill the business object of type.....
When I look a t the detail, there seems to be some issue converting a string to a GUID
------------------- My Code is as follows ------------------------------------------------------------------
private void listView1_ListPopulating(MicroFour.StrataFrame.UI.ListPopulatingEventArgs e)
{
if (this.smA_BO1.Count > 0)
{ e.Parameters[0].Value = this.smA_BO1.PrimaryKeyField.ToString(); }
else
{ e.Parameters[0].Value = "zahaha"; }
}
private void smA_BO1_Navigated(MicroFour.StrataFrame.Business.NavigatedEventArgs e)
{ this.listView1.Requery();}
-------------------------------------------------------------------------------------
In the Method To Execute.. I am not clear on what GUID refers to. My primary key happens to be a Char(10) field
Am I ciorrect in using a FillByParentPrimaryKey(Guid) here .... not sure what a GUID is ??
Also in code above, not sure if This.SmaBO1.PrimaryKeyField.Tostring() is correct ?