please give me the explanation of these code
i am a trainee programmer.
i am a trainee programmer.
Code:
Private Sub Command2_Click() Dim ADOcommand As New ADODB.Command Dim ADOconnection As New ADODB.Connection Dim RSSales As New ADODB.Recordset Set ADOconnection = CreateObject("ADODB.Connection") ADOconnection.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\NWIND.MDB; Persist Security Info= False" Set ADOcommand.ActiveConnection = ADOconnection ADOcommand.Prepared = False ADOcommand.CommandText = "Invoices" ADOcommand.CommandType = adCmdStoredProc Set RSSales = ADOcommand.Execute()
Comment