Hey,
I've a new Problem with JavaScript, RAD and SM!!!
I need to delete all Data from a Table via JS. Because that Table will be filled with new/same Datasets.
At the Moment i'm doning this that way:
Code:
var
incidentFile =newSCFile("svcCatalog");
var
rc =incidentFile.doSelect("true");
print (
RCtoString(rc));
while
(rc==RC_SUCCESS){
rc
=incidentFile.doDelete();
print (
RCtoString(rc));
rc
=incidentFile.getNext();
}
The Problem is, that this Fragment is very slow >20 sec for 150 Rows.
Does anyone know how this cloud be done faster. May as the dbdict Button Reset?
Thanks for your Ideas and Help!
Bookmarks