Guest_imported
New member
- Jan 1, 1970
- 0
Hi. I am having difficulties with using comboboxes with a parameter query. I'll explain the situation:
I have a data-entry form (and a corresponding table, of course) that is used to enter project information.
In the form, there is a combobox to select the employees name. This combobox is based on a query which takes the employees last, first and middle names and concatonates them so they will appear as full names in the combobox(for eg. Smith, Jason A.)
This full name format is the same format that I would like for a combobox on a form that is used for a parameter query. I am not sure how the parameter query goes about getting information from the combobox. So, inturn, I am having difficulty using the original fullname query as a source for the combobox and then getting the selected information from the combobox into the criteria box of the parameter query I would like to make.
That's my first problem. Now for my second:
Company projects may take several years and hence require several years of funding. In the project table, there are columns for each year of financing that a project receives (for eg. 2000/2001; 2004/2005; etc. into each of these columns are entered dollar amounts). I would like to do a query to see how much funding a particular employee is getting in any given financial year.
How do I get the query to just pick info out of just one year's column (for eg. I will pick Smith, Henry A. from the employee combo box and 2001/2002 from the year combobox and have the query show all of the funding that Henry Smith will receive during 2001/2002)?
Any help on this will be greatly appreciated.
I have a data-entry form (and a corresponding table, of course) that is used to enter project information.
In the form, there is a combobox to select the employees name. This combobox is based on a query which takes the employees last, first and middle names and concatonates them so they will appear as full names in the combobox(for eg. Smith, Jason A.)
This full name format is the same format that I would like for a combobox on a form that is used for a parameter query. I am not sure how the parameter query goes about getting information from the combobox. So, inturn, I am having difficulty using the original fullname query as a source for the combobox and then getting the selected information from the combobox into the criteria box of the parameter query I would like to make.
That's my first problem. Now for my second:
Company projects may take several years and hence require several years of funding. In the project table, there are columns for each year of financing that a project receives (for eg. 2000/2001; 2004/2005; etc. into each of these columns are entered dollar amounts). I would like to do a query to see how much funding a particular employee is getting in any given financial year.
How do I get the query to just pick info out of just one year's column (for eg. I will pick Smith, Henry A. from the employee combo box and 2001/2002 from the year combobox and have the query show all of the funding that Henry Smith will receive during 2001/2002)?
Any help on this will be greatly appreciated.