VBA中用使用insert语句:
Dim cmd As ADODB.Command
Set cmd = New ADODB.Command
cmd.ActiveConnection = CurrentProject.Connection
cmd.CommandText = "insert into QCSuggestionPaper (ProjectName,PaperDate) " _
& "values('"me.txtProjectName"','"me.txtInspectDate"')"