Hi all
I have, hopefully, a rather small query. I have been creating a system with asp/vb and as I was designing I used msgbox's. Of course when I then uploaded it to the company intranet it didn't like MsgBox. I understand that there are various ways of doing it, such as server side within the asp, however I need it to fit in with the following code:
If (salesOrderStage > 30 And salesOrderStage < 40) Then
salesOrderStage = salesOrderStage - 30
Dim updateSQL = "UPDATE TblSalesOrder SET SalesOrderCurrDate = GETDATE(), SalesOrderCurrTime = '" & currentTime & "', SalesOrderActionName = '" & fName & "', SalesOrderStage = " & salesOrderStage & " WHERE SalesOrderID = " & cmbSopSelect.Text & ";"
Dim cmdUpdate As New SqlCommand
cmdUpdate.CommandText = updateSQL
cmdUpdate.Connection = con
cmdUpdate.ExecuteNonQuery()
MsgBox("Order placed in Limbo")
reloadPage()
Else
MsgBox("This order cannot be put into Limbo")
End If
I would appreciate any ideas or comments :)
Thanks in advance