View Single Post
  #1 (permalink)  
Old February 1st, 2007, 09:15 AM
mcauliff mcauliff is offline
Authorized User
 
Join Date: Mar 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default alert continuation

I have a alert code (see below) that is giving me a error "Error Expected ';'" What is the correct way of coding this statement? I'm a newbie to jscript.



<script language="javascript">
<!--
        window.alert ('Error inserting Order Header into CPRF Table. \nOrder already exists on the CRPF interface tables.' +
         '\nError code is <%= DataConn2.Errors(0).Number %> ' +
         '\nError description is <%= DataConn2.Errors(0).Description %> ' +
         '\nError Source is <%= DataConn2.Errors(0).Source %> ' +
         '\nSQL is <%= DataCmd2.Commandtext %> ');
        window.history.go(-2);
// -->
</script>
Reply With Quote