This is a general question but is there any reason as to why IWDatacapture.save() would work for most but not work for one particular DCT? I'm doing a CallServer the same exact way on each DCT and the script is generic enough to accept info from any type of DCT. I'm also putting alerts around IWDatacapture.save() and can safely say that it's hanging at that particular line. Here's a part of the code -- if someone thinks it's worthwhile, I'll post more:[html]if ($found) { print qq^ api.alert('This DCR cannot be saved because the ^ . $cgi->param('field') . qq^ you entered already exists as a file.'); ^;} else { print qq^api.alert('1'); api.IWDCRInfo.setDCRName('^ . $lcl_filename . qq^',null);api.alert('2: ' + api.IWDCRInfo.getDCRName() ); api.IWDatacapture.save();api.alert('3'); ^;}print qq^^;[/html]alert('3') is being invoked on the others but not on the one.Has anyone seen this?
try { api.IWDCRInfo.setDCRName(...whatever...); api.IWDatacapture.save();}catch(err) { alert(err.description);}
Thanks, good suggestion. I tried both, actually. I put an alert in basically every line so I could trace what was going on. It basically looks like:try {alert('1');api.IWDCRInfo.setDCRName('^ . $lcl_filename . qq^',null);alert('2');api.IWDatacapture.save();alert('3');}catch(err) {alert('4');alert(err.description);alert('5');}However, I still just get alert('1') and alert('2') and then it hangs.
api.IWDatacapture.Save();
...I'm sure I've used these two together many times before...