Your program can use SQL statements to select a set of records that comply with a certain condition. For example, all records in which the YearPublished field is greater than 1990. The following code is an example.
'// Find All records in Titles, where Title = dBASE III Plus
datTitles.RecordSource = "Select * from Titles where Title = 'dBASE III Plus'"
'// you always need to refresh the recordset
datTitles.Refresh
For information on forming SQL statements, click here.
Comments