日本語のみで絞り込む
2022/8/17 -Using the Open method on a Recordset object opens a cursor that represents records from a base table, the results of a query, or a previously ...
2012/4/22 -Test your function with this change: strSQL = "Select * from tblComments where DB='" & theDB & "' AND " _ & "[Module]='" & theModule ...
2023/6/20 -There are several ways to open a Connection Object within ADO: By Setting the ConnectionString property to a valid Connect string and then ...
The Open method opens a database element that gives you access to records in a table, the results of a query, or to a saved Recordset. Tip: Always close the ...
2003/1/2 -.open method of recordset object helps in executing a SQL query to open a recordset and returns recordset to the recordset object so u need a ...
2011/1/21 -What I came up with was a central location to open my recordsets and for executing SQL commands using two function calls: OpenMyRecordset and ...
Q.Access VBAでのRecordSetオブジェクトの使い方 Dim rs as NEW ADODB.RecordSet rs.Open sql, CurrentProject.Connec...
A.コードの行どおしがくっついていますが、それがなければ、コード自体は問題なさそうです。 SQLのwhereやhavingでワイルドカード「*」を使ってませんか? これはクエリでは出ますが、AD...
Q.Excel VBAでSQL Serverへレコード追加する際に(1)で重複エラー(エラー番号: -2147467259)を発生させ、その後に(2)でCloseを行ったところ、 (エラー番号: 3...
A.はっきり言いますが、この質問を行っている時点で『設計』がなっていません。 「プライマリーキー」ってご存じでしょうか?
Q.VBScriptでSQLに接続し、CSV出力したい。 お世話になります。 VBScriptでSQLに接続し、CSV出力したいのですが、どうしても上手くいかないのでどうかアドバイスを頂けたらと思い...
A.EXCEL のVBE で デバッグトレースしてみました。 下記のサンプルーコードで うまくゆきました。 DBは マイクロソフトのサンプルDB => Northwind を使用しています。 ...
The Open method opens a database element that gives you access to records in a table, the results of a query, or to a saved Recordset. Tip: Always close the ...
Using the Open method on a Recordset object opens a cursor that represents records from a base table or the results of a query. Use the optional Source argument ...
Indicates the actual data that is used to open the Recordset object. This can be a Command object, a SQL statement, a table name, a stored procedure, a URL ...
2026/11/1 -The Recordset.Open method specifies either a connect string or Connection object operand, or uses the Connection object set in its ...