Sunday
Feb192012

SquidClearRow

  • Clears/removes a row from all columns (all tabs).
  • If a particular column does not have enough rows, this column is ignored (no error).

Prototype

int SquidClearRow(int iSquid, int iIndex);

  • Parameters
iSquidSquid Connection Handle
iIndexRow index of the row to clear/remove (1-based)
  • Return Values
0Operation successful
-1Error occurred, call SquidGetLastError for details

Example

int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidCreateColumn(iSquid, "NewColumn");
SquidSendData(iSquid, "NewColumn", "20");
SquidSendData(iSquid, "NewColumn", "100");
SquidSendData(iSquid, "OtherColumn", "50");
SquidSendData(iSquid, "OtherColumn", "30");
SquidSendData(iSquid, "OtherColumn", "80");
SquidClearRow(iSquid, 1);
SquidDisconnect(iSquid);