Limiting number of rows in edittable (OpenInsight 32-bit Specific)
At 18 JUN 2003 02:43:14PM Dave Berkovsky wrote:
I need to be able to control maximum number of row in editable.
Following code is not doing what I want.
If MaxRows then
lmt=Get_Property(@window : ".ITEMS" , "LIMIT")lmt=MaxRowsorigvalue=Set_Property(@window : ".ITEMS" , "LIMIT", lmt)end
Sounds simple, but can not get to work.
TIA
Dave
At 18 JUN 2003 03:52PM Richard Hunt wrote:
Dave,
The limit property does not limit the row count. I know of two ways to do it.
1) Using the "form designer", within the "more" edit table properties, there is a "row limit".
2) You could use the "deleterow" and "insertrow" events and check for row count during these events.
At 19 JUN 2003 07:09AM Dave Berkovsky wrote:
Thank you Richard.