InQuery2004
Registered User.
- Local time
- Today, 14:46
- Joined
- Nov 12, 2004
- Messages
- 24
I will try and be as concise as possible. I'm not sure how trivial a problem this is, but I haven't been able to find a solution on the internet regarding this issue.
The problem: I have a main form and sub form placed on two separate tabs. The form displays information about a particular employee in a company. Some of the records shown in the main form are duplicates based on a field named ProfileID. I would like to filter out these duplicate records based on this ProfileID field directly on the form. How can this be done and will it affect the records displayed in the subform?
Additional background:
Both the form and its subform are sourced to a paramaeter Query named ViewProfilesInfo. The query in turn has data from two source tables, one named Profiles and the other called ActionLog. Profiles represents the one side of a one-many relationship with ActionLog, with ProfileID being the joined field. A given profile record in the One table will habe many Procedure Numbers (A separate field) in the ActionLog table. My bug actually is caused by my Query, which will display a separate record for each unique result. So a given ProfileID will show many records in the Query because it has many ProcedureNo's related to it. When this Query is dipslayed on the form, it also shows each record in sub form (I want this) AND the main form (I don't want this)
Thanks for the help in advance.
Regards,
Mike J
The problem: I have a main form and sub form placed on two separate tabs. The form displays information about a particular employee in a company. Some of the records shown in the main form are duplicates based on a field named ProfileID. I would like to filter out these duplicate records based on this ProfileID field directly on the form. How can this be done and will it affect the records displayed in the subform?
Additional background:
Both the form and its subform are sourced to a paramaeter Query named ViewProfilesInfo. The query in turn has data from two source tables, one named Profiles and the other called ActionLog. Profiles represents the one side of a one-many relationship with ActionLog, with ProfileID being the joined field. A given profile record in the One table will habe many Procedure Numbers (A separate field) in the ActionLog table. My bug actually is caused by my Query, which will display a separate record for each unique result. So a given ProfileID will show many records in the Query because it has many ProcedureNo's related to it. When this Query is dipslayed on the form, it also shows each record in sub form (I want this) AND the main form (I don't want this)
Thanks for the help in advance.
Regards,
Mike J