[AccessD] Memo Fields - Cursor positioning at the end ofthememowhen the len > max integer value

Gustav Brock gustav at cactus.dk
Sat Dec 27 10:09:19 CST 2003


Hi Susan

I had the Microsoft Rich Textbox Control 6.0 (SP4) in mind.

OLE Class: RICHTEXT.RichtextCtrl.1

/gustav


> Gustav, how would you use  an RTF box -- are you suggesting a non-native
> control, such as one of the MS Forms controls, something else, or is there
> somewhere to turn a memo control into rtf?

> Susan H.


>> Hi David
>>
>> If your memo field is used on a form displaying single records only
>> (not contiguous records), you may be able to use an RTF (Rich Text
>> Format) box. Here SelStart and SelLength are Long.
>>
>> Applying this will, of course, turn your memo contents into RTF
>> documents which may cause an avalanche of new problems ...
>> On the other hand, an RTF box supports both drag and drop which may be
>> advantageous if your users operate with memo field contents in the 32+
>> K area.
>>
>> /gustav
>>
>>
>> >> > I use selstart to identify the end of a memo and set the
>> >> > cursor there, (so user can launch straight into appending
>> >> > text directly into the memo) however whenever the memo's
>> >> > length is greater than the max integer value of 32K this
>> >> > fails as it only works for integer values.  How can one
>> >> > position the cursor in a memo field that has number of
>> >> > characters bet the 32 and 64K len? ..



More information about the AccessD mailing list