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 
You would use a custom fill method in the tabpedidocompraitem business object. Like this:
Follow the SF documentation under "ListView Population". Marvelous step-by-step to help you with the whole setup.
Hope that helps,Bill
Bill
(note to forum admins: it would be nice to have a view of the post to which we are replying...thanks!)
You do...scroll down and open the last 10 posts in descending order section.
I will do in event Leave of textbox, but i have a question.
What is a bether method to used populate of listview ?
Please say me a method that used in populate listview and i search in documentation.
If i have doubt, question in the forum.
Whoa.
Thanks!
You could pass the parameter in the Requery method of the ListView:
MyListView.Requery(myCoolParameter);
But, as I found out over time, it is better to pass the parameter in the ListPopulating event of the ListView (from docs using VB):
Then, whenever you need to refresh the ListView control, it is a simple call to its Requery method:
MyListView.Requery();
No need to remember to pass a parameter since it is handled in the event. Good stuff. A "set it and forget it" type of approach.