I would like to ask the user if they really want to delete the record before continuing. I am able to display the message, but do not know how to get the user response:
strMsg = "This record will be deleted. Do you wish to continue?"
Response.Write( "<" & "script language=VBScri pt>")
Response.Write( "MsgBox """ & strMsg & """,VBYesNo,""K PI Analysis""<" & "/script>")
In MS Access I would issue the following code and test the intResponse variable:
intResponse = Msgbox (strMsg,VBYesNo ,”KPI Analysis)
strMsg = "This record will be deleted. Do you wish to continue?"
Response.Write( "<" & "script language=VBScri pt>")
Response.Write( "MsgBox """ & strMsg & """,VBYesNo,""K PI Analysis""<" & "/script>")
In MS Access I would issue the following code and test the intResponse variable:
intResponse = Msgbox (strMsg,VBYesNo ,”KPI Analysis)
Comment