I am trying to create a click button on a form that would allow me to run an append query based on the day.
Because today is Friday and I am trying to test this out I am using this code.(The base date is a text box which displays todays date and Daily is the query that I am trying to run.
Private Sub Command43_Click()
If "base_date" = "6" Then
DoCmd.SetWarnings False
DoCmd.OpenQuery "Daily"
End If
PLease let me know if you need more information.
Any suggestions???? Thanks Guys!!!
Because today is Friday and I am trying to test this out I am using this code.(The base date is a text box which displays todays date and Daily is the query that I am trying to run.
Private Sub Command43_Click()
If "base_date" = "6" Then
DoCmd.SetWarnings False
DoCmd.OpenQuery "Daily"
End If
PLease let me know if you need more information.
Any suggestions???? Thanks Guys!!!