Export as *.*

  • Thread starter Thread starter salmanjavaheri
  • Start date Start date
S

salmanjavaheri

Hi, how can I export some data as a text file, but change the
extension to something else? eg. *.pbk?, also how can i use the
command line in vba?


TIA
 
Function fExportCargo()
DoCmd.OutputTo acOutputTable, "Cargo", acFormatTXT, "N:\Cargo.pbk"
End Function
 
thanks! how do i use a command line statement in vba? so that i can
open this file from inside access?
 
thanks! how do i use a command line statement in vba? so that i can
open this file from inside access?
 
Can i use a this function or similar to export a single field from a
form into a file?
 
Back
Top