Thank you for your time and patients
It displays only one set of data,
Form property Record source is ...tblDate
Data type is number// It is not a ,uck. Lookup Field // and the table does
in fact have multiple records but only the first one shows then it moves to
new record...
again i want to thank you for your patients in educating me.
--
timH
John W. Vinson/MVP said:
The code is:
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmDate"
stLinkCriteria = "[ID]=" & Me![ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
and the recordsource for the form is tblDate; filter is [ID] = 1 as the
record opened was record 1; and when i change to different date id the filter
changes, however it does not display all records associated with [ID] = id#
What DOES it display? What is the Recordsource property of the form?
What is the datatype of ID? Is it a <uck> Lookup field? Does the table
in fact have multiple records for the selected ID?