Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 28 NOV 1997 06:20:43AM Michelle wrote:

How can I get the cells of an edit table to accept a variable number of characters (i.e. to behave like an edit line). I don't want to tie up memory by setting eccessively large Data Lengths. I read somewhere that setting the Data Length to 0 should allow the user to enter any number of characters in the cell.

I have been using edit tables in my application and I have been setting the data length to 0.

the problem I am encountering is that the data length becomes proportional to the original size of that column (i.e., a 300 Width column allows a maximum of 51 characters while a 70 Width column allows a maximum of 12 characters).

Is this a bug, or is it supposed to be so?


At 28 NOV 1997 09:41AM Don Bakke wrote:

Michelle,

How can I get the cells of an edit table to accept a variable number of characters (i.e. to behave like an edit line).

There is no way to do this. Any given cell can hold up to 999 characters or less - depending on what value is entered in the data length field.

I read somewhere that setting the Data Length to 0 should allow the user to enter any number of characters in the cell.

More than likely you read that setting the Row Limit to -1 will allow the edittable as a whole to hold more than 64K of data. This will not help you regarding the cell limitations.

Is this a bug, or is it supposed to be so?

So then this is not a bug. However, Cameron Purdy wrote a Knowledge Base article for creating a workaround. It may not blend well with your application but it is worth looking over anyways.

dbakke@srpcs.com

SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/da9724ce4f428a508525655d003e527a.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1