Answered
Alert message in vb
Visual Basic Noob here. I'm trying to make an alert dialog
pop up if the recordcount of a dataset is 0 meaning that it didn't
find a match between an id and the currently logged in user. Below
is the code I came up with but obviously it doesn't work. Is it
possible to pop up an alert box from the if statement like I'm
trying to do? If so, can someone help me with the syntax of my
code. It is below:
<%
IF editmessage.RecordCount = 0 THEN
Alert("You do not have permission to edit this record.");
END IF
%>
Thanks!
<%
IF editmessage.RecordCount = 0 THEN
Alert("You do not have permission to edit this record.");
END IF
%>
Thanks!
