Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (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 by mza1979m

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...