Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
with activesheet.usedrange
cells(.row + .rows.count, "A").copyfromrecordset rst
end with
Dim App_Cnn As ADODB.Connection
Set App_Cnn = New ADODB.Connection
With App_Cnn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.Properties("Data Source") = FullPathAndNameTo[b]MDB[/b]File
.Properties("Jet OLEDB:System database") = FullPathAndNameTo[b]MDW[/b]File
.Properties("User ID") = PowerUser
.Properties("Password") = PowerPswrd
.Properties("Persist Security Info") = True
.Properties("Jet OLEDB:Database Password") = DBPswrd
.Properties("Mode") = adModeShareDenyNone
.Open
End With
Dim strSQL as String
strSQL="DELETE myTableName.* " & _
"FROM myTableName " & _
"WHERE myTextFieldName='bliah'"
[green]'or for numeric field data type[/green]
strSQL="DELETE myTableName.* " & _
"FROM myTableName " & _
"WHERE myNumericFieldName>35"
[green]'or the entire data in the table[/green]
strSQL="DELETE myTableName.* " & _
"FROM myTableName"
App_Cnn.Execute strSQL, myRecordsAffected, adCmdText + adExecuteNoRecords
App_Cnn.Close
Set App_Cnn = Nothing