
12-12-2002, 10:18 AM
|
|
|
|
Here is a sample of the code in use. Instead of writing to a txt file, I would like to write to DBF IV format.
strConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\temp\acra\261102\mig.mdb;"
rsinv.Open "SELECT InvoiceHeader.CustomerID, InvoiceHeader.InvoiceNumber," & _
& "InvoiceHeader.ShipmentDate", strConnectionString, adOpenKeyset
strInvData = rsinv.GetString(adClipString, , ",", Chr(13))
'write the invoice sanal data to a txt file
Open "c:\temp\vbtemp\sanal.txt" For Append As #1
Write #1, strInvData
Close #1
|
|