Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10

    Combo box with only one entry appearing

    Hello, I'm using access to build a new database for my project but as a non-experienced user i've been having some difficulties that tutorials and other sources don't give me a clear solution to my problem. First, i would like to now how can i program to appear on a report a single entry that i selected in the combobox in the table instead of all the options and just enlighten the one i selected.



    Also, if someone could give me an easy explanation on how to set one page for each entry because the format > details > force new page after selection is not responding..

    Thank you in advance for your attention.

    Best regards,

    Marta Wadsworth

  2. #2
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    I've already solved the second problem.. so i just need help for the first issue

  3. #3
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

  4. #4
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    Quote Originally Posted by orange View Post
    You may wish to review the info here
    http://access.mvps.org/access/lookupfields.htm
    Sorry, i didn't understand..

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Based on your post, I thought you were using lookup fields at the table level. And that's why I sent the link I did.

    However, if you are not using table level lookups, what exactly is the issue.
    Can you describe with some sample data?

    I have acc2003 and can not use accdb format. I can only open mdb format data base.

  6. #6
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    Click image for larger version. 

Name:	combobox.jpg 
Views:	7 
Size:	42.1 KB 
ID:	8780

    that picture is the image from layout view of my report.. as you can see at "pick-up", "destino", "veículo", etc. the combobox appears showing all the posibilities and just enlightens the one I selected.. I would like to know how can i make it appear just the selection and not all the entries from the mother table.

    Thank you for your help!!

  7. #7
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    What is the rowsource of your report?
    Is the image you provided a Form that you use to create records?
    Can you post a jpg of your tables and relationships?

  8. #8
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    The rowsource of my report is a table called Serviços (in the picture) that is based from other tables and the report is from that table "serviços". The picture i provided before is from the layout view of the report itself.
    There's also the picture from the relationships added.Click image for larger version. 

Name:	relationships.jpg 
Views:	4 
Size:	54.3 KB 
ID:	8781Click image for larger version. 

Name:	table_servicos.jpg 
Views:	3 
Size:	154.1 KB 
ID:	8782

  9. #9
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    Can you save a copy of your data base (with no confidential data) in mdb format and post it?

    I believe you are using lookups at the table level that may be causing some of your issue.

  10. #10
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    databse.zip

    I've added the db in mdb

  11. #11
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    It appears to me, and I don't understand Portugese, that you have not identified , nor created, the specific records you want to report.

    If Serviços is Services, then I think you want to have a table containing info about Client selected services.

    For example:
    Service 1 was Requested on June 17,2012 at 6:25 PM to be Picked Up at the Luxor Hotel with a Destination of Paris in vehicle Cadillac with Licence 234_p_L-45 by client Hector Sanchez ( and I assume Pax and Voo are something like Number of People , phone or email?).

    But you do not seem to have such records. You are using ComboBox at the table level. The recommended approach is to use Combo box(es) on Form(s) to select the appropriate values for a record that you will save to a table. The combo boxes use queries or tables as record sources to show the options available for that combo (Destination), and another for Vehicles etc.
    How did you enter the data into the Serviços table?

    You would NOT normally allow data entry directly into a Table. You use a Form for that so that you can control and validate what values get stored in underlying table(s).

    If I have misunderstood, then please clarify.

  12. #12
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    Hey,

    I understood everything you said and yes i'm using forms to introduce data such as the forms for clients, pick-up, destination, etc. then those forms give information to the report "services" ..

    and i guess it is working because when you select the option on the form services it appears "enlightened" in the report :s

  13. #13
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848
    I don't have 2007.
    How did you put the 2 records into the Serviços table?

  14. #14
    martaw is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    10
    In the table because when i created the form for "Serviços" it didn't appear the posibilities of the combobox

  15. #15
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combo Box add new entry
    By ZJGMoparman in forum Programming
    Replies: 1
    Last Post: 04-10-2012, 08:32 PM
  2. Entry is too long for Combo box
    By EinSpringfielder in forum Forms
    Replies: 1
    Last Post: 03-08-2012, 09:27 AM
  3. Subform, Combo Box, Data entry
    By hellojosie in forum Access
    Replies: 2
    Last Post: 11-21-2011, 01:29 AM
  4. Combo box/list for data entry.
    By geoffishere in forum Forms
    Replies: 1
    Last Post: 03-13-2010, 04:16 AM
  5. restricting combo box entry
    By fairlo in forum Forms
    Replies: 1
    Last Post: 10-04-2007, 04:05 PM

Tags for this Thread

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