At 12:00am -0700 00-09-27, Palm Developer Forum digest wrote:
>Subject: Re: Limitation to table field size
>From: [EMAIL PROTECTED]
>Date: Tue, 26 Sep 2000 23:04:18 EDT
>X-Message-Number: 97
>
>In a message dated 9/26/00 8:54:11 AM Mountain Daylight Time, [EMAIL PROTECTED]
>writes:
>
> > Is there a way to work-around the limit of 255 characters per field in a
> > table (as defined by tableMaxTextItemSize)?
>
>yes, but you have to alter the field's attr's yourself, like this:
>
>FieldPtr fld;
>
>fld->maxChars = //a Word type variable designating the field's max characters
Yes, but no. Use FldSetMaxChars(fld, newMaxChars) - don't directly
muck with _any_ Palm OS structure if there's an API available to use.
There are some cases where APIs are missing (let Palm know which
ones), but if the routine exists, use it.
-- Ken
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/