Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
SQL = "INSERT INTO myTable (fld1, fld2, fld3) " & _
"VALUES ('a', 2, 'x') "
db.Execute SQL
If db.RecordsAffected = 0 Then
[COLOR=black cyan]' Duplicate Record Message[/color]
End If
dim mydb as Database
dim rst as recordset
set mydb = currentdb
set rst mydb.openrecordset("select count(*) from mytable where myfield =" & myvar & " myfield2 =" & myvar2... )
if not (rst.bof and rst.eof) then
msgbox "record exist"
end if