Minggu, 05 Maret 2017

Re: [MS_AccessPros] TextBox from List

 

David-


Trying to extract a Memo field from a combo or list box won't work, especially if the Memo contains more than 255 characters.  All the columns in a combo or list box are Text - no bigger than 255.  Consider using a DLookup to populate the text box in After Update of the list.

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On Mar 5, 2017, at 9:42 PM, david.pratt@outlook.com [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



I have a list, based upon a query, and it includes one field which is a long text.  I am trying to place a text box on the form which displays the contents of that field (Comments), and the contents of the text box should change as the user scrolls through the list box (lstFeatures).  The field I am looking for is in column 5 (zero based) of the list box.  For the control source of the txt box I tried:
  =   me.lstFeatures.column(5)

it didn't work and I didn't really think it would.  I think I need to have something like:
 = me.lstFeatures.column(current row, 5)

help again please






__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar