Results 1 to 8 of 8
  1. #1
    Collins is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    107

    City field in report is a number rather than a city

    I have a report that shows the city for each record. But rather than it being a word it's a number. Should I not be using a combo box for the city in my form?

    What do I need to do to get the city to populate as the word not a number?

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Options:

    1. use combobox in report - it won't be interactive but will display the city name same as it does on form

    2. include the Cities table in the report RecordSource
    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.

  3. #3
    Collins is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    107
    For whatever reason I cannot get either of those options to work.

  4. #4
    Collins is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    107
    I'm learning so bear with me.

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    What does that mean - error message, wrong results, nothing happens?

    For option 2, did you bind textbox to the city name field?

    Post the SQL statement of the report RecordSource.
    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.

  6. #6
    Collins is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    107
    Quote Originally Posted by June7 View Post
    What does that mean - error message, wrong results, nothing happens?

    For option 2, did you bind textbox to the city name field?

    Post the SQL statement of the report RecordSource.
    Sorry... Please remember I'm still learning here. I receive the same results as I was. However I'm beginning to think I didn't do Option 2 correctly. Any chance you walk me through binding my city field to my textbox?

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Did you modify the report RecordSource to include the table that has city names?

    If so, then pull the field from the Available Field List to the report to create and bind textbox in one motion.

    This is basic report design functionality. Have you completed any tutorials (book or on-line)? Here is one http://www.rogersaccesslibrary.com/
    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.

  8. #8
    Collins is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    107
    Quote Originally Posted by June7 View Post
    Did you modify the report RecordSource to include the table that has city names?

    If so, then pull the field from the Available Field List to the report to create and bind textbox in one motion.

    This is basic report design functionality. Have you completed any tutorials (book or on-line)? Here is one http://www.rogersaccesslibrary.com/
    Took an online course that addressed queries and reports toward the end. And they seemed vague and rushed... It was very basic. I do some reading at the website you provided and get back to you.

    Thanks June

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

Similar Threads

  1. Replies: 4
    Last Post: 01-25-2015, 01:20 PM
  2. To query out city names
    By lizzywu in forum Queries
    Replies: 2
    Last Post: 11-26-2012, 11:59 AM
  3. DLookup Function for City/Region/Country?
    By cap.zadi in forum Forms
    Replies: 6
    Last Post: 11-22-2012, 11:16 AM
  4. me.city works in one line but not the next
    By jpihpa in forum Programming
    Replies: 6
    Last Post: 06-01-2012, 04:35 PM
  5. City, State Zip lookup
    By garywmcp in forum Access
    Replies: 1
    Last Post: 04-24-2011, 06:15 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