Article ID: 154817
Article Last Modified on 6/28/2004
Private Sub Command1_Click()
' Restrict the SQL to display only the authors whose last name
' start with an R
MSRDC1.SQL = "SELECT * FROM Authors WHERE AU_Lname LIKE'R%'"
MSRDC1.Refresh
MSRDC1.Refresh
End Sub
Default Name Caption Name
-------------------- ----------------- ----------
Remote Data Control Authors MSRDC1
Command1 Change SQL Command1
DBList Not Applicable DBList1
Option Explicit
Private Sub Form_Load()
MSRDC1.DataSourceName = "RefreshTest"
MSRDC1.SQL = "Select * from Authors"
MSRDC1.Refresh
DBList1.ListField = "Phone"
End Sub
Private Sub Command1_Click()
' Restrict the SQL to display only the authors whose last name
' start with an R
MSRDC1.SQL = "SELECT * FROM Authors WHERE AU_Lname LIKE'R%'"
MSRDC1.Refresh
End Sub
Additional query words: remote data control rdc
Keywords: kb32bitonly kbprb KB154817