PC Review


Reply
Thread Tools Rate Thread

Combo box to show selective Records!

 
 
Bob V
Guest
Posts: n/a
 
      6th Nov 2007


I have a table [tblAccountStatus] that has around 6 fields for receiving
payments
2 of the fields are [ClientID] (Number) and [ModeOfPayment] (Text)
I have created a query using these to fields , made a combo box using this
query ,put it on my form and made Control Source [ModeOfPayment]
Now what I would like to do is when I enter the ClientID on to my form the
query will only show [ModeOfPayment] that has been entered with that
[ClientID]
Hence when I select Mr Tom Cruise , I will get a selection my from my Combo
Box as the names of the checks I have entered under his ClientID
Hope this makes Sense...........Thanks for any Help.............Bob





 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      7th Nov 2007
Bob

Why does it take "around 6 fields" to show payments received? What are you
putting in those fields?

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Bob V" <(E-Mail Removed)> wrote in message
news:%23$(E-Mail Removed)...
>
>
> I have a table [tblAccountStatus] that has around 6 fields for receiving
> payments
> 2 of the fields are [ClientID] (Number) and [ModeOfPayment] (Text)
> I have created a query using these to fields , made a combo box using this
> query ,put it on my form and made Control Source [ModeOfPayment]
> Now what I would like to do is when I enter the ClientID on to my form the
> query will only show [ModeOfPayment] that has been entered with that
> [ClientID]
> Hence when I select Mr Tom Cruise , I will get a selection my from my
> Combo
> Box as the names of the checks I have entered under his ClientID
> Hope this makes Sense...........Thanks for any Help.............Bob
>
>
>
>
>



 
Reply With Quote
 
Bob V
Guest
Posts: n/a
 
      7th Nov 2007
Thanks Jeff,
BillID - AutoNumber
OwnerID - Number (Client)
BillDate -Date/Time (Date)
PaidAmount - Currency (Amount)
PaymentID - Text ( Anything kept private to me about payment)
CreditNote - Memo ( Issue a sepate Credit Note)
PayNo - Yes/No ( Issue a Payment number or Zero number)
BillID1 - Number (Payment Number)

Thanks Bob



"Jeff Boyce" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Bob
>
> Why does it take "around 6 fields" to show payments received? What are
> you putting in those fields?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
>
> "Bob V" <(E-Mail Removed)> wrote in message
> news:%23$(E-Mail Removed)...
>>
>>
>> I have a table [tblAccountStatus] that has around 6 fields for receiving
>> payments
>> 2 of the fields are [ClientID] (Number) and [ModeOfPayment] (Text)
>> I have created a query using these to fields , made a combo box using
>> this
>> query ,put it on my form and made Control Source [ModeOfPayment]
>> Now what I would like to do is when I enter the ClientID on to my form
>> the
>> query will only show [ModeOfPayment] that has been entered with that
>> [ClientID]
>> Hence when I select Mr Tom Cruise , I will get a selection my from my
>> Combo
>> Box as the names of the checks I have entered under his ClientID
>> Hope this makes Sense...........Thanks for any Help.............Bob
>>
>>
>>
>>
>>

>
>



 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      7th Nov 2007
I suspect Access is confused between the ID and the ModeofPayment. It
sounds like your combobox control is bound to one, but your RowSource
indicates another.

Are any of your table fields using the "lookup" data type?

Regards

Jeff Boyce
Microsoft Office/Access MVP

"Bob V" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks Jeff,
> BillID - AutoNumber
> OwnerID - Number (Client)
> BillDate -Date/Time (Date)
> PaidAmount - Currency (Amount)
> PaymentID - Text ( Anything kept private to me about payment)
> CreditNote - Memo ( Issue a sepate Credit Note)
> PayNo - Yes/No ( Issue a Payment number or Zero number)
> BillID1 - Number (Payment Number)
>
> Thanks Bob
>
>
>
> "Jeff Boyce" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> Bob
>>
>> Why does it take "around 6 fields" to show payments received? What are
>> you putting in those fields?
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>>
>> "Bob V" <(E-Mail Removed)> wrote in message
>> news:%23$(E-Mail Removed)...
>>>
>>>
>>> I have a table [tblAccountStatus] that has around 6 fields for receiving
>>> payments
>>> 2 of the fields are [ClientID] (Number) and [ModeOfPayment] (Text)
>>> I have created a query using these to fields , made a combo box using
>>> this
>>> query ,put it on my form and made Control Source [ModeOfPayment]
>>> Now what I would like to do is when I enter the ClientID on to my form
>>> the
>>> query will only show [ModeOfPayment] that has been entered with that
>>> [ClientID]
>>> Hence when I select Mr Tom Cruise , I will get a selection my from my
>>> Combo
>>> Box as the names of the checks I have entered under his ClientID
>>> Hope this makes Sense...........Thanks for any Help.............Bob
>>>
>>>
>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Bob V
Guest
Posts: n/a
 
      7th Nov 2007
Thanks Jeff, No Lookup codes on that form!
Sorry I have not created my combo box yet as I did not know how to filter it
to OwnerID
thanks for your Help....Bob

"Jeff Boyce" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I suspect Access is confused between the ID and the ModeofPayment. It
>sounds like your combobox control is bound to one, but your RowSource
>indicates another.
>
> Are any of your table fields using the "lookup" data type?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
> "Bob V" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Thanks Jeff,
>> BillID - AutoNumber
>> OwnerID - Number (Client)
>> BillDate -Date/Time (Date)
>> PaidAmount - Currency (Amount)
>> PaymentID - Text ( Anything kept private to me about payment)
>> CreditNote - Memo ( Issue a sepate Credit Note)
>> PayNo - Yes/No ( Issue a Payment number or Zero number)
>> BillID1 - Number (Payment Number)
>>
>> Thanks Bob
>>
>>
>>
>> "Jeff Boyce" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> Bob
>>>
>>> Why does it take "around 6 fields" to show payments received? What are
>>> you putting in those fields?
>>>
>>> Regards
>>>
>>> Jeff Boyce
>>> Microsoft Office/Access MVP
>>>
>>>
>>> "Bob V" <(E-Mail Removed)> wrote in message
>>> news:%23$(E-Mail Removed)...
>>>>
>>>>
>>>> I have a table [tblAccountStatus] that has around 6 fields for
>>>> receiving
>>>> payments
>>>> 2 of the fields are [ClientID] (Number) and [ModeOfPayment] (Text)
>>>> I have created a query using these to fields , made a combo box using
>>>> this
>>>> query ,put it on my form and made Control Source [ModeOfPayment]
>>>> Now what I would like to do is when I enter the ClientID on to my form
>>>> the
>>>> query will only show [ModeOfPayment] that has been entered with that
>>>> [ClientID]
>>>> Hence when I select Mr Tom Cruise , I will get a selection my from my
>>>> Combo
>>>> Box as the names of the checks I have entered under his ClientID
>>>> Hope this makes Sense...........Thanks for any Help.............Bob
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
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
Combo Box doesn't show all records nancye Microsoft Access Forms 2 8th May 2009 08:14 PM
Records show from searching by combo box =?Utf-8?B?Q2hpbm55MDM=?= Microsoft Access Form Coding 1 5th Jun 2007 04:20 PM
RE: Combo to show records dependent upon another combo =?Utf-8?B?S2VuIFNoZXJpZGFu?= Microsoft Access 1 16th Dec 2006 06:43 PM
Re: Combo to show records dependent upon another combo JK Microsoft Access 0 16th Dec 2006 12:18 AM
Show all records through combo box =?Utf-8?B?SkthcmNobmVy?= Microsoft Access Forms 15 29th Aug 2006 01:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:50 PM.