R
RipperT
I have tblHearings (one side) and tblCharges (many side) joined on
'HearingID'. tblHearings also has a 'HearingDate' field and a 'Select'
checkbox field. I have created a form that will allow a user to check the
'Select' checkbox for the records for which they want to set up a
HearingDate, then click a button and it plugs a date into the
'HearingDate' field. I want the form to only display the Hearing data from
tblHearings for each hearing and not any tblCharges data. The problem is
that if there are multiple charges for a hearing, the hearing data is listed
once for each charge and I want the hearing to only be listed once. If I
write the query SELECT DISTINCT... it will show the hearing only once, but
then nothing happens when the user clicks a checkbox. Is there a way around
this?
Many thanks,
Rip
'HearingID'. tblHearings also has a 'HearingDate' field and a 'Select'
checkbox field. I have created a form that will allow a user to check the
'Select' checkbox for the records for which they want to set up a
HearingDate, then click a button and it plugs a date into the
'HearingDate' field. I want the form to only display the Hearing data from
tblHearings for each hearing and not any tblCharges data. The problem is
that if there are multiple charges for a hearing, the hearing data is listed
once for each charge and I want the hearing to only be listed once. If I
write the query SELECT DISTINCT... it will show the hearing only once, but
then nothing happens when the user clicks a checkbox. Is there a way around
this?
Many thanks,
Rip