This is to check the result: 12 Wang Yanhe recorded twice, too bad, take advantage of public
My data table:
such as the topic, how to limit her? CodePudding user response:
Every day you to ASP home please write code
CodePudding user response:
Select * FROM jb where dat='" & amp; Dat & amp; "' and nam=" & amp; Nam & amp; "'
If the rs. EOF Then 'If the record does not exist the insert
Rs (" dat ")=dat
Rs (" nam ")=nam
.
The Else
. '
if records exist of actionEnd the If
CodePudding user response:
Above is correct
CodePudding user response:
Insert before judgment ever recorded
CodePudding user response: