>Hi all
>i want to get result like vfp command in vb.net
>locate for vch=... and prcode=....
>
>in vb.net databindingsource.find is work only one column then how can i find two or thiee columns at a time
>please give idea
>
>Thanks in advance
I don't use vb but it should be similar to C#. You can use a foreach loop rather than the find. I was told my someone more skilled in .NET than myself that the foreach is very similar to the scan in vfp, in that it takes advantages of indexes so it is quite fast. I am assuming that you don't want to get a different dataset based on your search criteria. If getting a revised dataset based on your criteria is acceptable, that is probably the 1st choice. That's the sort of thing that is a little tough thinking about when making the transition from vfp to .net.
Linda Harmes
HiBit Technologies, Inc.