L
Leonard Priestley
I have sometimes restricted the recordsource of a table, using code like
this:
Me.RecordSource = "SELECT Table1.ID, Table1.Text, .... From Table1
WHERE Table1.Text = ' " & cboTextSearch & " ' "
This has worked well with text and numbers (for numbers I would put:
WHERE Table1.Number = " & cboNumberSearch )
However, I would now like to do the same thing with dates, and I just can't
seem to find the correct syntax. Can anyone help please.
Leonard Priestley
this:
Me.RecordSource = "SELECT Table1.ID, Table1.Text, .... From Table1
WHERE Table1.Text = ' " & cboTextSearch & " ' "
This has worked well with text and numbers (for numbers I would put:
WHERE Table1.Number = " & cboNumberSearch )
However, I would now like to do the same thing with dates, and I just can't
seem to find the correct syntax. Can anyone help please.
Leonard Priestley