all groups > dotnet windows forms databinding > july 2007 >
You're in the

dotnet windows forms databinding

group:

Link forms whit same key


Link forms whit same key sigava77 via DotNetMonster.com
7/18/2007 12:00:00 AM
dotnet windows forms databinding: Hi,
How to call a form from other form and only display information with the same
Key as the caller form?
Ex: If I have a form with codproduct and want to call another form to only
display information that contains as foreign key the same codproduct as the
caller form.
Thanks,

Carla

--
Message posted via http://www.dotnetmonster.com
Re: Link forms whit same key barranr
7/18/2007 11:11:14 AM
use Filter on the bindingsource of the calling form load

BindingSource.Filter = "PartNumber = '" & m_partid & "'"

[quoted text, click to view]
AddThis Social Bookmark Button