Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 37
  1. #16
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,
    I have typed this criteria but it still asks me to input some word to do the search.
    Criteria: Form![Consulta por obra].[Combobox name]
    But after this the program input in the "Form" this type of brackets [].
    When i run it, asks the name to do the search...


    Thanks

  2. #17
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Try

    Forms![Consulta por obra].[Combobox name]

    did you put the actual name of the combo in?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #18
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Hello,

    Thanks very much. It is working now.
    When i have more questions i will try to contact you.
    Thanks again.

  4. #19
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help. When you have more questions, just start a new thread. Always somebody around to help out.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #20
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Quote Originally Posted by pbaldy View Post
    Probably nothing. It is common in database design to store a numerical key value in related tables. In other words, if I have a employee table with an employee number and employee name, it is the employee number that I would store in related tables. I'd get the name by joining the tables in a query on the employee number field.

    Hello again,

    Regarding this question, i am doing a report and in the report it is appearing the number and not the name that corresponds in the column.
    How can i fix this?

    thanks

  6. #21
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    From the post you quoted:

    Quote Originally Posted by pbaldy View Post
    I'd get the name by joining the tables in a query on the employee number field.
    In other words, you base the report on a query that joins the two tables together on the number field. That lets you include fields from both tables in the report.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #22
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Quote Originally Posted by pbaldy View Post
    From the post you quoted:



    In other words, you base the report on a query that joins the two tables together on the number field. That lets you include fields from both tables in the report.
    And if the report is displaying data from a query that is searching in several tables?

  8. #23
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    You should be able to add the table with employee names with the appropriate join to the table with the number without affecting the records returned.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #24
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Quote Originally Posted by pbaldy View Post
    You should be able to add the table with employee names with the appropriate join to the table with the number without affecting the records returned.
    sorry but i am not understanding...

  10. #25
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Can you post the db?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  11. #26
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Quote Originally Posted by pbaldy View Post
    Can you post the db?
    It is larger than 2 MB, It is 3MB. How can I quote it?
    Sorry, post it...

  12. #27
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    If you do a compact/repair then zip it, is it still too big?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  13. #28
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Good idea,

    The main table is called the "Lista de Tarefas" and the secondary table that has the info that is not appearing as text is the table "Nome da Área".

    Thanks

  14. #29
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Both reports in this sample get their data from one table. That said, your data seems messed up. The area field in the Lista de Tarefas table is text not numeric, and your relationships are set up on the text field rather than the numeric field. In other words, your database is set up for the text to be there, not the number.
    Last edited by pbaldy; 10-11-2010 at 01:44 PM. Reason: fix spelling goof
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  15. #30
    slbenfica is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2010
    Posts
    20
    Quote Originally Posted by pbaldy View Post
    Both reports in this sample get their data from one table. That said, your data seems messed up. The area field in the Lista de Tarefas table is text not numeric, and your relationships are set up on the text field rather than the numeric field. In other words, you database is set up for the text to be there, not the number.
    How do i solve it?

Page 2 of 3 FirstFirst 123 LastLast
Please reply to this thread with any new information or opinions.

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