Re: Access 'there isnt enough memory' when scrolling textbox
- From: "Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@xxxxxxxxxxxx>
- Date: Mon, 23 Jun 2008 22:33:03 -0300
There is a 64KB limit when the user interaction with the control is
required. This is an old GDI WIndows limitation linked to the 64KB limit of
the ScrollBar control.
Other than cutting your data up into manageable chunks, you could use the
RTF control on my site that you mentioned failed. You just have to set the
MaxCharsAllowed property in the Load event of the form containing the
control. I think I maxed this value out at 1000KB.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"robert.waters" <robert.waters@xxxxxxxxx> wrote in message
news:3e91475b-0114-49fb-a189-cdae85317356@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have an Access database frontend linked via ODBC to a large
(gigabytes) mysql database.
I need to view a large amount of data in a a textbox (variable up to
300K), but I receive a 'there isnt enough memory' error whenever I
scroll past N number of bytes in a textbox that has been filled with a
lot of data. I am not sure what N is, but for a large chunk of data
it occurs at about the halfway scroll, and smaller chunks might not
throw the error until scrolling to the very end.
Now, this isn't an issue with system memory; I have 3GBs of RAM in
this machine, and plenty of fast (RAID0) pagefile access. The Access
application does not consume any more memory when the textbox is
scrolled than it did when the textbox was first filled (verified with
sysinternals procexp). It seems like Access is hitting a wall
somewhere.
Is there another textbox-like control that will accept more data? I
have tried Mr. Lebans' rich text box, but was not successful.
Has anyone tried working with large datasets and had a similar
problem? Any solutions?
Thanks in advance,
Robert Waters
.
- Follow-Ups:
- RTF control (Was Re: Access 'there isnt enough memory' when scrolling textbox)
- From: robert.waters
- RTF control (Was Re: Access 'there isnt enough memory' when scrolling textbox)
- References:
- Access 'there isnt enough memory' when scrolling textbox
- From: robert.waters
- Access 'there isnt enough memory' when scrolling textbox
- Prev by Date: Access 2007 Tabbed Forms Question
- Next by Date: Code module size limits?
- Previous by thread: Re: Access 'there isnt enough memory' when scrolling textbox
- Next by thread: RTF control (Was Re: Access 'there isnt enough memory' when scrolling textbox)
- Index(es):
Relevant Pages
|