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 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=MaxRows
origvalue=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:

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