Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform as part of query: how to design

Status
Not open for further replies.

tyemm

Technical User
Feb 28, 2005
66
US
I have a single table I'm interested in querying.
The user needs to select some entries, say a date range, another field, and finally make a list of several possible and existing enties in a final field. I want to design a "query/report generator form" that makes this possible.

table name is tblShortForm, a few fields are named: IncidDate, NYPRT, and ProcICD9. So on this form I have combos for date range, for the choice of one NYPRT, and I want a subform to enable the user to choose any number of possible ProcICD9 items before executing a query.

I've got a subform, sfrm ProcICD9, that will enable selecting (existing) items from that field in the table, i.e. via a SELECT DISTINCT query that displays a list of all existing examples of that field, without duplicates.

But I've not been able to put this together; any example out there I could look at?

Tnx,
Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top