jeudi 4 novembre 2021

Could you explain why is in attach code below the syntax error?

Could you explain why is in attach code below the syntax error?

If Me.DateBeign <> "" And Me.DateEnd <> "" Then 
q = "SELECT * FROM Controls WHERE [Begin dates of control] = # " & Me.DateBegin & " # AND [End dates of controls ] = # " & Me.DateEnd & " # "
    Me.RecordSource = q
End If

Aucun commentaire:

Enregistrer un commentaire