Wrox Programmer Forums
Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 1st, 2007, 09:15 AM
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 %> ');
// -->
Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
alert darkhalf Javascript 3 November 18th, 2005 12:56 PM
Line continuation character in ASP crmpicco Classic ASP Basics 3 June 20th, 2005 04:57 AM
Alert Message ferfish Classic ASP Basics 1 May 16th, 2004 06:43 PM
alert function mahulda ASP.NET 1.0 and 1.1 Basics 5 April 9th, 2004 11:05 PM
alert collie Javascript 2 December 29th, 2003 02:29 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.