H
Henro
I have a form (Start MIS) with two unbound fields. Can the value's in these
fields be used as criteria in query's? If so, how can I do so? It is a field
StartDate (Date/Time) in which I want to use the query's.
Relevant code:
works as criterium
does not work.
This is the code that starts the query, fired by clicking the button
'Genereren'
Private Sub Genereren_Click()
DoCmd.DeleteObject acTable, "MIS"
DoCmd.OpenQuery "Maak MIS"
End Sub
How can the fields [Mis starten].[MISstart] en [MIS starten].[MISeind] be
used as criteria in the query [Maak MIS]???
Thnx for thinking!
Henro
fields be used as criteria in query's? If so, how can I do so? It is a field
StartDate (Date/Time) in which I want to use the query's.
Relevant code:
([Begindatum]-1) And <([Einddatum]+1)
works as criterium
starten]![MISeind ]+1)([Formulieren]![MIS starten]![MISstart]-1) And <([Formulieren]![MIS
does not work.
This is the code that starts the query, fired by clicking the button
'Genereren'
Private Sub Genereren_Click()
DoCmd.DeleteObject acTable, "MIS"
DoCmd.OpenQuery "Maak MIS"
End Sub
How can the fields [Mis starten].[MISstart] en [MIS starten].[MISeind] be
used as criteria in the query [Maak MIS]???
Thnx for thinking!
Henro