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 17 JUN 2003 07:09:36AM Dave Berkovsky wrote:

I have an Edittable that consists of several database bound columns and one symbolic that is calculated based on three other columns in editable. I am trying to remove blank row in LOSTFOCUS event.

Function LostFocus(CtrlEntId,CtrlClassId,Flag,FocusId)

success=ETMethod (CtrlEntId, "TRIM", "", "")
Forward_Event()

RETURN 0

If I insert blank row and tab out from edittable once everything

seems to work fine. Empty row is removed, but if I do it twice, what is happening is empty row is removed but calculated column is not

shifting up with the rest. Does anyone have any an idea what am I doing wrong?

TIA

Dave

Dave


At 17 JUN 2003 08:54AM Richard Richter wrote:

Dave,

It's my experience that at least one of the columns is never null. Therefore, if I read through that column and get a null property, I delete the line using the delete statment for each column.

So, I read the non-null (is that a word? column and count the value marks + 1. I then do a for next and if the column data is null use the delete command to delete the row completely.

It works for me all the time. I hope this helps.

Richard Richter

View this thread on the forum...

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