Delete_Row programmatically (OpenInsight Specific)
At 18 JUL 2001 03:33:14PM a becker wrote:
I am programmatically attempting to delete certain entries in a table. There is no display of these rows, as the form only has an OK and CLOSE button on it.
I have a variable that contains the row number that I wish to delete. However when the command is executed I get the good old "variable not defined".
The statement is
del=DELETE_ROW ("NSF_TABLE", "VARIABLE", 0)
I also tried it without the "" around variable and get the same message.
What am I doing wrong?
Thanks in advance
Andy
At 18 JUL 2001 04:18PM Jim Vaughan wrote:
Try this:
CALL DELETE_ROW ("NSF_TABLE", "VARIABLE", 0)
that is call it as a subroutine not a function.
At 18 JUL 2001 04:42PM a becker wrote:
Thanks
I knew it was something simple.