PC Review


Reply
Thread Tools Rate Thread

Characters beyond 255 in a memo field

 
 
Jim Pockmire
Guest
Posts: n/a
 
      14th Feb 2005
Is there any way to access the characters beyond the 255th in a memo field?
e.g. I need to create a substring of character positions 300-305. Are there
any work arounds? The info is being imported from an Excel spreadsheet.


 
Reply With Quote
 
 
 
 
Rick B
Guest
Posts: n/a
 
      14th Feb 2005
Not sure what you mean. Memo fields can contain more than 255 characters,
and you can "access" them. What problem are you encountering?


"Jim Pockmire" <(E-Mail Removed)> wrote in message
news:_g8Qd.58347$(E-Mail Removed)...
> Is there any way to access the characters beyond the 255th in a memo

field?
> e.g. I need to create a substring of character positions 300-305. Are

there
> any work arounds? The info is being imported from an Excel spreadsheet.
>
>



 
Reply With Quote
 
=?Utf-8?B?QnJpYW4=?=
Guest
Posts: n/a
 
      14th Feb 2005
Perhaps you are seeing this: memo fields can appear truncated in queries when
you are grouping by the memo field. In this case, try changing Group By to
First, and it will show the entire contents. I believe Access can only group
by the first 255 characters.

"Jim Pockmire" wrote:

> Is there any way to access the characters beyond the 255th in a memo field?
> e.g. I need to create a substring of character positions 300-305. Are there
> any work arounds? The info is being imported from an Excel spreadsheet.
>
>
>

 
Reply With Quote
 
=?Utf-8?B?bm92YQ==?=
Guest
Posts: n/a
 
      14th Feb 2005
there's an interesting discussion going on about this topic. Go find it a few
days back in this group.

"Jim Pockmire" wrote:

> Is there any way to access the characters beyond the 255th in a memo field?
> e.g. I need to create a substring of character positions 300-305. Are there
> any work arounds? The info is being imported from an Excel spreadsheet.
>
>
>

 
Reply With Quote
 
Jim Pockmire
Guest
Posts: n/a
 
      15th Feb 2005
I am trying to extract a sub-string from a memo field. The memo field is 500
characters long and I am trying to extract the 300th to 305th characters as
a string. Thus far I have not been able to read the characters with what I
have tried.


"Rick B" <Anonymous> wrote in message
news:(E-Mail Removed)...
> Not sure what you mean. Memo fields can contain more than 255 characters,
> and you can "access" them. What problem are you encountering?
>
>
> "Jim Pockmire" <(E-Mail Removed)> wrote in message
> news:_g8Qd.58347$(E-Mail Removed)...
>> Is there any way to access the characters beyond the 255th in a memo

> field?
>> e.g. I need to create a substring of character positions 300-305. Are

> there
>> any work arounds? The info is being imported from an Excel spreadsheet.
>>
>>

>
>



 
Reply With Quote
 
Jim Pockmire
Guest
Posts: n/a
 
      15th Feb 2005
To clarify, I am using the Transferspreadsheet method and am able to import
the data as memo fields. And I can see all of the characters beyond the
255th in a table or query view. However, I want to use code to extract some
of the characters beyond the 255th (e.g. Mid$(strString, 300,5)) and all I
get are strange looking characters.


"Jim Pockmire" <(E-Mail Removed)> wrote in message
news:PklQd.63066$(E-Mail Removed)...
>I am trying to extract a sub-string from a memo field. The memo field is
>500 characters long and I am trying to extract the 300th to 305th
>characters as a string. Thus far I have not been able to read the
>characters with what I have tried.
>
>
> "Rick B" <Anonymous> wrote in message
> news:(E-Mail Removed)...
>> Not sure what you mean. Memo fields can contain more than 255
>> characters,
>> and you can "access" them. What problem are you encountering?
>>
>>
>> "Jim Pockmire" <(E-Mail Removed)> wrote in message
>> news:_g8Qd.58347$(E-Mail Removed)...
>>> Is there any way to access the characters beyond the 255th in a memo

>> field?
>>> e.g. I need to create a substring of character positions 300-305. Are

>> there
>>> any work arounds? The info is being imported from an Excel spreadsheet.
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Jim Pockmire
Guest
Posts: n/a
 
      15th Feb 2005
Please disregard prior posts. Breaking up the memo field into separate
fields in a query seems to have solved the problem.

"Jim Pockmire" <(E-Mail Removed)> wrote in message
news:8_lQd.61783$(E-Mail Removed)...
> To clarify, I am using the Transferspreadsheet method and am able to
> import the data as memo fields. And I can see all of the characters beyond
> the 255th in a table or query view. However, I want to use code to extract
> some of the characters beyond the 255th (e.g. Mid$(strString, 300,5)) and
> all I get are strange looking characters.
>
>
> "Jim Pockmire" <(E-Mail Removed)> wrote in message
> news:PklQd.63066$(E-Mail Removed)...
>>I am trying to extract a sub-string from a memo field. The memo field is
>>500 characters long and I am trying to extract the 300th to 305th
>>characters as a string. Thus far I have not been able to read the
>>characters with what I have tried.
>>
>>
>> "Rick B" <Anonymous> wrote in message
>> news:(E-Mail Removed)...
>>> Not sure what you mean. Memo fields can contain more than 255
>>> characters,
>>> and you can "access" them. What problem are you encountering?
>>>
>>>
>>> "Jim Pockmire" <(E-Mail Removed)> wrote in message
>>> news:_g8Qd.58347$(E-Mail Removed)...
>>>> Is there any way to access the characters beyond the 255th in a memo
>>> field?
>>>> e.g. I need to create a substring of character positions 300-305. Are
>>> there
>>>> any work arounds? The info is being imported from an Excel spreadsheet.
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert memo feild into a memo field truncates at 255 characters - Billp Microsoft Access VBA Modules 4 9th Dec 2009 03:58 AM
Memo field being cut off at 255 characters BryanD Microsoft Access Reports 5 27th Oct 2008 07:25 PM
memo field is truncated to 255 characters sheniece via AccessMonster.com Microsoft Access VBA Modules 4 3rd Dec 2007 05:28 PM
Memo field changes characters to foreign characters =?Utf-8?B?c2tr?= Microsoft Access Queries 2 1st Nov 2006 02:43 PM
characters in memo field =?Utf-8?B?SmFuZQ==?= Microsoft Access Forms 3 15th Oct 2004 09:24 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:55 PM.