Search notes:

Access: DoCmd.RunSQL

doCmd.runSQL executes an SQL statement (DML and DDL, aka action query).

Suppress «You are about to append … row(s)»

If runSQL is used to execute an insert statement, by default, Access pops up a message box with a You are about to append … row(s) message:
In order to stop Access from displaying this message box, doCmd.setWarnings false must be executed beforehand.
Arguably, not displaying warnings is a bad idea. So a better idea to execute SQL statements might be use
currentDB.execute "alter table tab_foo add column col_bar int"

create view statement not supported

runSQL cannot be used to create views.

See also

The doCmd object and its openQuery method.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758201010, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/Office/Access/Object-Model/DoCmd/runSQL(53): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78