So I need not be stingy with defining the size of the text fields.
Thanks.
John... Visio MVP
PS: You may want to remind Tony Toews that you are not at
http://users.bigpond.net.au/abrowne1
Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
> So I need not be stingy with defining the size of the text fields.
There is a subtle problem to watch out for, though. You can define a record
with, say, ten fields of Text(255), and happily type stuff into them. There
is, however, a limit on the size of any one record at 1 KB, and one day
someone will put 101 chars into all ten fields and will get an inscrutable
error message about record sizes. I am not sure if this error is trappable.
If there is _any_ chance of getting up to 1K per record, then you need to
rethink the design, either to use more than one table or to use memo
fields. As Allen says, the content of the memo does not count toward the
1KB, only the eight bytes or so of the pointer.
Hope that makes sense
Tim F
John Marshall, MVP - 19 Jan 2004 22:43 GMT
Makes sense, but I'm approaching the limit from the other side.
The original data is on 5K records that use an overlay to interpret the
record. So to modify one field the entire record is read and then updated.
Also using overlays means that for some overlays there is a significant
waste of space.
The new version has these 5K blocks broken down into more logical groups
with the largest approaching 500 characters.
John... Visio MVP
Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
> > So I need not be stingy with defining the size of the text fields.
> >
[quoted text clipped - 12 lines]
>
> Tim F
TC - 20 Jan 2004 03:08 GMT
(snip)
> As Allen says, the content of the memo does not count
> toward the 1KB, only the eight bytes or so of the pointer.
10, methinks :-)
(We all needed to know that!)
TC
John Vinson - 20 Jan 2004 05:30 GMT
>(snip)
>
[quoted text clipped - 6 lines]
>
>TC
<pedantic mode>14 in A97 and before, 16 thereafter</pedantic mode>
Now dammit I can't find the reference... but I'm pretty certain that's
correct.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
Tim Ferguson - 20 Jan 2004 17:28 GMT
>> As Allen says, the content of the memo does not count
>> toward the 1KB, only the eight bytes or so of the pointer.
>
> 10, methinks :-)
Oops: yes of course. Comes of writing from an ageing memory rather than
checking help files. Still, the logic remains pertinent.
Thanks and best wishes
Tim F