Results 1 to 13 of 13
  1. #1
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476

    Hope NOT to get in trouble here

    Guys,

    I need some help with a question I may have already asked, but a little differently. In my 'Customers' Form I want to add the field, Saluation which I want to be in a Combo Box Format. I tried 2-different methods: 1) I have the field 'Saluation' in my Cusomers Table & when I tried to implement it into my Customers Form which ever Saluation I choose for one Record copies in all of the other Records. Eg. if in Record-1 I choose "Mr." then "Mr." is in all of my other Records. If in Record-6 I choose/change it to, "Miss" then "Miss" appears inevery other one of my Customers Records. 2) I tried to create my own combo list, buthad similar problems. Any advice would be appreciated!

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    Are you viewing your Customer form in Datasheet view?
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    <Are you viewing your Customer form in Datasheet view?. Yes

  4. #4
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    Have you set the the Control Source property for Combo box?
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  5. #5
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    I'm sorry in my delayd reply; I had other issues whiith this dbs which needing fixing first.

    I just don't understand this Combo List; inthe Customers Table say I have 10-Customers with 'Salutations' of, "Mr." "Mrs" & "Miss". When I go to the Customers Form & try to set up "Salution" as a Combo Box I get a list of all 10-salutation (which I guess is coming from the Customers Table) whereas I just want to see, "Mr." "Mrs" & "Miss" only once in my Combo drop down list -- of course. I don't know what it is I'm doing wrong?

    <Have you set the the Control Source property for Combo box?> No, I was unable to do.

  6. #6
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    Can you answer a few questions please.

    What type of field is "Salutations" in the table?

    On your customer form:
    What happened when you tried to set the Record Source property of the combo box?
    What is the setting of the Row Source property of the combo box?
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  7. #7
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    "Salutation" is a text field. I have the field size set at 5

    The Row Source is, SELECT [Customers].[CustomerID], [Customers].[ctmSalution] FROM [Customers]; & the Row Source Type is set to Table/Query. In return I get a long list of, "Mr." Mrs." & "Miss"

  8. #8
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    I know of 2 ways to correct this, I think.

    Change the Row Source Property to Mr;Mrs;Miss etc.
    Change the Row Source Type Property to Value List
    Set the the Control Source property to Salutations
    Set the Column Count property to 1
    Set the Column Widths property to 1.5cm

    The other way to do this involves creating a table to hold the values that are to appear in the list (Mr, Mrs, Miss etc). If you would rather take this route post back.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  9. #9
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Bob,

    Let me get back to you sometime tomorrow if I can.

    Always, much thanks

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,920
    Don't forget Mz. and could also have Dr., Sen., Rep., Sir, Honorable, Rabbi, Mnsgr, Father, Mother, Fra., Herr, Frau, Snr., Snra., Srta., M., Mdmsl, Mdm., etc.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  11. #11
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Bob,

    Your instructions Worked! Hopefully I now have the concept of Combo Boxes & can use this thread/example as a reference.

    Thanks!

  12. #12
    djclntn is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    476
    Bob,

    After I posted another thread on Forms struggling with Combo Boxes I found your thread. Maybe you can take a look if you wouldn't mind.

    Thnks

  13. #13
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,543
    djclntn

    Ok, I'll have a look at that thread.
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Simple forms/queries question (I hope!)
    By Remster in forum Access
    Replies: 6
    Last Post: 09-07-2010, 12:08 PM
  2. Iff trouble
    By JackT in forum Access
    Replies: 3
    Last Post: 08-18-2010, 02:28 PM
  3. Simple Question...I hope
    By AndrewCoy in forum Access
    Replies: 1
    Last Post: 07-18-2010, 10:06 AM
  4. simple linking question I hope
    By wing8lc in forum Queries
    Replies: 4
    Last Post: 01-21-2010, 03:13 PM
  5. Replies: 2
    Last Post: 05-27-2009, 08:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums