PC Review


Reply
Thread Tools Rate Thread

how to create combo box in form to input criteria in a query

 
 
=?Utf-8?B?Q2hyaXN0aW5h?=
Guest
Posts: n/a
 
      30th Jan 2006
Dear All,
I have a combo box in a form linked to a query / report. Both the query and
report work. However when I choose a criteria from the combo box, eg a name,
the report brings no data. Please if any one can help, I would be grateful.


Thanks
Christina
 
Reply With Quote
 
 
 
 
PC Datasheet
Guest
Posts: n/a
 
      30th Jan 2006
Start by looking at the Bound Column property of the combobox and be sure
the value of the combobox is really what you want for the criteria. For
example, the boundcolumn of a combobox is usually 1 and therefore the value
of the combobox is the ID field of the rowsource. If you are using an
autonumber in the rowsource, the value of the combobox will be a number. If
you are expecting a name in the criteria of the query, you're getting a
number from the combobox and consequently the query will not return any
records.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
Over 1100 users have come to me from the newsgroups requesting help
(E-Mail Removed)



"Christina" <(E-Mail Removed)> wrote in message
news:13BAAB8D-C534-4731-B00D-(E-Mail Removed)...
> Dear All,
> I have a combo box in a form linked to a query / report. Both the query
> and
> report work. However when I choose a criteria from the combo box, eg a
> name,
> the report brings no data. Please if any one can help, I would be
> grateful.
>
>
> Thanks
> Christina



 
Reply With Quote
 
StopThisAdvertising
Guest
Posts: n/a
 
      30th Jan 2006

"PC Datasheet" <(E-Mail Removed)> schreef in bericht news:UosDf.2767$(E-Mail Removed)...
> --
> PC Datasheet
> Your Resource For Help With Access, Excel And Word Applications
> Over 1100 users have come to me from the newsgroups requesting help
> (E-Mail Removed)
>


--
To Steve:
Over 325 users from the newsgroups have visited the website to read what kind of a 'resource' you are...

To the original poster:

Most people here have a common belief that the newsgroups are for *free exchange of information*.
But Steve is a notorious job hunter in these groups, always trying to sell his services.

Before you intend to do business with him look at:
http://home.tiscali.nl/arracom/whoissteve.html (updated)

Arno R
 
Reply With Quote
 
Rob Oldfield
Guest
Posts: n/a
 
      30th Jan 2006
To the original poster:

Most people here have a common belief that the newsgroups are for *free
exchange of information*.
But Steve (PC Datasheet) is a notorious job hunter in these groups, always
trying to sell his services.

Before you intend to do business with him look at:
http://home.tiscali.nl/arracom/whoissteve.html (updated)




"PC Datasheet" <(E-Mail Removed)> wrote in message
news:UosDf.2767$(E-Mail Removed)...
> Start by looking at the Bound Column property of the combobox and be sure
> the value of the combobox is really what you want for the criteria. For
> example, the boundcolumn of a combobox is usually 1 and therefore the

value
> of the combobox is the ID field of the rowsource. If you are using an
> autonumber in the rowsource, the value of the combobox will be a number.

If
> you are expecting a name in the criteria of the query, you're getting a
> number from the combobox and consequently the query will not return any
> records.
>
> --
> PC Datasheet
> Your Resource For Help With Access, Excel And Word Applications
> Over 1100 users have come to me from the newsgroups requesting

help
> (E-Mail Removed)
>
>
>
> "Christina" <(E-Mail Removed)> wrote in message
> news:13BAAB8D-C534-4731-B00D-(E-Mail Removed)...
> > Dear All,
> > I have a combo box in a form linked to a query / report. Both the query
> > and
> > report work. However when I choose a criteria from the combo box, eg a
> > name,
> > the report brings no data. Please if any one can help, I would be
> > grateful.
> >
> >
> > Thanks
> > Christina

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a form to input update query criteria Sarah Microsoft Access Forms 2 24th Jul 2009 08:58 PM
how do i use a combo box on a form as criteria for a query =?Utf-8?B?Sm9uIFNraW5raXM=?= Microsoft Outlook Discussion 0 17th Oct 2006 01:34 PM
Use a form to input query criteria =?Utf-8?B?RG1hY2tjd2J5?= Microsoft Access Forms 0 7th Mar 2006 11:26 PM
using a form with combo box to input criteria =?Utf-8?B?Q2hyaXN0aW5h?= Microsoft Access Forms 16 3rd Feb 2006 08:47 PM
Form input for Query Criteria John Microsoft Access Forms 1 11th Jun 2004 09:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 AM.