473,395 Members | 1,462 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Printing From a Form Selecting drop down box

I have designed a report named report by Recruiter. I have made a form called frmRecruitmentReports, on this form I have created a pair of combo boxes .
1.Beggining Date (both are unbound)
2.Ending Date.

A query called recruitment query
The table being used is tblRecruitment the Field were criteria is initcontactdate
Argument:
Between [forms].[frmRecruitmentReports].[BeginningDate] And [forms].[frmRecruitmentReports].[EndingDate]
.
All this works fine when I enter dates. Once I pass the date fields I'm prompted
to enter a parameter value = Field Division and Recruiter ID. If I enter them manualy I get the results I want. But I want to place two combo boxes, Field Division and Recruiter Id so they can be selected right from the form.

On my report (Report by Recruiter) I have Field Division and Recruiter Id as Group Headers. I assume thats why I'm getting prompted to enter the paramater values. What I've done is ;

Created a query named FieldDivision From Field Division Table.
Created an unbound cbo box Named it Field Division.

At Row Source;
SELECT qryFieldDivision.FieldDivision FROM qryFieldDivision;

After all this has been done I'm still prompted to enter paramater values.

Can someone tell me what im doing wrong? What am I missing ?

Thanks
Aug 14 '07 #1
2 1556
I think parameter promts in forms happen when your source isn't spelled exactly the same way.
Aug 14 '07 #2
Scott Price
1,384 Expert 1GB
On my report (Report by Recruiter) I have Field Division and Recruiter Id as Group Headers. I assume thats why I'm getting prompted to enter the paramater values. What I've done is ;

Created a query named FieldDivision From Field Division Table.
Created an unbound cbo box Named it Field Division.

At Row Source;
SELECT qryFieldDivision.FieldDivision FROM qryFieldDivision;
You are probably getting your parameter prompts because your RowSource isn't set quite right. In your query named qryFieldDivision, you will normally select two fields/columns to display, in this order: FieldDivisionID, FieldDivision. Then set the RowSource to qryFieldDivision. Give it 2 columns, make the column widths 0", 1.5", set bound column to 1, limit to list = yes, column headings = no.

In the row source you have listed, you are trying to essentially duplicate the select query that you have already created.

The two ways to set your row source are: set row source to query name like I first mentioned OR use a SELECT statement in the row source itself, in this way: SELECT FieldDivisionID, FieldDivision FROM tblFieldDivision.

Hope this helps!

Regards,
Scott
Aug 14 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: B Love | last post by:
I would like to display a drop-down list on a form conditional on the value of another field on the same form. I am not sure if this is good form or not. I am using Access97, but have access to...
6
by: B Blue | last post by:
here's the situation: a produce dept at a grocery store needs to generate a weekly sheet for ordering. This is how it looks: 5 columns across with the following headings: Product Description,...
4
by: Sami | last post by:
I hope someone will tell me how to do this without having to do any VB as I know nothing in that area. I am a rank beginner in using Access. I have created a database consisting of student...
4
by: Kathy | last post by:
What is the standard technique for handling the fields in the following scenario on a continuous form? Multiple Divisions. Each Division has multiple Buildings. Each Building has a Supervisor. ...
2
Chittaranjan
by: Chittaranjan | last post by:
Hi All, I have a problem and hope I can get the better solution from here. I have a form written in HTML and I need to write that in perl so the main problem I am facing is that I need to...
2
by: rynato | last post by:
I have a form which the user fills out to enter some data. If there already exists an uncompleted session - say, the user started entering some data but had to stop to do something else - the...
7
by: metalaniac | last post by:
Hi there I have been sitting with this for a while now and can't seem to get the correct script online. I get a lot of scripts being able to change a line of text, or input field by selecting an...
0
by: Iain Wilson | last post by:
Hi All I am trying my hand at printing from a web page for the first time. I have been asked to print what amounts to many pages of data in response to a button click. The scenario is as...
1
by: bytenut | last post by:
I would like to display two field values in a combo after selecting from the list items... i.e. my drop-down shows two fields from a lookup, but when I select the item, only the first field value is...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.