PDA

Click to See Complete Forum and Search --> : this new stuff is killing me!


cegoller
May 2nd, 2002, 01:33 PM
Anyone know of an easy way to move to particular records in a dataset?

Here is how I would do it with VB6:

With Data1.Recordset
.FindFirst "UPC = '" & gFindString & "' "
If (.NoMatch) Then
iReturn = MsgBox("UPC " & gFindString & _
" was not found.", vbCritical, "Search")
End If
End With

Thanks!

cynk
May 2nd, 2002, 03:53 PM
The following are 2 links that may help you out. The first one is about a Select on a Data Table. The second Link is about Filters. Hope this helps you out. The Select on the first link is farther down the page.


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataDataTableClassSelectTopic.asp

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndive/html/data06142001.asp

Cynthia