4
Answers

NEWLINE IN CONSTANT

Vignesh Kumar

Vignesh Kumar

11y
1.2k
1
Hi,

When I compile I get "Newline in Constant" error in the below code.

command.CommandText = "UPDATE [Alert_ProbMgmt] ='" + ProblemTicket + "' [Remedy_Ticket_Num] ='" + ProblemDescription + "'[Problem_Desc]='" + RootCauseStatus + "' [Root_Cause_Status]='" + RootCauseGroup + "'[Assigned_Remedy_Group]='" + ProblemTeamResourceAssigned + "'[Assigned_Remedy_Resource]='" + RootCauseApplication + "'[NULL]='" + WorkAround + "'[Work_Around]='" + WorkAroundDeterminedon + "'[Work_Around_Dt]='" + Reproducible + "'[Reproducible_ind]='" + RootCauseDetails + "'[Root_Cause_Details]='" + VendorName + "'[Vendor_Name]='" + VendorTicket + "'[Vendor_Ticket_Num]='" + VendorResourceContact + "'[Vendor_Contact]='" + KnownError + "'[Known_Error]='" + '");

Answers (4)