Navigate to correct record?

D

dave

I've written some code to send some long binary data to a
file by using an example function I found on the net. In
the example a prerequisite is to open the table and
navigate to the correct record prior to calling the
function. Does this simply mean opening the database
holding the table and creating a recordset of the table
as in the code below?

'Open database db1.mdb
Set dbsNozztst = OpenDatabase("C:\db1.mdb")

'Open recordset dbt_Pruefbericht
Set tblTable = dbsNozztst.OpenRecordset
("dbt_Pruefbericht")

'Write output from WRITEDATA function to BytesWritten
variable
BytesWritten = WRITEDATA
(tblTable, "dbf_MessDaten", "C:\DataFile1.doc")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top