Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6613375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:12:41+00:00 2026-05-25T20:12:41+00:00

My Access 2007 app uses SQL as the back end. On a form we

  • 0

My Access 2007 app uses SQL as the back end. On a form we have list boxes. List boxes will not display the data if the data type is varchar (max). We are using 255, but this is not enough. Could someone tell me if there is a way to show more char’s in a list box than 255.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:12:41+00:00Added an answer on May 25, 2026 at 8:12 pm

    AFAIK, there is no way to make a list box display more than 255 characters.

    As a workaround, you could display the text in a text box control. A text box can hold up to 65,535 characters. (on the Access Blog: Access 2007 Limits)

    Include a primary key as the bound column in your list box’s rowsource, and display as much of the text as is reasonable. Then, in the form’s On Current event and the list box’s After Update event, retrieve the full text string associated with the list box’s current primary key value and load that string into the text box.

    You can use the DLookup Function for this.

    Me.BigTextBox = DLookup("text_field", "YourTable", _
        "pkey_field = " & Me.ListBoxName)
    

    If the pkey_field is text rather than numeric data type, enclose the literal value with quote marks.

    Me.BigTextBox = DLookup("text_field", "YourTable", _
        "pkey_field = '" & Me.ListBoxName & "'")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a module in access 2007 that will update linked tables, but
Access 2007: I have one form with 100s of records displayed. I have a
I have an Access 2007 Project with a SQL Server 2005 backend. However, when
I have a data set (currently in Access 2007 format) which has 2 tables,
I have a table of data in MS Access 2007. There are 6 fields
I have a .NET application which uses an accdb file (MS Access 2007 format)
Access 2007 / SQL / VB I have a query: SELECT Count(*) AS CountOfCR1
I've created an Access 2007 form that displays, for example, Products from a Product
I am using Microsoft Access 2007 to move and massage some data between two
Using MS Access 2007, I am creating a student management database. I have tables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.