Hey guys,
So i have an action query 'A' that makes a table, this query 'A' selects columns from another query 'B', and the query 'B' asks user for dates that is [from shipment date] and [to shipment date].
I tried using the current db.execute cmd but it gives me an error saying saying "Run time error '3061'. too few parameters. Expected 2". I know this error has to do with the user entering shipment dates but i am not sure how to fix it..my code is as follows:
Any help will be greatly appreciated.
Thanks!
So i have an action query 'A' that makes a table, this query 'A' selects columns from another query 'B', and the query 'B' asks user for dates that is [from shipment date] and [to shipment date].
I tried using the current db.execute cmd but it gives me an error saying saying "Run time error '3061'. too few parameters. Expected 2". I know this error has to do with the user entering shipment dates but i am not sure how to fix it..my code is as follows:
Code:
Private Sub Graph_percent_rejected_Click()
Dim StrTableName As String
StrTableName = "qrySummaryStaubTable"
CurrentDb.TableDefs.Delete StrTableName
CurrentDb.Execute ("qrySummaryStaub")
End Sub
Any help will be greatly appreciated.
Thanks!