Deleting Field Data in a script
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Im not having much luck trying to script the deleting of a colmn of data.
//loop to delete all amount numbers
var totalCount = controller.getMaxRecordIndex(); // == currentFoundCount
for(var i=1; i<=totalCount; i++)
{
controller.recordIndex = i;
amount = "";
};
the amount column is an int. I would like to just empty to NULL or blank if posible. Any suggestions?
//loop to delete all amount numbers
var totalCount = controller.getMaxRecordIndex(); // == currentFoundCount
for(var i=1; i<=totalCount; i++)
{
controller.recordIndex = i;
amount = "";
};
the amount column is an int. I would like to just empty to NULL or blank if posible. Any suggestions?