mza1979m Posted April 7, 2003 Posted April 7, 2003 (edited) I have a VB.NET program that connects to an external database (MS Access). In this database are 2 tables: "Business" and "Personal". In each table there are numerous fields. Now, programatically, how do I perform a search for a specific record using a specific field? For instance, I want to search for the first record with the value of "Joe" in the "fldFirstName" field. I'd also like to find all subsequent matches. How is that done in VB.NET? In other words, I'd like to translate the following line of VB6 code to VB.NET code: datNavigate.Recordset.FindFirst("fldFirstName = " & "'" & "Joe" & "'") Edited April 7, 2003 by mza1979m Quote
Leaders quwiltw Posted April 7, 2003 Leaders Posted April 7, 2003 See if this helps... http://samples.gotdotnet.com/quickstart/howto/doc/adoplus/FilterData.aspx Quote --tim
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.