NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on November 25, 2015, 04:34:51 AM
-
(Since last topic all is working fine, but now the problem is back with MSSQL ok.)
I'm getting this error (Record not found: (-2) Error 30: Entry Not Found from key) from some tables. trying to trace the problem i've put some _trace on browse/form and processlink
On processlink the key's component is always 0. <=== what's this mean?
thanks
-
Hi,
I put some alert on script jquery-nt-browse.js:
case 2: //Change
actionname ='change_btn';
actionform = $('[data-nt-id="'+this.options.value+'"]').attr('data-nt-change');
if (!actionform){
actionform = this.options.formChange;
}
====>>>> alert(actionform+' , '+this.options.value); //SOFTVALE
break;
and
if (this.options.formpopup){
header = ''; // don't default the header when called from a browse.
***====>>>>> alert('2. '+actionform+' / '+this.options.parent+' / '+this.options.procedure+' / '+this.options.value) //SOFTVALE
ntd.push(actionform,'',header,1,action,null,this.options.procedure,this.options.value,'_parentProc_=' + this.options.parent,null,null,null,null,null,null,this.options.divId);
} else {
this.gotoPage(actionform,actionname,this.options.value);
}
return this;
and the ID is correct.
but i tried some test, if i insert a new record, everything (change button) works fine since i don't close server and start again.
What´s happen when i insert a new record and when don´t?
Thanks
-
Two things Walter;
a) use Console.log, not Alert, to debug JavaScript.
b) I literally have no idea what you are actually asking - I think an example is necessary.
cheers
Bruce
-
I had to restore a backup and work on changes. I truly believe that my .app has lodged problem after a crash of my virtual machine.
Thanks