Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

display memo field on a form based on the value of another field

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jerry in the Desert. - 13 Jun 2007 19:29 GMT
I want to display the contents of a memo field on a form based on the users
selection on three selections.  The problem I am running into is that there
is no "row source" or "row source type" for me to put the select statement in
for a memo field in the properties section.  If I change the field to a text
field, I can make it work, but I run into the 255 char limit of access.  Can
anyone tell me how to accomplish this?
John W. Vinson - 14 Jun 2007 02:13 GMT
>I want to display the contents of a memo field on a form based on the users
>selection on three selections.  The problem I am running into is that there
>is no "row source" or "row source type" for me to put the select statement in
>for a memo field in the properties section.  If I change the field to a text
>field, I can make it work, but I run into the 255 char limit of access.  Can
>anyone tell me how to accomplish this?

You can set the control source of the textbox to

=DLookUp("[memofield]", "[tablename]", "[ID]=" & [Comboboxname])

where the combo's bound column is the unique id of the record containing the
desired memo. You cannot put the content of a memo field (which, remember,
might be over a billion bytes!) into a combo box without truncating it.

            John W. Vinson [MVP]
Jerry in the Desert. - 14 Jun 2007 15:35 GMT
Thanks John, that did it.

> >I want to display the contents of a memo field on a form based on the users
> >selection on three selections.  The problem I am running into is that there
[quoted text clipped - 12 lines]
>
>              John W. Vinson [MVP]
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.