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")
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")