Private Sub Command1_Click() Dim s s = Text5.Text If Len(Trim(s)) > 0 Then s = "07software='" & UCase(Trim(s)) & "'" Adodc1.Recordset.Find s End If End Sub Private Sub Form_Load() Dim iRecords As Integer Dim strDBPath As String strDBPath = App.Path If Right(strDBPath, 1) <> "\" Then Me.Adodc1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Muneer\My Documents\database work\db1.mdb" End If
Admin Edit: Please use code tags when posting your code. Code tags are used like so =>
Thanks,
PsychoCoder

New Topic/Question
Reply




MultiQuote



|