In second tabControl have a listview
In first tabControl have a textbox where will to be a code for populate listview, how i do for listview populate whith :
Select * from tabpedidocompraitem where code = ( is here a value of textbox 
http://forum.strataframe.net/Topic18700-6-1.aspx[/quote]
Rafael, you could not be getting the same error:[quote]BusinessLayerException The ParentBusinessObject property must be set before FillByParent can be called with no parameters supplied.
since the method to populate the BO could not be FillByParent. Can you post an screenshot of the List View Population Settings, I would like to see what you have in the Method to Execute.
Here is an example of what I use in one of my forms:
In this case I use the CopyDataFrom(BusinesLayerBase,BusinessCloneDataType) because I have an instance of the bizBuildings BO in the form and I simply update that BO instance and the listview will copy all records to the ListView internal BO. I find this method easier to maintain.
P.S
I'll be online for a couple of hours in case you want to pursue with this issue.
On the leave focus event of the textbox (or whereever you need it), all you have to do is: