D
David Coates
Help! I have a form which has a combobox only on it. The data for the
combobox comes from a table made from a query. The idea is that I can
select a record in the combobox and use that in another query to restrict
the records I get for a report. I have noticed that after highlighting the
record in the combobox, and the form is closed down, the table has had that
highlighted record added to it as a new record.
I have tried setting 'Allow additions' and 'Allow Edits' to 'No'. When the
'Allow Additions' property is set to 'No' the combobox just disappears, when
I set the 'Allow Edits' to 'No' the form will not allow a record to be
selected. I have also tried setting the combobox data properties 'Locked'
to "Yes' but this also stops me from selecting a record.
There must be a way to select a record for use as the criteria in a query
without having that record appended to the original data. I use VBA to
return the results of the form selection as the query criteria, but have
noticed the phenomenon even just using the form and selecting a record
without running a query.
Any suggestions most welcome.
--
Regards,
David Coates
Progen Ltd.
Mobile : 021 685 607
Phone : +64 7 839 3326
Fax : +64 7 839 3327
CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person, use
it for any purpose or store or copy the information in any medium.
combobox comes from a table made from a query. The idea is that I can
select a record in the combobox and use that in another query to restrict
the records I get for a report. I have noticed that after highlighting the
record in the combobox, and the form is closed down, the table has had that
highlighted record added to it as a new record.
I have tried setting 'Allow additions' and 'Allow Edits' to 'No'. When the
'Allow Additions' property is set to 'No' the combobox just disappears, when
I set the 'Allow Edits' to 'No' the form will not allow a record to be
selected. I have also tried setting the combobox data properties 'Locked'
to "Yes' but this also stops me from selecting a record.
There must be a way to select a record for use as the criteria in a query
without having that record appended to the original data. I use VBA to
return the results of the form selection as the query criteria, but have
noticed the phenomenon even just using the form and selecting a record
without running a query.
Any suggestions most welcome.
--
Regards,
David Coates
Progen Ltd.
Mobile : 021 685 607
Phone : +64 7 839 3326
Fax : +64 7 839 3327
CONFIDENTIALITY : This e-mail and any attachments are confidential and
may be privileged. If you are not a named recipient, please notify the
sender immediately and do not disclose the contents to another person, use
it for any purpose or store or copy the information in any medium.