Export as *.*

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
 
J

Jerry Whittle

Function fExportCargo()
DoCmd.OutputTo acOutputTable, "Cargo", acFormatTXT, "N:\Cargo.pbk"
End Function
 
S

salmanjavaheri

thanks! how do i use a command line statement in vba? so that i can
open this file from inside access?
 
S

salmanjavaheri

thanks! how do i use a command line statement in vba? so that i can
open this file from inside access?
 
S

salmanjavaheri

Can i use a this function or similar to export a single field from a
form into a file?
 
Top