Question

I have a form that has multiple comboboxes. Some of them allow multiple values and some of them don't. One of the comboboxes that allows multiple values is causing duplicate entries in the form records.

I can't find any differences in the property sheet between the combobox that isn't working and those that are.

Example fields in the form:

  • Patient Account Number
  • Date of Admission
  • Location of Patient (combobox that allows multiple values; working correctly)
  • Interface Used (combobox that allows multiple values; working correctly)
  • Interventions (combobox that allows multiple values; NOT working correctly)

When I select more than one Intervention it duplicates the record within the form. I have 5 patients entered into the form, but one of them has 3 Interventions selected. So instead of showing "1 of 5" records at the bottom of my form I see "1 of 8" and 3 of them are exactly the same. When I look at my parent table though, there are still only 5 records.

Please forgive me if I didn't call something the proper name. I'm very new to Access. Thank you! I tried to add screenshots, but I don't have enough reputation points.

Was it helpful?

Solution

I suspect that the form's underlying query (=RecordSource) is using the Value property of the multivalue field. If so, remove Value from the query.

OTHER TIPS

view the query's SQL and look for the word .Value remove the word Value and the period before it then re-run the query the results will change back to normal amount of records and so will your form or report.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top